Debian repository

From Rost Lab Open
Revision as of 14:08, 21 January 2013 by Lkajan (talk | contribs) (Apt keys: key)

Installing a package step by step

  1. If you do not have the file /etc/apt/sources.list.d/rostlab.list please execute this command:
    sudo bash -c 'echo -e "deb stable main contrib non-free\ndeb-src stable main contrib non-free" > /etc/apt/sources.list.d/rostlab.list'.
  2. If you have Debian unstable execute instead of the above:
    sudo bash -c 'echo -e "deb unstable main contrib non-free\ndeb-src unstable main contrib non-free" > /etc/apt/sources.list.d/rostlab.list'.
  3. If you have Ubuntu Lucid execute in addition to the above:
    sudo bash -c 'echo -e "deb lucid main contrib non-free\ndeb-src lucid main contrib non-free" > /etc/apt/sources.list.d/rostlab_lucid.list'.
  4. Please start the Synaptic Package Manager. On the GNOME panel click 'System' -> 'Administration' -> 'Synaptic Package Manager'.
  5. Click 'Reload' and ignore the error message.
  6. Click 'Search' and search for the text 'rostlab' in 'Description and Name'.
  7. The search should find 'rostlab-debian-keyring'.
  8. Click on the small rectangle in the 'S' column on the left of 'rostlab-debian-keyring' and choose 'Mark for Installation'.
  9. Click 'Apply' and 'Apply' again on the window that appears.
  10. Click 'Reload' again (*).
  11. Click 'Search' and search for the package you would like to install as above.
    We will use the 'profphd' package as an example.
  12. Click on the small rectangle of 'profphd' and choose 'Mark for Installation'.
  13. Answer 'Mark' to the dialogue window 'Mark additional required changes?'.
  14. Click 'Apply' and 'Apply' again - 'profphd' is now installed on your system.
    • If there is an error please get back to us. We are likely to be able to help you and your feedback helps us make these packages better. When you email us please include the output of 'uname -a' in your email and a detailed description of the problem you encountered.
  15. Type man prof in a terminal window. Look up the example section. Copy the example out and run it. You have successfully installed the package of your choice.
  16. In order to install other packages it is sufficient to open the Synaptic Package Manager again and pick up from the step marked with (*).

Automatic upgrades

We recommend you configure automatic upgrades also for our repository:

  1. Install the 'unattended-upgrades' package
  2. Have in /etc/apt/apt.conf.d/20auto-upgrades:
    APT::Periodic::Update-Package-Lists "1";
    APT::Periodic::Unattended-Upgrade "1";
    • Either edit the file or execute:
      sudo bash -c 'echo -e "APT::Periodic::Update-Package-Lists "1";\nAPT::Periodic::Unattended-Upgrade "1";" >> /etc/apt/apt.conf.d/20auto-upgrades'
  3. Have in /etc/apt/apt.conf.d/50unattended-upgrades-rostlab:
    Unattended-Upgrade::Allowed-Origins {
    "Rost Lab:stable";
    "Rost Lab:lucid";
    • Either edit the file or execute:
      sudo bash -c 'echo -e "Unattended-Upgrade::Allowed-Origins {\n "Rost Lab:stable";\n "Rost Lab:lucid";\n};" > /etc/apt/apt.conf.d/50unattended-upgrades-rostlab'


Add this to /etc/apt/sources.list.d/rostlab.list:

deb stable main contrib non-free
deb-src stable main contrib non-free

If you have Ubuntu Lucid also add this to /etc/apt/sources.list.d/rostlab_lucid.list:

deb lucid main contrib non-free
deb-src lucid main contrib non-free

Apt keys

Install the latest version of rostlab-debian-keyring package:

  • use aptitude

- or -

  • Open in a browser
  • Look up the 'rostlab-debian-keyring' package in the list, memorize the version, e.g. '1.0-4'
  • Replace <version> in the command below with the version you memorized above
  • KEY="rostlab-debian-keyring_<version>_all.deb" && wget "$KEY" && dpkg -i "$KEY"

The above gives you the Rost Lab repository signing (public) key. You can also install it manually.



link=Template:Http:// Follow rostlab on twitter to get news about releases, updates, bug fixes and known issues.


Please help us make our packages better: report-a-bug!