How to add the canonical repository in ubuntu 16.04 ?

12,530

"canonical partners":

It is these 2 lines ...

$ grep partner sources.list
## 'partner' repository.
# deb http://archive.canonical.com/ubuntu xenial partner
# deb-src http://archive.canonical.com/ubuntu xenial partner

or from the desktop (image shows zesty instead of xenial)...

enter image description here

Share:
12,530

Related videos on Youtube

sharkant
Author by

sharkant

i like White chocolate with almonds from ALDI, vangelis, hong kong Pop Music from the 80s and early 90s, star trek the classic series, blue led lights at night. I dislike social pressure, being not as intelligent and good looking as i wished to be, the headache and Tinnitus i suffer from 24/7. I am a White male from Germany, suffering from agoraphobia, bound to a Limit of locomotion within a radius of about 1 km , but it depends on specific environmental Features. i am a single, i have a few friends, but i am alone most of the time.

Updated on September 18, 2022

Comments

  • sharkant
    sharkant over 1 year

    I have become paranoid with adding new repositories lately, but since I need skype, I have to add the repository called canonical.

    I read, it is necessary to uncomment (delete the # sign at the beginning) the line in /etc/apt/sources.list for the repository I want to use.

    However, when I am in /etc/apt/sources.list, I can't find any repository with canonical in its name.

  • sharkant
    sharkant about 7 years
    many thanks, I must have deleted these lines accidently, can I just copy from your answer and paste it into sources.list without further change?
  • Rinzwind
    Rinzwind about 7 years
    Yes sir/man. You can add those 2 lines, remove the # in front of the 2 lines and do an "update" of your sources.
  • sharkant
    sharkant about 7 years
    do i have to apt-get update it or something else to take effect?
  • Rinzwind
    Rinzwind about 7 years
    yes, use the gui version; it will prompt for it. commandline you need to do it yourself.