Difference between revisions of "Greyhole updating"

From Amahi Wiki
Jump to: navigation, search
 
(17 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
image =Warning.png|
 
image =Warning.png|
 
heading =WARNING|
 
heading =WARNING|
message = }}
+
message = If you follow this guide to update Greyhole manually you do so on your own risk. If it breaks, it's on you.  All the steps below should be executed as root.
==  Disclaimer ==
+
}}
If you follow this guide to update your GH install manually you do so on your own risk. If it breaks, it's on you.  All the steps below should be executed as root.
+
== Fedora ==
 +
Amahi releases new versions of Greyhole (GH) after they've been tested.<br />
  
== Fedora ==
+
To update to the latest version available, do the following:
Amahi releases new versions of Greyhole (GH) after they've been tested. '''Official Greyhole for Amahi on Fedora 19:''' 0.9.41<br />
+
 
 +
* [[open_terminal|As root user]], execute
 +
  yum update amahi-greyhole
  
The <b>ONLY</b> officially supported Greyhole package for Amahi 7 is available from the Amahi repository.  The Greyhole web site no longer provides updates for Amahi.
+
'''NOTE:'''  The <b>ONLY</b> officially supported Greyhole package for Amahi 7 or greater is available from the Amahi repository.  The Greyhole web site no longer provides updates for Amahi.  If you attempt to install anything other than amahi-greyhole, it could render your HDA inoperable.
  
 
==Ubuntu==
 
==Ubuntu==
 
Amahi releases new versions of Greyhole (GH) after they've been tested. '''Official Greyhole for Amahi on Ubuntu 12.04.x:'''  0.9.22
 
Amahi releases new versions of Greyhole (GH) after they've been tested. '''Official Greyhole for Amahi on Ubuntu 12.04.x:'''  0.9.22
  
=== Option 1 - Use the Greyhole APT repository ===
+
=== Greyhole Repo ===
If you didn't already, add the Greyhole APT repository to your APT configuration.
+
Use the Greyhole APT repositoryIf you didn't already, add the Greyhole APT repository to your APT configuration.
{{code|sudo sh -c 'echo "deb http://www.greyhole.net/releases/deb stable main" > /etc/apt/sources.list.d/greyhole.list'
+
sudo sh -c 'echo "deb <nowiki>http://www.greyhole.net/releases/deb</nowiki> stable main" > /etc/apt/sources.list.d/greyhole.list'
curl -s http://www.greyhole.net/releases/deb/greyhole-debsig.asc <nowiki>|</nowiki> sudo apt-key add -
+
curl -s <nowiki>http://www.greyhole.net/releases/deb/greyhole-debsig.asc</nowiki> | sudo apt-key add -
sudo apt-get update}}
+
sudo apt-get update
  
=== Option 2 - Manually install the latest DEB ===
+
=== Manual install ===
 +
Manually install the latest DEB package.
  
 
1. Find current version:
 
1. Find current version:
{{Code|sudo greyhole}}
+
sudo greyhole
  
2. Is there a new version? Browse the archive and copy the link for the latest greyhole.<br>
+
2. Is there a new version? Browse the [http://www.greyhole.net/releases/deb/ archive] and copy the link for the latest greyhole.<br>
<blockquote>http://www.greyhole.net/releases/deb/</blockquote>
 
  
 
3. Back to terminal, make sure you execute as root (sudo). Example update command for 64-bit:<br>
 
3. Back to terminal, make sure you execute as root (sudo). Example update command for 64-bit:<br>
{{Code|wget http://www.greyhole.net/releases/deb/greyhole-0.9.31-1.amd64.deb
+
wget <nowiki>http://www.greyhole.net/releases/deb/greyhole-0.9.31-1.amd64.deb</nowiki>
sudo dpkg -i greyhole-0.9.31-1.amd64.deb}}
+
sudo dpkg -i greyhole-0.9.31-1.amd64.deb
  
 
4. Check the GH log for any errors that might have occurred after the upgrade
 
4. Check the GH log for any errors that might have occurred after the upgrade
{{Code|tail -f /var/log/greyhole.log}}
+
tail -f /var/log/greyhole.log
  
 
5. Re-check the version of your newly updated Greyhole install, and enjoy!
 
5. Re-check the version of your newly updated Greyhole install, and enjoy!
{{Code|sudo greyhole}}
+
sudo greyhole

Latest revision as of 01:28, 25 March 2016

Warning.png WARNING
If you follow this guide to update Greyhole manually you do so on your own risk. If it breaks, it's on you. All the steps below should be executed as root.


Fedora

Amahi releases new versions of Greyhole (GH) after they've been tested.

To update to the latest version available, do the following:

yum update amahi-greyhole

NOTE: The ONLY officially supported Greyhole package for Amahi 7 or greater is available from the Amahi repository. The Greyhole web site no longer provides updates for Amahi. If you attempt to install anything other than amahi-greyhole, it could render your HDA inoperable.

Ubuntu

Amahi releases new versions of Greyhole (GH) after they've been tested. Official Greyhole for Amahi on Ubuntu 12.04.x: 0.9.22

Greyhole Repo

Use the Greyhole APT repository. If you didn't already, add the Greyhole APT repository to your APT configuration.

sudo sh -c 'echo "deb http://www.greyhole.net/releases/deb stable main" > /etc/apt/sources.list.d/greyhole.list'
curl -s http://www.greyhole.net/releases/deb/greyhole-debsig.asc | sudo apt-key add -
sudo apt-get update

Manual install

Manually install the latest DEB package.

1. Find current version:

sudo greyhole

2. Is there a new version? Browse the archive and copy the link for the latest greyhole.

3. Back to terminal, make sure you execute as root (sudo). Example update command for 64-bit:

wget http://www.greyhole.net/releases/deb/greyhole-0.9.31-1.amd64.deb
sudo dpkg -i greyhole-0.9.31-1.amd64.deb

4. Check the GH log for any errors that might have occurred after the upgrade

tail -f /var/log/greyhole.log

5. Re-check the version of your newly updated Greyhole install, and enjoy!

sudo greyhole