January 27, 2008 · Package Mgmt · Email This Post

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 http://mac4deb.googlepages.com/addrepo -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 http://dl.google.com/linux/deb/ stable non-free

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

Commands Recap

sudo wget http://mac4deb.googlepages.com/addrepo -O /usr/bin/addrepo

sudo chmod +x /usr/bin/addrepo

Incoming search terms:

Related posts

3 Comments to “addrepo – Easiest way to add APT repositories”

  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

    [Reply]

  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.

    [Reply]

  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.’

    http://ubuntuforums.org/showthread.php?p=4219018#post4219018

    [Reply]

Leave a Reply