I keep seeing places refer to the "partner" repository as a place I can get software, how can I enable this repository? Please specify how to do this graphically and via command line.
I keep seeing places refer to the "partner" repository as a place I can get software, how can I enable this repository? Please specify how to do this graphically and via command line.
GUI Way:
Click on the ubuntu button, then search for "Software Sources" (or "Software & Updates" on Ubuntu 16.04+) and go to the "Other Software" tab.
Command Line Way:
gksudo gedit /etc/apt/sources.list
(or with the command line editor of your choice,sudo nano /etc/apt/sources.list
would usenano
on the command line without a GUI)Add the partner repositories by removing the # in front of the following lines (
maverick
is the version of your Ubuntu installation, it may differ, so use the codename of the release you are using instead of 'maverick'. If you're not sure runlsb_release -c
to find out.)Resynchronize the package index files from their sources:
sudo apt-get update
Official documentation for reference
The simplest way to enable "partner" repository:
CLI method
This method uses
lsb_release -sc
to get the Ubuntu (codename) version.add-apt-repository
to alter the appropriate config files.It has the advantages of working in all versions of Ubuntu.
This is from a skype tutorial
To enable the partner repository from the command line, edit
/etc/apt/sources.list
:sudoedit /etc/apt/sources.list
and remove the # from the beginning of these two lines:So they are like this:
Then update your apt cache:
sudo apt-get update
.TERMINAL version, just copy and paste this commands to activate the partners repository (skype, etc):
@ERGuille: FTFY, with a cleaner version
This is how I did it within shell, I took the time for a little variation to increase stability, re-usability and idempotence (and not checking for the distro):
Alternatives here:
In the end this might need another iteration or two. I hope next to the personal note on comments this was giving some useful summary.
TERMINAL just to make it easier, copy and paste this one command:
sed 's/\# deb http\:\/\/archive\.canonical\.com\/ubuntu natty partner/deb http\:\/\/archive\.canonical\.com\/ubuntu natty partner/' /etc/apt/sources.list | sed 's/\# deb-src http\:\/\/archive\.canonical\.com\/ubuntu natty partner/deb-src http\:\/\/archive\.canonical\.com\/ubuntu natty partner/' - > /tmp/newfile && sudo mv -f /tmp/newfile /etc/apt/sources.list