How To Add Extra Repositories On Ubuntu 16.04 LTS

Repositories on Ubuntu are the locations that you can download software from. As a general rule, the default repositories don’t contain the right locations for most software packages that you’ll want to install. You will want to open up the /etc/apt/sources.list file, find and delete the comments from the following lines:

deb http://us.archive.ubuntu.com/ubuntu xenial universe main restricted universe

deb http://security.ubuntu.com/ubuntu xenial-security universe

Note that if you are using a different version than Ubuntu 16.04, you will probably see a different name there, something like breezy or edgy.

Once you are done adding the repositories, you’ll need to run this command:

sudo apt-get update

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>