addrepo – Easiest way to add APT repositories

Sponsored Link
addrepo is a simple command line interface for easily adding APT repositories to your sources.list

Install addrepo in Ubuntu

This is very simple process just use the following two commands

sudo wget -O /usr/bin/addrepo

sudo chmod +x /usr/bin/addrepo

Using addrepo

addrepo [repository]

Now you just replace ‘[repository]' with a repository name

addrepo example

addrepo deb stable non-free

It already includes ‘sudo,' so adding sudo before you enter the command is not necessary.

Commands Recap

sudo wget -O /usr/bin/addrepo

sudo chmod +x /usr/bin/addrepo

Incoming search terms:

Related posts

3 thoughts on “addrepo – Easiest way to add APT repositories

  1. ..And if you are using Ubuntu desktop it’s even easier to go to:

    System -> Administration -> Software Sources -> Third Party Software -> Add

  2. Isn’t it just as easy to add repositories by editing the /etc/apt/sources.lst file with either nano or gEdit? Those looking for a graphical technique will probably find Michael’s method quite easy as well.

  3. Actually, if you want something graphical, there is an even faster and easier way than going into the menu and clicking Software Sources, which does take a little longer than necessary to load just for adding a repository.

    After I posted the thing about addrepo on the forum, someone suggested adding zenity dialogs, so i wrote a graphical version called ‘gkrepo.’

Leave a comment

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