Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question
add comment

5 Answers

up vote 20 down vote accepted

GUI Way:

Click on the ubuntu button, then search for "Software Sources" and go to the "Other Software" tab.

enter image description here

Command Line Way:

  • Open the sources.list file: gksudo gedit /etc/apt/sources.list
  • Add the partner repositories by removing the # in front of the following lines (maverick is the version of your Ubuntu installation, it may differ)

    # deb http://archive.canonical.com/ubuntu maverick partner
    # deb-src http://archive.canonical.com/ubuntu maverick partner
    

alt text

  • Save and Close.
  • Resynchronize the package index files from their sources: sudo apt-get update

  • Official documentation for reference

share|improve this answer
    
As of Ubuntu Precise, "Software Sources" is no longer accessible via the launcher. It has to be accessed through the menu (Edit => Edit software sources). –  Lekensteyn May 2 '12 at 21:02
add comment

The simplest way to enable "partner" repository:

sed -i "/^# deb .*partner/ s/^# //" /etc/apt/sources.list && apt-get update
share|improve this answer
add comment

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:

#deb http://archive.canonical.com/ubuntu maverick partner  
#deb-src http://archive.canonical.com/ubuntu maverick partner

So they are like this:

deb http://archive.canonical.com/ubuntu maverick partner  
deb-src http://archive.canonical.com/ubuntu maverick partner

Then update your apt cache: sudo apt-get update.

share|improve this answer
add comment

TERMINAL version, just copy and paste this commands to activate the partners repository (skype, etc):

DISTRO=`cat /etc/*-release | grep DISTRIB_CODENAME | sed 's/.*=//g'`
sudo sed -i 's/\(# \)\(deb .*ubuntu '${DISTRO}' partner\)/\2/g' /etc/apt/sources.list
sudo apt-get -y update

@ERGuille: FTFY, with a cleaner version

share|improve this answer
add comment

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.