Skip to content Skip to site navigation

Configure Debian System to Access Debian Archives

To point to the Stanford Debian Local Archive, you must configure your system to find the archive and install the Stanford archive keys.

1. Install the Stanford Debian Local Archive key package. To do this, navigate your browser to http://debian.stanford.edu/debian-stanford/pool/main/s/stanford-keyring/ and look for the file ending in ".deb". Download that file to your system and install the file by using dpkg.

2. Create a new file /etc/apt/sources.list.d/stanford.list with this content:

# The Stanford-specific Debian archive and source tree (world-accessible).
deb     http://debian.stanford.edu/debian-stanford stretch main non-free contrib
deb-src http://debian.stanford.edu/debian-stanford stretch main non-free contrib

# The Stanford restricted Debian archive and source tree.
deb     http://debian.stanford.edu/debian-local stretch main non-free contrib
deb-src http://debian.stanford.edu/debian-local stretch main non-free contrib

3. Update your apt cache

apt-get update

 

 

Last modified April 23, 2019