Prosody package repository

We now have a repository of Prosody packages to allow for automatic updates using a package manager.

If you are using Debian, Ubuntu, or another derived GNU/Linux distribution that uses APT (apt-get, aptitude, etc.) then you can do the following:

Debian/Ubuntu

For these systems the package manager needs a line of information about where to find the repository. For Prosody's repository, this line is:

 deb http://packages.prosody.im/debian stable main

You can replace 'stable' with the version of your distribution you are using. We currently support:

  • Debian: stable, unstable, sid, etch, lenny
  • Ubuntu: hardy, lucid, natty

If your version is not listed above, simply leave it as 'stable' and it will in all probability “just work”.

Terminal

Copy this line (select it, right-click, and choose Copy):

 echo deb http://packages.prosody.im/debian stable main | sudo tee -a /etc/apt/sources.list

Now switch to your terminal and paste it (usually right-click→Paste or Ctrl+Shift+V).

Press enter, and enter your password if prompted.

Alternatively to the above, you can open /etc/apt/sources.list in an editor and add the line to the end of the file.

Adding our key file

In order to prevent warnings about unauthenticated packages, you can add our key file using the below command:

 wget http://prosody.im/files/prosody-debian-packages.key -O- | sudo apt-key add -

Finally to have APT find our packages, run:

 sudo apt-get update
 

Then to install the Prosody package simply run:

 sudo apt-get install prosody

Graphical

Click 'System', then 'Administration'. Select 'Software Sources'.

Switch to the 'Third-party Software' tab. Click on the 'Add' button.

Into the box that opens, paste the line shown above beginning with 'deb'.

Click 'Add Source' to close the dialog, and click 'Reload' if prompted.

You should now be able to install the 'prosody' package using Synaptic.

Adding our key file

Your system may warn you that the Prosody repository is not authenticated, or untrusted. To fix this you need to give it our key file.

Right-click on the link below and choose “Save Link As…”. Save the file to your desktop or home folder.

Prosody packages key.

Now back in the Software Sources manager, switch to the “Authentication” tab. Click on the “Import Key File” button. Select our key file you just downloaded, and click OK.

 
download/package_repository.txt · Last modified: 2011/07/25 16:16 by Matthew Wild