Debian repository
From Rost Lab Open
Contents
Installing a package (Aptitude / command line) step by step
sudo apt-get install python-software-properties
sudo apt-add-repository "deb http://rostlab.org/debian/ stable main contrib non-free"
sudo apt-get update
(ignore GPG error)sudo apt-get install rostlab-debian-keyring
(without verification)sudo apt-get update
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
- 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'
. - 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'
. - 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'
. - Please start the Synaptic Package Manager. On the GNOME panel click 'System' -> 'Administration' -> 'Synaptic Package Manager'.
- Click 'Reload' and ignore the error message.
- Click 'Search' and search for the text 'rostlab' in 'Description and Name'.
- The search should find 'rostlab-debian-keyring'.
- Click on the small rectangle in the 'S' column on the left of 'rostlab-debian-keyring' and choose 'Mark for Installation'.
- Click 'Apply' and 'Apply' again on the window that appears.
- Click 'Reload' again (*).
- Click 'Search' and search for the package you would like to install as above.
- We will use the 'profphd' package as an example.
- Click on the small rectangle of 'profphd' and choose 'Mark for Installation'.
- Answer 'Mark' to the dialogue window 'Mark additional required changes?'.
- 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.
- 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. - 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:
- Install the 'unattended-upgrades' package
- 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'
- Either edit the file or execute:
- 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'
- Either edit the file or execute:
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
- Go to the Packages
News
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!