The repositories listed here are for a Linux distribution with the following specifications:
Distro: Unspecified. Defaulting to Ubuntu
Version:
Processor Family: Unknown
Click here to specify different details
Your browser agent supplies the following information:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008071615 Fedora/3.0.1-1.fc9 Firefox/3.0.1
Browser agents do not always give accurate information. Go with what you know to be true for your needs.
Unless you know better, use i386 even if your browser reports you are using an i686 processor.
Some repositories are only displayed when the full platform details are known. Check your distro by entering the following command into a terminal:
lsb_release -aFor more information about your processor, try either or both of these two terminal commands
lshw -class cpuless /proc/cpuinfoWhen executing the second command, use Shift+Q to exit the info page.
Regardless your actual processor type, the information entered into the system selection form should match architecture of the distribution these repositories are to be added to.
Please be certain these repository details and software packages are correct for your system before you begin adding them.
Back up your original repository sources list with:
sudo cp /etc/apt/sources.list /etc/apt/sources.list.backupxyzIf anything goes wrong, you may restore the original with:
sudo mv /etc/apt/sources.list.backupxyz /etc/apt/sources.listor may edit your active repository list with:
gksu gedit /etc/apt/sources.listIf you use KDE, replace 'gksu gedit' with 'kdesudo kate' (kate's a much better editor)
Watch the Terminal's Output
Your input is required for some of these terminal commands to complete. Please be vigilant.
Install Synaptic
This is a software package manager and should already be installed but there is no harm in checking.
sudo apt-get install synaptic
Install Aptitude
This is, in my opinion, the best terminal based user interfaces for dpkg. It is a brilliant package manager.
sudo apt-get install aptitude
Use this to check for recommended package installations:
- Open a terminal and type
sudo aptitude - Press "u" to update the package list
- Press "g" to mark upgradable packages
- Press "g" again to download and install the upgrades
- Press "r" to audit recommended packages
- Highlight each recommendation individually (use the up and down arrow keys) and press "+" to select each one for installation
- Press "g" to download and install the recommended packages
If you need to access Aptitude's menu, you may do so by pressing "Ctrl+T". It may be navigated with the arrow keys and menu items activated with the "return" key
Repeat this procedure after working through these repositories and perform it at least once per month. Aptitude fixes dependency issues and broken packages better than most other package managers.
Install Tasksel
Tasksel uses metapackages to install related packages in a single task.
It makes it easy to install software with single commands or by running it from a terminal. Current packages and software include:
- LAMP
- Fonts
- Printer Servers
- Kubuntu
- Lubuntu
- Edubuntu
- And many more
Install Tasksel with
sudo apt-get install taskselRun it with
sudo taskselMore information about Tasksel is available here
Do not use Tasksel to remove packages.
Enable Any Disabled Repositories
Open Synaptic. You will find it in (Ubuntu) System>Administration or (Kubuntu) Applications>System, then
- Click "Settings" in the top bar menu
- Select "Repositories"
- Tick all the software sources listed under the first tab labelled Ubuntu Software. Disregard Installable from CD-ROM/DVD
- Tick all software sources listed under the second tab labelled Other Software.
Use discretion when re-enabling repositories. Read the annotations in bold text that state repository names. Some of those annotations will state the reason for a repository being disabled. If a repository has been disabled due to a system upgrade then you should consider checking for a more suitable repository from its maintainer.
Update Your System
It is important your current software is up to date but you may skip this step if you know better.
sudo apt-get update
sudo apt-get upgradesudo apt-get dist-upgradeRepeat this step after you have completed adding repositories from this page.
Install wget, vlc, ffmpeg and imagemagick
sudo apt-get install wget vlc ffmpeg imagemagick
Add the Medibuntu Repository
Medibuntu is required if you need to play encrypted DVDs or if you need to install certain proprietary software."
sudo wget --output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list
sudo apt-get --quiet updatesudo apt-get --yes --quiet --allow-unauthenticated install medibuntu-keyring
sudo apt-get --quiet updatesudo apt-get --yes install app-install-data-medibuntu apport-hooks-medibuntusudo apt-key adv --recv-keys --keyserver pgp.mit.edu 0C5A2783Copy and paste this command into a terminal if errors are displayed while the Medibuntu repository is being downloaded:
sudo echo "88.191.101.8 packages.medibuntu.org" | sudo tee -a /etc/hostsMore details about Medibuntu are available here
Enable Encrypted DVD Playback
sudo apt-get install libdvdcss2sudo apt-get install libdvdread4
sudo /usr/share/doc/libdvdread4/install-css.shYou might also want to install these:
sudo apt-get install normalize-audio mpg321 libudf0 udftools libudf-dev streamtunerInstall Acrobat Reader
sudo apt-get install acroread
Ignore the message 'No LSB modules installed'. It is a known bug of ubuntu.
Install ubuntu Restricted Extras:
sudo apt-get install ubuntu-restricted-extrassudo apt-get install ubuntu-restricted-addonsIf pressing 'Y' when asked to confirm installation of ubuntu restricted extras causes an Abort message, repaste the terminal commands but press a lower-case 'y' instead of an upper-case one.
You will be asked to accept the EULA for Microsoft fonts. Keep an eye on the terminal. Use 'Tab' and 'Enter' keys to highlight and select your response.
Install PlayOnLinux
sudo wget http://deb.playonlinux.com/playonlinux_.list -O /etc/apt/sources.list.d/playonlinux.list
sudo apt-get updatesudo apt-get install playonlinuxThe Official Homepage for PlayOnLinux
Install Wine
Wine should already be available through apt or Synaptic. However, the official repository gives access to the latest beta versions of wine and winetricks
sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
Install the current version with:
sudo apt-get install wine-1.2
Install the beta version with:
sudo apt-get install wine-1.3
Wine's Homepage is here
Install Winetricks
There are two methods for installing Winetricks:
- Through the Wine repository
- By downloading it from winetricks.org
If you added the official Wine repository (above) then this will probably have been installed along with Wine. Check for it by looking for 'Winetricks' under your Wine menu. It can be installed manually with,
sudo apt-get install winetricks
If you didn't add the official Wine repository or it cannot be installed with the above terminal instruction, do this:
sudo rm -f winetricks
sudo wget http://winetricks.org/winetricksWait for Winetricks to download then,
sudo cp winetricks /usr/bin
sudo chmod +x /usr/bin/winetricks
sudo ldconfig
Winetricks is best installed through the Wine repository. It auto updates and is then available through your Applications menu. If you installed it through the second method you will need to run it by typing "winetricks" into a terminal whenever you wish to use it.
More About Winetriks Here
Add the VirtualBox Repository
An excellent utility for emulating computer hardware from within an operating system.
Use this if you want to run Windows at the same time as running ; or if you want to run any other operating system or multiple operating systems simultaneously while your environment is loaded.
sudo echo 'deb http://download.virtualbox.org/virtualbox/debian $DISTRO contrib non-free' >> /etc/apt/sources.listsudo sed -i 's@^deb-src http://download.virtualbox.org/virtualbox/debian $DISTROcontrib non-free@# deb-src http://download.virtualbox.org/virtualbox/debian $DISTRO contrib non-free@g' /etc/apt/sources.list
Add the Oracle Public Key (required for VirtualBox)
sudo wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -Install VirtualBox
sudo apt-get update
sudo apt-get install virtualbox-4.0
Install the dkms package
sudo apt-get install dkms
VirtualBox Guest Additions aids integration between the host and guest operating systems.
Click here to download VirtualBox Guest Additions.
The Homepage of VirtualBox is here
Install IPList
The privacy advocate’s essential security buddy.
IPList is similar to the PeerGuardian program used on Windows – it prevents file downloads from IP addresses that are known to be espiant. That is to say that some people provide downloads and seed torrents for the sole purpose of spying on and tracking down downloaders.
IPList drops data packets downloaded from espiant uploaders and seeders thus helps protect privacy.
sudo touch /etc/apt/sources.list.d/iplist.list
sudo echo "deb http://ppa.launchpad.net/ssakar/ppa/ubuntu main" > /etc/apt/sources.list.d/iplist.list
sudo echo "deb-src http://ppa.launchpad.net/ssakar/ppa/ubuntu main" >> /etc/apt/sources.list.d/iplist.list
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com C6E3D905C8BCD56BB02E6E0B39456311108B243Fsudo apt-get update
sudo apt-get install iplist
The Homepage of IPList is here.
Install GetDeb and PlayDeb
GetDeb
GetDeb is a repository of many useful applications that assist media production, office productivity and lots of other things. Many packages available here are either not available through the official *ubuntu repositories or are more up to date than those provided by *ubuntu.
sudo echo "deb http://archive.getdeb.net/ubuntu -getdeb apps >> /etc/apt/sources.list"
The Homepage of GetDeb is here.
PlayDeb
PlayDeb provides a repository full of wonderful games that are not usually available through the official *ubuntu repositories.
sudo echo "deb http://archive.getdeb.net/ubuntu -getdeb games >> /etc/apt/sources.list"
Add the GPG Key for both GetDeb and PlayDeb
sudo wget -q -O- http://archive.getdeb.net/getdeb-archive.key | sudo apt-key add -
The Homepage of PlayDeb is here.
Install SDLMAME
MAME is the Multiple Arcade Machine Emulator and is used for playing arcade games on desktop PCs
sudo rm -f /etc/apt/sources.list.d/sdlmame4ubuntu.*sudo add-apt-repository ppa:c.falco/mamesudo apt-get update
sudo apt-get install mame
The SDLMAME repository listed here is from wallyweek.com.
The official homepage for MAME is mameworld.info.
Install QMC2 MAME Frontend
sudo add-apt-repository ppa:mmbossoni-gmail/emusudo apt-get update
sudo apt-get install qmc2
The official homepage for MAME is at here.
Install LAMP
LAMP is an acronym for Linux Apache MySQL and PHP.
It is required by anyone who wishes to use their desktop PC into a web server or anyone who wishes to use or test web applications locally.
Install it with:
sudo apt-get install lamp-server^Manage database files with phpMyAdmin:
sudo apt-get install phpmyadminYou will be able to access your LAMP server by pointing a web browser to:
http://localhostFiles created on your computer and stored in the directory /var/www are accessed by pointing a browser to http://localhost/ followed by the file's name.
You will need to add yourself to Apache's usergroup if you wish to store, create, manage or manipulate files in /var/www without being a superuser. Do this with:
sudo usermod -a -G www-data usernameReplace "username" with your *ubuntu login name.
PHPMyAdmin is accessed with your root username (usually "root") and login password by going to:
http://localhost/phpmyadminYou will need to create a symlink to PHPMyAdmin if you cannot access it. A symlink may be created with:
sudo ln -s /usr/share/phpmyadmin /var/www/phpmyadminYou can enable Apache mod_rewrite with:
sudo a2enmod rewrite
sudo /etc/init.d/apache2 restartIf Apache is unable to determine the server's fully qualified domain name, type:
gksu gedit /etc/apache2/httpd.confEdit the httpd.conf file by adding:
ServerName localhostThen saving it before restarting the server with:
sudo /etc/init.d/apache2 restartApache .htaccess files will be ignored unless Apache is configured to acknowledge them. Find out how here.
PHP's configuration settings are stored in the file php.ini
If you need to edit php.ini, opena terminal and load php.ini into a text editor with:
gksu gedit /etc/php5/apache2/php.iniTwo settings that usaully need changing from "Off" to "On" for script development and testing purposes are:
display_errors Off
display_startup_errors OffJust change them todisplay_errors On
display_startup_errors OnApache must be restarted before any changes to php.ini become effective. Restart it with:
sudo /etc/init.d/apache2 restartInstall the LAMP Admin Package, Webmin, by downloading it from here
Webmin will give you control of your local server and a lot of control over your operating system's behind-the-scenes processes.
You can login to Webmin with your root username (usually "root") and password by pointing your browser to:
http://localhost:10000If Webmin fails to accept your password, use this command to reset it:
sudo /usr/libexec/webmin/changepass.pl /etc/webmin root passwordChange "password" to your desired password.
More information about LAMP is available here.
Signatures Were Invalid and Other Errors
If you receive "signatures were invalid errors" while updating the package list, try this:
sudo apt-get clean
sudo rm /var/lib/apt/lists/*
sudo rm /var/lib/apt/lists/partial/*
sudo apt-get clean
sudo apt-get update
There is a guide to resolving software installation errors here.
A software installation guide is here.
Additional Software Sources
- AptGet is a database of unofficial repositories of Debian software. Be careful whenever you add new repositories to your system.
- GNA is a source for open source software.
- SourceForge is a huge collection of Linux and non-Linux software.
- Happy Penguin is a fantastic resource for locating Linux games.
- Penguspy.com is great for games.
- KDE-Apps.Org provides lots of KDE application software.
- KDE-Files.Org has loads of plug-ins for applications.
- Linux App Finder is another huge collection of Linux software.
- Open Source Living provides links and reviews of some useful Linux and non-Linux software.
- Opera.
- Google Chrome.
- Flash 64-bit.
- RealPlayer.
Key Server List
These are useful for finding PGP Keys to authenticate software repositories when the software's maintainer hasn't explicitly stated a PGP Key:
Additional Repository Guides
- The Ubuntu Repository Installation Guide
- The Ubuntu Guide (I highly recommend this)







