1. 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. 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'
  3. 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