Repository adding

From Newroco tech docs
Jump to: navigation, search

The easiest way to add an official repository is to edit the repository list

  1. vi /etc/apt/sources.list

adding the repositories needed on new linea in the form

  1. deb http://the.url/andpath/ ubuntuversionname repositoryname

So for 16.04 (Xenial) adding the universe and its updates repository would need

  1. deb http://gb.archive.ubuntu.com/ubuntu/ xenial universe
  2. deb http://gb.archive.ubuntu.com/ubuntu/ xenial-updates universe