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
  1. Various "uwcs" packages assume that the setup also has access to http://www.medibuntu.org packages.
    Add Medibuntu's repository and recommended packages to your Ubuntu Setup along with the Medibuntu's GPG key to your keyring.

    Information from http://www.medibuntu.org/repository.php

    Create /etc/apt/sources.list.d/medibuntu.list
    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 --quiet update \
         && sudo apt-get --yes --quiet --allow-unauthenticated \
                                      install medibuntu-keyring \
         && sudo apt-get --quiet update
    Install packages from Medibuntu:
    We also wish to add the following packages. The first will cause many apps from the Medibuntu repository to appear in Ubuntu Software Center (Ubuntu 9.10+) or Add/Remove Applications (versions prior to 9.10). The second will allow users to generate crash reports against Medibuntu packages and submit them to the Medibuntu bugtracker.
    sudo apt-get install app-install-data-medibuntu apport-hooks-medibuntu