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

    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.

    CSCF setup makes use of this Ubuntu repository as their main Apt sources configuration file.

    Make sure this hosts "local apt key trust" has the ca-certificates package installed:
           sudo apt-get install ca-certificates
         
    Update /etc/apt/sources.list
           wget -q -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.d/uwcs-depot.list > /dev/null
         
    Update apt's local database, checking output for problems with new setup:
    sudo apt-get update
  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.

    Add "depot.cs.uwaterloo.ca" gpg key to the local apt key trust.
    	if [ `lsb_release -sr` \> 22 ]; then 
               wget -q -O - \
                 https://cs.uwaterloo.ca/cscf/internal/infrastructure/setups/certs/depot.pub.gpg.key \
    	     | sudo tee /etc/apt/trusted.gpg.d/depot.pub.asc > /dev/null
    	else 
    	   wget -O - \
                 https://cs.uwaterloo.ca/cscf/internal/infrastructure/setups/certs/depot.pub.gpg.key \
    	     | sudo apt-key add - 
            fi
         
    Create /etc/apt/sources.list.d/uwcs-depot.list
           wget -q -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 > /dev/null
         
    Update apt's local database:
    sudo apt-get update
    Update apt's local database, checking output for problems with new setup:
    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. Icinga Monitoring System

    This is a customization of the "Add Icinga Package Repository" section of Install Icinga 2 on Ubuntu

    Add "packages.icinga.com" gpg key to the local apt key trust.
    	if [ `lsb_release -sr` \> 22 ]; then 
               wget -q -O - \
                 https://packages.icinga.com/icinga.key \
    	     | sudo tee /etc/apt/trusted.gpg.d/icinga.pub.asc > /dev/null
    	else 
               wget -q -O - \
                 https://packages.icinga.com/icinga.key \
    	     | sudo apt-key add - 
            fi
         
    Create /etc/apt/sources.list.d/icinga.list
    	echo "deb https://packages.icinga.com/ubuntu icinga-`lsb_release -sc` main" \
                | sudo tee /etc/apt/sources.list.d/icinga.list > /dev/null
            echo "# deb-src https://packages.icinga.com/ubuntu icinga-`lsb_release -sc` main" \
                | sudo tee -a /etc/apt/sources.list.d/icinga.list > /dev/null
         
    Update apt's local database, checking output for problems with new setup:
    sudo apt-get update
  4. MicroSoft Teams

    https://learn.microsoft.com › answers › questions › pr... Provide repository installation instructions instead of offering rpm and deb packages

    Use this repository for newer versions of Microsoft Teams packages.

    Information from Microsoft Learn: Provide repository installation instructions instead of offering rpm and deb packages

    Setup key with:

            curl https://packages.microsoft.com/keys/microsoft.asc  \
              | if [ `lsb_release -sr` \> 22 ]; then 
                  sudo tee /etc/apt/trusted.gpg.d/teams.pub.asc > /dev/null
                else 
                  sudo apt-key add - 
                fi
         

    Setup Apt repository with:

           echo "deb [arch=amd64] https://packages.microsoft.com/repos/ms-teams stable main" \
                | sudo tee /etc/apt/sources.list.d/teams.list > /dev/null
           sudo apt update  
           sudo apt install teams
         
  5. 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 tee /etc/apt/trusted.gpg.d/linux_signing_key.asc \
                             > /dev/null
           curl https://dl-ssl.google.com/linux/linux_signing_key.pub \
              | if [ `lsb_release -sr` \> 22 ]; then 
                  sudo tee /etc/apt/trusted.gpg.d/chrome.pub.asc > /dev/null
                else 
                  sudo apt-key add - 
                fi
         

    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'
         
  6. 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
  7. 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
  8. 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
  9. PostgreSQL

    This is a customization of UbuntuUpdates.org 3rd Party Repository: Postgresql

    Add "apt.postgresql.org" gpg key to the local apt key trust.
    	if [ `lsb_release -sr` \> 22 ]; then 
               wget -q -O - \
                 https://www.postgresql.org/media/keys/ACCC4CF8.asc \
                 | gpg --dearmor \
    	     | sudo tee /etc/apt/trusted.gpg.d/apt.postgresql.org.gpg > /dev/null
    	else 
               wget -q -O - \
                 https://www.postgresql.org/media/keys/ACCC4CF8.asc \
    	     | sudo apt-key add - 
            fi
         
    Create /etc/apt/sources.list.d/uwcs-postgresql.list
           sudo sh -c \
    	 echo "deb http://apt.postgresql.org/pub/repos/apt/`lsb_release -c -s`-pgdg main" \
             | sudo -s tee /etc/apt/sources.list.d/uwcs-postgresql.list > /dev/null'
         
    Update apt's local database:
    sudo apt-get update
  10. 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 > /dev/null

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