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

You may also like...

3 Responses

  1. Michael says:

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

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

  2. Mary Riley says:

    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. buu700 says:

    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 Reply

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