Hello Linux Geeksters. As you may know, the Canonical Partner Repository contains proprietary software (like Skype, VMWare client, Adobe Flash, Adobe Reader, etc) available for free. The Ubuntu developers don’t have access to the source code, they just package the software and make them available for the Ubuntu systems.
In this article I will show you how to add the Canonical Partner Repositories on Ubuntu 15.04 Vivid Vervet, Ubuntu 14.10 Utopic Unicorn, Ubuntu 14.04 Trusty Tahr, Ubuntu 12.04 Precise Pangolin, Linux Mint 17.1 Rebecca, Linux Mint 17 Qiana, Linux Mint 13 Maya, Elementary OS 0.3 Freya, Elementary OS 0.2 Luna, Pinguy OS 14.04, Deepin 2014, Peppermint Five, LXLE 14.04, Linux Lite 2.0 and other Ubuntu derivative systems.
Follow the instructions for your system exactly, in order to add the repository version for your system.
How to add the Canonical Partner Repository on Ubuntu 15.04 systems:
Add the repository:
$ sudo sh -c 'echo "deb http://archive.canonical.com/ubuntu/ vivid partner" >> /etc/apt/sources.list.d/canonical_partner.list'
$ $ sudo sh -c 'echo "deb-src http://archive.canonical.com/ubuntu/ vivid partner" >> /etc/apt/sources.list.d/canonical_partner.list'
Update the local repository index, so that your system sees the new repository:
$ sudo apt-get update
How to add the Canonical Partner Repository on Ubuntu 14.10 systems:
Add the repository:
$ sudo sh -c 'echo "deb http://archive.canonical.com/ubuntu/ utopic partner" >> /etc/apt/sources.list.d/canonical_partner.list'
$ $ sudo sh -c 'echo "deb-src http://archive.canonical.com/ubuntu/ utopic partner" >> /etc/apt/sources.list.d/canonical_partner.list'
Update the local repository index, so that your system sees the new repository:
$ sudo apt-get update
How to add the Canonical Partner Repository on Ubuntu 14.04, Linux Mint 17.1, Linux Mint 17, Pinguy OS 14.04, Elementary OS 0.3, Deepin 2014, Peppermint Five, LXLE 14.04 and Linux Lite 2.0:
Add the repository:
$ sudo sh -c 'echo "deb http://archive.canonical.com/ubuntu/ trusty partner" >> /etc/apt/sources.list.d/canonical_partner.list'
$ $ sudo sh -c 'echo "deb-src http://archive.canonical.com/ubuntu/ trusty partner" >> /etc/apt/sources.list.d/canonical_partner.list'
Update the local repository index, so that your system sees the new repository:
$ sudo apt-get update
How to add the Canonical Partner Repository on Ubuntu 12.04, Linux Mint 13 and Elementary OS 0.2:
Add the repository:
$ sudo sh -c 'echo "deb http://archive.canonical.com/ubuntu/ precise partner" >> /etc/apt/sources.list.d/canonical_partner.list'
$ $ sudo sh -c 'echo "deb-src http://archive.canonical.com/ubuntu/ precise partner" >> /etc/apt/sources.list.d/canonical_partner.list'
Update the local repository index, so that your system sees the new repository:
$ sudo apt-get update
Bonus, how add the Canonical Partner Repository on all the supported Ubuntu systems (Ubuntu 15.04, Ubuntu 14.10, Ubuntu 14.04 and Ubuntu 12.04):
Add the repository:
$ sudo sh -c 'echo "deb http://archive.canonical.com/ubuntu/ $(lsb_release -sc) partner" >> /etc/apt/sources.list.d/canonical_partner.list'
$ $ sudo sh -c 'echo "deb-src http://archive.canonical.com/ubuntu/ $(lsb_release -sc) partner" >> /etc/apt/sources.list.d/canonical_partner.list'
Update the local repository index, so that your system sees the new repository:
$ sudo apt-get update