Debian repository

From Rost Lab Open
Jump to: navigation, search

Contents

Installing a package (Aptitude / command line) step by step

  1. sudo apt-get install python-software-properties
  2. sudo apt-add-repository "deb http://rostlab.org/debian/ stable main contrib non-free"
  3. sudo apt-get update (ignore GPG error)
  4. sudo apt-get install rostlab-debian-keyring (without verification)
  5. sudo apt-get update
  6. sudo apt-get install <PACKAGE> where <PACKAGE> is the package you want to install (e.g. 'profphd')

Installing a package (Synaptics Package Manager) 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 http://rostlab.org/debian/ stable main contrib non-free\ndeb-src http://rostlab.org/debian/ 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 http://rostlab.org/debian/ unstable main contrib non-free\ndeb-src http://rostlab.org/debian/ 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 http://rostlab.org/debian/ lucid main contrib non-free\ndeb-src http://rostlab.org/debian/ 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'

sources.list.d

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

deb http://rostlab.org/debian/ stable main contrib non-free
deb-src http://rostlab.org/debian/ stable main contrib non-free

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

deb http://rostlab.org/debian/ lucid main contrib non-free
deb-src http://rostlab.org/debian/ lucid main contrib non-free

Apt keys

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

  • use aptitude

- or -

  • Open http://rostlab.org/debian/pool/main 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 "http://rostlab.org/debian/pool/main/$KEY" && dpkg -i "$KEY"

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

Packages

News

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

Bugs

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

Personal tools