Ubuntu:Edgy/Repositories

From

Jump to: navigation, search

Contents

Installing Additional Software

How to add extra repositories

  • Create a backup of your current list of sources.
sudo cp -p /etc/apt/sources.list /etc/apt/sources.list_backup
  • Open the list of sources in a text editor
Ubuntu users:
sudo gedit /etc/apt/sources.list
Kubuntu users:
sudo kate /etc/apt/sources.list
  • Replace everything with the following lines
To use your local mirror you can add "cc." before archive.ubuntu.com (cc = your country code)
e.g. deb http://lv.archive.ubuntu.com/ubuntu edgy main restricted universe multiverse
## Add comments (##) in front of any line to remove it from being checked.   
## Use the following sources.list at your own risk.  

deb http://old-releases.ubuntu.com/ubuntu edgy main restricted universe multiverse
deb-src http://old-releases.ubuntu.com/ubuntu edgy main restricted universe multiverse

deb http://old-releases.ubuntu.com/ubuntu edgy-proposed main restricted universe multiverse

## MAJOR BUG FIX UPDATES produced after the final release
deb http://old-releases.ubuntu.com/ubuntu edgy-updates main restricted universe multiverse
deb-src http://old-releases.ubuntu.com/ubuntu edgy-updates main restricted universe multiverse

## UBUNTU SECURITY UPDATES
deb http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse

## BACKPORTS REPOSITORY (Unsupported.  May contain illegal packages.  Use at own risk.)
deb http://old-releases.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse
deb-src http://old-releases.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse

## PLF REPOSITORY (Unsupported.  May contain illegal packages.  Use at own risk.)
 deb http://packages.medibuntu.org/ edgy free non-free
                                                                                                                                         
## CANONICAL COMMERCIAL REPOSITORY (Hosted on Canonical servers, not Ubuntu
## servers. RealPlayer10, Opera, DesktopSecure and more to come.) 
deb http://archive.canonical.com/ubuntu edgy-commercial main

## Listen
#deb http://theli.free.fr/packages/ edgy listen
  • Save the edited file
wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add -
sudo apt-get update
  • Modify the default Ubuntu sources.list only if you understand what you're doing. Mixing repos can cause breakage.

How to add extra repositories on DVDs

For users without broadband connection downloading packages from the net is a really big problem. You can download packages in DVDs and use them on every ubuntu installation without the need of downloading.

  • Download DVDs
for i386
Main Repository
Universe - Multiverse - Restricted DVD1
Universe - Multiverse - Restricted DVD2
Universe - Multiverse - Restricted DVD3
or for amd64
Main Repository
Universe - Multiverse - Restricted DVD1
Universe - Multiverse - Restricted DVD2
Universe - Multiverse - Restricted DVD3


  • System -> Administration -> Synaptic Package Manager
  • To add DVDs in Repository lists
    1. Settings -> Repositories -> Third Party
    2. Insert first DVD in drive and click Add Cdrom
    3. Name the added DVD
    4. repeat for other DVDs also

"Automated" Methods

How to install EasyUbuntu
  • Read #General Notes
  • Easy Ubuntu is a small straight-forward utility that allows novice users to easily install a wide variety of content for Ubuntu such as media codecs, fonts, Macromedia Flash and Sun Java.

Open a terminal from Menu -> Accessories -> Terminal and run the following commands

wget http://easyubuntu.freecontrib.org/files/easyubuntu-3.023.tar.gz
tar -zxf easyubuntu-3.023.tar.gz
cd easyubuntu
cp packagelist-dapper.pot packagelist-edgy.pot
cp packagelist-dapper.xml packagelist-edgy.xml
sudo python easyubuntu.in
  • From the Easy Ubuntu window, check the appropriate boxes to download and install content to Ubuntu.
  • Note: Users of the previous EasyUbuntu 3.0 version may experience issues with installing Flash and Java.
  • If you would like automatic update, then follow these instructions:

depending on which version of Ubuntu you're using:

On Ubuntu:

sudo gedit /etc/apt/sources.list

On Kubuntu:

sudo kate /etc/apt/sources.list

On Xubuntu:

gksudo mousepad /etc/apt/sources.list

In your text editor which will open, add to the bottom of your /etc/apt/sources.list file:

deb http://easyubuntu.cafuego.net main easyubuntu

From now on, EasyUbuntu should be automatically updated.

How To Uninstall EasyUbuntu
sudo aptitude remove easyubuntu
  • Delete the easyubuntu directory
How to install Automatix2 on Ubuntu, Kubuntu, and Xubuntu
  • Read #General Notes
  • Automatix2 is Automatix written in python with a more user friendly interface and better overall design for automating the installation of the most commonly requested applications in Ubuntu/Kubuntu/Xubuntu linux.
  • Note: Before installing, please note that certain codecs it provides may be prohibited in certain countries. You are responsible for ensuring those laws are not broken.
  • Note: Please note that if you are using Xubuntu where it says "sudo gedit /etc/apt/sources.list" please replace with "gksudo mousepad /etc/apt/sources.list".
sudo gedit /etc/apt/sources.list 
  • Add the following lines at the end of file
## Automatix repo
deb http://www.getautomatix.com/apt edgy main
  • NOTE: Kubuntu/Xubuntu users will need to uncomment (remove the # before the word "deb") all the additional sources as well as add the automatix repository.
  • Now save and close /etc/apt/sources.list and run the following commands from terminal (one by one, hitting enter after each step)
wget http://www.getautomatix.com/keys/automatix2.key
gpg --import automatix2.key
gpg --export --armor E23C5FC3 | sudo apt-key add -
gpg --keyserver subkeys.pgp.net --recv CC919A31E23C5FC3
gpg --export --armor CC919A31E23C5FC3 | sudo apt-key add -
  • Update APT
sudo aptitude update
  • Run the following commands to install Automatix2
sudo aptitude install automatix2

  • Automatix2 can be started from the the Menu
Menu -> System -> Automatix2
  • Automatix2 can be run from terminal by typing the folowing
automatix2
Another script to install additional programs

Note: Many of these programs are included in Automatix2.

wget http://www.iki.fi/kuparine/comp/ubuntu/install.sh
sh install.sh

More information about this installation method can be found at http://www.iki.fi/kuparine/comp/ubuntu/install.html

Personal tools
Sponsor
Going Tribal