CSCF Infrastructure Technology Group


CSI  » Setup Recipes  » Operating Systems  » Ubuntu  » Apt Repositories

The following is the list of Apt repositories that are used by the CSCF Infrastruture group when creating their default Ubuntu images.

  1. CS Club's offical Canadian Mirror for Ubuntu releases

    Update /etc/apt/sources.list
    With the support of University of Waterloo School of Computer Science, the CS Club provides an official Canadian mirror (mirror.csclub.uwaterloo.ca) of many sites. Campus hosts (at least) should use their Ubuntu mirror:
    wget --no-check-certificate -O - https://cs.uwaterloo.ca/cscf/internal/infrastructure/setups/os/ubuntu/UW-CS-common/etc/apt/sources.list | sed -e "s/CodeName/`lsb_release -c -s`/" | sudo -s tee /etc/apt/sources.list

    sudo apt-get -y update
    if after performing the
    sudo apt-get update
    If you get a "GPG error ... NO_PUBKEY <missing key string>" message, then try the command:
    sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys <missing key string>
    We also want to be able to use the Global Sign certificates that UWaterloo uses (which is why we used the '--no-check-certificate' in the wget above). Alternative is to make sure the ca-certificates is installed:
    sudo apt-get install ca-certificates
  2. uwcs-depot of SCS Deb Metapackages

    These packages allow people to easily duplicate the Linux environments used within the Cheriton School of Computer Science.

    Create /etc/apt/sources.list.d/uwcs-depot.list
    wget -O - https://cs.uwaterloo.ca/cscf/internal/infrastructure/setups/os/ubuntu/UW-CS-common/etc/apt/sources.list.d/uwcs-depot.list | sed -e "s/CodeName/`lsb_release -c -s`/" | sudo -s tee /etc/apt/sources.list.d/uwcs-depot.list
    Add "depot.cs.uwaterloo.ca" gpg key to the apt key ring.
    Update apt's local database:
    sudo apt-get update

If your host has access to the Internet, you can also consider using these repositories:

  1. Ubuntu Partner Applications

    Create /etc/apt/sources.list.d/canonical_partner.list

    Use this repository for up-to-date versions of Acroread, Flash, Skype, UEX, SUN Java, OpenBravo...

    Information from http://www.ubuntuupdates.org/ppa/canonical_partner

    sudo sh -c 'echo "deb http://archive.canonical.com/ubuntu/ `lsb_release -c -s` partner" > /etc/apt/sources.list.d/canonical_partner.list'
  2. Newer NVidia Card Drivers

    Use “Graphics Drivers Team” team PPA to be able to access the latest nvidia drivers (needed for newer nvidia cards).

    Create /etc/apt/sources.list.d/graphics-drivers-ppa-`lsb_release -sc`.list
    sudo add-apt-repository -y ppa:graphics-drivers/ppa
  3. MicroSoft Teams

    From https://www.ubuntuupdates.org/ppa/google_chrome

    Use this repository for newer versions of Google Chrome packages.

    Information from https://www.ubuntuupdates.org/ppa/google_chrome".

    Setup key with:

    wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

    Setup Apt repository with:

    sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
  4. Google Chrome

    Create https://www.ubuntuupdates.org/ppa/google_chrome

    Use this repository for newer versions of Google Chrome packages.

    Information from https://www.ubuntuupdates.org/ppa/google_chrome".

    Setup key with:

    wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

    Setup Apt repository with:

    sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
  5. Mozilla Applications

    Create /etc/apt/sources.list.d/mozillateam-ubuntu-ppa-$(lsb_release -s -c).list

    Use this repository for up-to-date Firefox ESR and Thunderbird stable builds.

    Information from "https://launchpad.net/~mozillateam/+archive/ubuntu/ppa".

    sudo add-apt-repository ppa:mozillateam/ppa
  6. Nextcloud

    Create /etc/apt/sources.list.d/nextcloud.list

    Use this repository for up-to-date versions of Nextcloud Storage Software.

    Information from https://launchpad.net/~nextcloud-devs/+archive/ubuntu/client

    sudo add-apt-repository ppa:nextcloud-devs/client
    sudo apt-get update
  7. Computer Language Applications

    Create /etc/apt/sources.list.d/webupd8team-ubuntu-java-$(lsb_release -s -c).list

    Use this repository for up-to-date versions of Oracle Java 8 JDKs.

    Information from "https://launchpad.net/~webupd8team/+archive/ubuntu/java".

    add-apt-repository ppa:webupd8team/java
    Create /etc/apt/sources.list.d/linuxuprising-ubuntu-java-$(lsb_release -s -c).list

    Use this repository for up-to-date versions of Oracle Java 10 JDKs.

    Information from "https://www.linuxuprising.com/2018/04/install-oracle-java-10-in-ubuntu-or.html".

    add-apt-repository ppa:linuxuprising/java
    Create /etc/apt/sources.list.d/plt-racket-$(lsb_release -s -c).list

    Use this repository for up-to-date versions of Racket computer language package.

    Information from "https://launchpad.net/~plt/+archive/racket".

    add-apt-repository ppa:plt/racket
  8. Virtualbox

    Create /etc/apt/sources.list.d/Virtualbox.list
    Information from https://www.virtualbox.org/wiki/Linux_Downloads
    echo "deb https://download.virtualbox.org/virtualbox/debian CodeName contrib" \
         | sed -e "s/CodeName/`lsb_release -c -s`/" \
         | sudo -s tee /etc/apt/sources.list.d/oracle_vbox.list

Deprecated Source since the Ubuntu comunity is no longer supporting them.

  1. Multimedia Applications

    Create /etc/apt/sources.list.d/medibuntu.list
    Information from http://www.medibuntu.org/repository.php
    sudo -E wget --output-document=/etc/apt/sources.list.d/medibuntu.list \
                 http://www.medibuntu.org/sources.list.d/`lsb_release -cs`.list \
         && sudo apt-get --yes --allow-unauthenticated install medibuntu-keyring \
         && sudo apt-get update