We maintain a Debian package repository for the software, which is developed or related with the COD, for example, the cod-tools package. As Debian packages are also Ubuntu packages by definition, they can also be used on Ubuntu.
Usage
Importing the GPG key. In order to be able to download the packages from the repository, one has to add the repository's GPG key to the trust list of the
apt
package manager. They key has to be downloaded from https://www.crystallography.net/debian/conf/repository.gpg.key and added viaapt-key add
command, for example:wget -O - https://www.crystallography.net/debian/conf/repository.gpg.key | sudo apt-key add -
Registering in the sources list. A line has to be appended to the list of
apt
source repositories (/etc/apt/sources.list
):deb http://www.crystallography.net/debian <os-codename> main
where
<os-codename>
stands for the codename of the Debian/Ubuntu release in use. It could be found usinglsb_release
:lsb_release -a | grep ^Codename
Updating package cache and installing the wanted package:
sudo apt-get update sudo apt-get install cod-tools