Installation

From Trisquel Enhancement Project
Jump to: navigation, search
Main: Software Installation

This page covers only information about getting the desired software packages properly installed. The instructions here was written in the sense to be helpful, and I am not responsible for any damages caused by following them (use at your own risk).

How to use all of these commands?

There are actually two options:

  1. Either you can copy-paste them line-by-line into a Terminal window (press Ctrl+Alt+T to open one), or
  2. you can create a shell script, that can be used everytime you will need to install/remove the desired application. To make one, just open your favourite text editor (e.g. gedit), copy-paste all the necessary commands into window, then save the file (the filename could be something like libdvdcss-install.sh). Now, anytime you will have to perform the required task, just execute the script with a syntax of "sh PATH_TO_FILE" within Terminal.

0 A.D.[edit]

Install
sudo add-apt-repository ppa:wfg/0ad
sudo apt-get update
sudo apt-get install 0ad
Remove
sudo apt-get autoremove 0ad
sudo rm /etc/apt/sources.list.d/wfg-0ad*
sudo apt-key del E4FA953A
Remove application data (use with caution)
rm -fr ~/.{cache,config,local/share}/0ad

Arx Libertatis[edit]

Note: The innoextract package is needed only during the first installation to extract the game data files. You can completely remove it thereafter with the "sudo apt-get autoremove innoextract" command. The demo version will require the cabextract package instead.

Install
sudo add-apt-repository ppa:arx/release
sudo apt-get update
sudo apt-get --no-install-recommends install arx-libertatis innoextract
Remove
sudo apt-get autoremove arx-libertatis innoextract
sudo rm /etc/apt/sources.list.d/arx-release*
sudo apt-key del 4357B38A
Remove application data (use with caution)
rm -fr ~/.{config,local/share}/arx

Battle for Wesnoth, The[edit]

Install
sudo add-apt-repository ppa:vincent-c/wesnoth
sudo apt-get update
sudo apt-get install wesnoth-1.10{,-music}
Remove
sudo apt-get autoremove wesnoth*
sudo rm /etc/apt/sources.list.d/vincent-c-wesnoth*
sudo apt-key del 5CB95493
Remove dependencies (experimental)
sudo apt-get remove oss-compat
Remove application data (use with caution)
rm -fr ~/.{cache,config,local/share}/wesnoth

Berušky[edit]

Search and install/remove "Berusky" using Add/Remove Applications

Remove application data (use with caution)
rm -fr ~/.berusky

Berušky 2 (Bugs Escape 3D)[edit]

Install
sudo apt-get update
sudo apt-get install libalut0 libsdl-image1.2
wget http://archive.trisquel.info/trisquel/pool/main/b/berusky2/berusky2_0.10-1_`dpkg --print-architecture`.deb
wget http://archive.trisquel.info/trisquel/pool/main/b/berusky2-data/berusky2-data_0.9-1_all.deb
sudo dpkg -i berusky2*.deb
rm -f berusky2*.deb
Remove
sudo apt-mark auto libalut0 libsdl-image1.2
sudo apt-get autoremove berusky2-data
Remove application data (use with caution)
rm -fr ~/.berusky2

Cairo-Dock[edit]

Note: This repository is proved to be very unstable, causing frequent crashes, therefore it is not recommended

Install
sudo add-apt-repository ppa:cairo-dock-team
sudo apt-get update
sudo apt-get --no-install-recommends install cairo-dock-plug-ins{,-integration}
Remove
sudo apt-get remove cairo-dock-* libgldi3
sudo rm /etc/apt/sources.list.d/cairo-dock-team*
sudo apt-key del E80D6BF5
Remove dependencies (experimental)
sudo apt-get remove libcurl3 libetpan15
Remove application data (use with caution)
rm -fr ~/.config/cairo-dock
Alternative repository
sudo add-apt-repository "deb http://download.tuxfamily.org/glxdock/repository/ubuntu precise cairo-dock"
sudo apt-key adv --keyserver pgp.mit.edu --recv-keys 41317877

CDEmu[edit]

Note: You will need to rebuild the VHBA module with "sudo dpkg-reconfigure vhba-dkms" each time you upgrade the kernel, otherwise the application will stop working

Pre-requisite: #Linux-libre (Belenos)

Install
sudo add-apt-repository ppa:cdemu
sudo sed -i s/precise/quantal/ /etc/apt/sources.list.d/cdemu*
sudo apt-get update
sudo apt-get --no-install-recommends install gcdemu
Remove
sudo rm /var/lib/dpkg/info/vhba-dkms.prerm
sudo apt-get autoremove gcdemu
sudo rm /etc/apt/sources.list.d/cdemu*
sudo apt-key del D782A00F
Remove dependencies (experimental)
sudo apt-get remove binutils libc-dev-bin libdpkg-perl libquadmath0 linux-libc-dev make
Remove application data (use with caution)
rm -fr ~/.cdemu-daemon.log

Chromium Browser[edit]

Install
sudo apt-get update
sudo apt-get install libnss3
VER=`wget -O- http://packages.ubuntu.com/precise-updates/chromium-browser|grep Package:|cut -d'(' -f2|cut -d')' -f1`
wget http://archive.ubuntu.com/ubuntu/pool/universe/c/chromium-browser/chromium-{browser,codecs-ffmpeg-extra}_"$VER"_`dpkg --print-architecture`.deb
sudo dpkg -i chromium*.deb
rm -f chromium*.deb
Language packages (optional)
wget http://archive.ubuntu.com/ubuntu/pool/universe/c/chromium-browser/chromium-browser-l10n_"$VER"_all.deb
sudo dpkg -i chromium*.deb
rm -f chromium*.deb
Remove
sudo apt-get remove chromium-browser
Remove application data (use with caution)
rm -fr ~/.{cache,config}/chromium

DeaDBeeF[edit]

Install
sudo add-apt-repository ppa:starws-box/deadbeef-player
sudo apt-get update
sudo apt-get --no-install-recommends install deadbeef
Remove
sudo apt-get autoremove deadbeef
sudo rm /etc/apt/sources.list.d/starws-box-deadbeef-player*
sudo apt-key del 2DD154A1
Remove application data (use with caution)
rm -fr ~/.{cache,config}/deadbeef

Dolphin[edit]

Install
sudo add-apt-repository ppa:jon-severinsson/ffmpeg
sudo add-apt-repository ppa:glennric/dolphin-emu
sudo apt-get update
sudo apt-get install libwxgtk2.9-0
sudo sed -i s/precise/quantal/ /etc/apt/sources.list.d/glennric-dolphin-emu*
sudo apt-get update
wget http://archive.ubuntu.com/ubuntu/pool/main/g/glew/libglew1.8_1.9.0.is.1.8.0-0ubuntu2_`dpkg --print-architecture`.deb
sudo dpkg -i libglew1.8*.deb
rm -f libglew1.8*.deb
sudo apt-get install dolphin-emu
Remove
sudo apt-get autoremove libglew1.8 libwxgtk2.9-0
sudo dpkg -r --force-all gstreamer0.10-ffmpeg libavcodec53 libavformat53 libavutil51 libpostproc52 libswscale2
sudo rm /etc/apt/sources.list.d/{glennric-dolphin-emu,jon-severinsson-ffmpeg}*
sudo apt-key del 8505D44B
sudo apt-key del CFCA9579
sudo apt-get update
sudo apt-get -f install
sudo apt-get autoremove
Remove application data (use with caution)
rm -fr ~/.dolphin-emu

DOSBox[edit]

Search and install/remove "DOSBox Emulator" using Add/Remove Applications

Remove dependencies (experimental)
sudo apt-get autoremove oss-compat
Remove application data (use with caution)
rm -fr ~/.dosbox

Faenza[edit]

Install
sudo add-apt-repository ppa:tiheum/equinox
sudo apt-get update
sudo apt-get install faenza-icon-theme
Remove
sudo apt-get remove faenza*
sudo rm /etc/apt/sources.list.d/tiheum-equinox*
sudo apt-key del 4631BBEA

FFmpeg[edit]

Note: This repository works well, but occassional package breakage do happen

Install
sudo add-apt-repository ppa:jon-severinsson/ffmpeg
sudo apt-get update
sudo apt-get install ffmpeg
Remove
sudo dpkg -r --force-all gstreamer0.10-ffmpeg libavcodec53 libavformat53 libavutil51 libpostproc52 libswscale2
sudo rm /etc/apt/sources.list.d/jon-severinsson-ffmpeg*
sudo apt-key del CFCA9579
sudo apt-get update
sudo apt-get -f install
sudo apt-get autoremove
Alternative downloads

Fish Fillets NG[edit]

Install

Search and install "Fish Fillets" using Add/Remove Applications

Original spoken dialogs (recommended if you understand Czech language)
sudo apt-get install fillets-ng-data-cs
Remove
sudo apt-get autoremove fillets-ng*
Remove dependencies (experimental)
sudo apt-get remove oss-compat
Remove application data (use with caution)
rm -fr ~/.fillets-ng

Geary[edit]

Install
sudo add-apt-repository ppa:tombeckmann/geary
sudo apt-get update
sudo apt-get install geary
Remove
sudo apt-get autoremove geary
sudo rm /etc/apt/sources.list.d/tombeckmann-geary*
sudo apt-key del 0F674ACB
Remove application data (use with caution)
rm -fr ~/.local/share/geary

GemRB[edit]

Pre-requisite: #PlayDeb

Install
sudo apt-get install gemrb
Remove
sudo apt-get autoremove gemrb
Remove dependencies (experimental)
sudo apt-get remove oss-compat
Remove application data (use with caution)
rm -fr ~/{Cache,GemRB.log}
Fix startup after upgrading to 0.8.0
ln -s .gemrb/gemrb.cfg ~

GIMP[edit]

Upgrade
sudo add-apt-repository ppa:otto-kesselgulasch/gimp
sudo apt-get update
sudo apt-get install gimp
Disable PPA (recommended)
sudo sed -i 's/^/# /' /etc/apt/sources.list.d/otto-kesselgulasch-gimp*
Downgrade
sudo dpkg -r --force-all gimp{,-data} libgimp2.0
sudo rm /etc/apt/sources.list.d/otto-kesselgulasch-gimp*
sudo apt-key del 614C4B38
sudo apt-get update
sudo apt-get -f install
sudo apt-get autoremove
Remove application data (use with caution)
rm -fr ~/.gimp-2.8

I-Nex[edit]

Install
sudo add-apt-repository ppa:i-nex-development-team/stable
sudo apt-get update
sudo apt-get --no-install-recommends install i-nex
Remove
sudo apt-get autoremove i-nex
sudo rm /etc/apt/sources.list.d/i-nex-development-team-stable*
sudo apt-key del F34CDDAD
Remove application data (use with caution)
rm -fr ~/.i-nex

JDownloader[edit]

Pre-requisite: #OpenJDK

Install
sudo add-apt-repository ppa:jd-team/jdownloader
sudo apt-get update
sudo apt-get install jdownloader-installer
Remove
sudo apt-get remove jdownloader-installer
sudo rm /etc/apt/sources.list.d/jd-team-jdownloader*
sudo apt-key del 6A68F637
Remove application data (use with caution)
rm -fr ~/.jdownloader

Jitsi[edit]

Pre-requisite: #OpenJDK

Install
VER=`wget -O- http://download.jitsi.org/jitsi/debian|grep DEB|head -1|cut -d_ -f2`
wget https://download.jitsi.org/jitsi/debian/jitsi_"$VER"_`dpkg --print-architecture`.deb
sudo dpkg -i jitsi*.deb
rm -f jitsi*.deb
Remove
sudo apt-get remove jitsi
sudo apt-key del EB0AB654
Remove application data (use with caution)
rm -fr ~/.jitsi

Krusader[edit]

Install
sudo apt-get update
sudo apt-get --no-install-recommends install cfv kdiff3 krename krusader
Remove
sudo apt-get autoremove cfv kdiff3 krename krusader
Remove dependencies (experimental)
sudo apt-get remove docbook-xsl libxml2-utils
Remove application data (use with caution)
rm -fr ~/.kde/share/{apps/krusader,config/krusaderrc}

libdvdcss[edit]

Note: The Medibuntu repository is now retired, and no longer maintained (see announcement)

Install
sudo add-apt-repository "deb http://download.videolan.org/pub/debian/stable /"
sudo apt-key adv --keyserver pgp.mit.edu --recv-keys B84288D9
sudo apt-get update
sudo apt-get install libdvdcss2
Remove
sudo apt-get remove libdvdcss2
sudo sed -i /videolan/d /etc/apt/sources.list
sudo apt-key del B84288D9
Remove application data (use with caution)
rm -fr ~/.dvdcss

LibreOffice[edit]

Upgrade
sudo add-apt-repository ppa:libreoffice/libreoffice-4-1
sudo apt-get update
sudo apt-get dist-upgrade
Downgrade

Pre-requisite: #ppa-purge

sudo ppa-purge ppa:libreoffice/libreoffice-4-1
sudo apt-get remove libreoffice-emailmerge python-uno
sudo rm /etc/apt/sources.list.d/libreoffice-libreoffice-4-1*
sudo apt-key del 1378B444
Remove application data (use with caution)
rm -fr ~/.config/libreoffice

Linux-libre (Belenos)[edit]

Upgrade

Search and install "linux-image-generic-lts-belenos", then remove "linux-image-3.2" using Synaptic Package Manager. If needed, install the headers with "linux-headers-generic-lts-belenos".

Downgrade

Search and install "linux-image-generic" ("linux-image-generic-pae" on 32-bit), then remove "linux-image-3.5" using Synaptic Package Manager. If installed, remove the headers with "linux-headers-3.5".

MediaInfo[edit]

Install
sudo add-apt-repository ppa:djcj/mediainfo
sudo apt-get update
sudo apt-get install mediainfo-gui
Remove
sudo apt-get autoremove mediainfo*
sudo rm /etc/apt/sources.list.d/djcj-mediainfo*
sudo apt-key del D4B4972B

Minetest[edit]

Install
sudo add-apt-repository ppa:minetestdevs/stable
sudo apt-get update
sudo apt-get install minetestc55
Remove
sudo apt-get autoremove minetestc55
sudo rm /etc/apt/sources.list.d/minetestdevs-stable*
sudo apt-key del F8CDAB41
Remove application data (use with caution)
rm -fr ~/.minetest

MKVToolNix[edit]

Install
sudo add-apt-repository "deb http://bunkus.org/ubuntu/precise /"
sudo apt-key adv --keyserver pgp.mit.edu --recv-keys B6571FCA
sudo apt-get update
sudo apt-get install mkvtoolnix-gui
Remove
sudo apt-get autoremove mkvtoolnix
sudo sed -i /bunkus/d /etc/apt/sources.list
sudo apt-key del B6571FCA
Remove application data (use with caution)
rm -fr ~/.config/mkvtoolnix

Multi-arch[edit]

Note: This is needed only if you want to run 32-bit applications on a 64-bit system

Install
echo foreign-architecture i386|sudo tee /etc/dpkg/dpkg.cfg.d/multiarch
sudo apt-get update
sudo rm /usr/share/doc/{libgtk2.0-0,libgail18,libsdl1.2debian,gtk2-engines-pixbuf,libgail-common}/changelog.Debian*
sudo apt-get --no-install-recommends install ia32-libs-multiarch
Remove
sudo apt-get autoremove .*:i386
sudo rm /etc/dpkg/dpkg.cfg.d/multiarch
Remove dependencies (experimental)
sudo apt-get remove oss-compat

OpenJDK[edit]

Install
sudo apt-get update
sudo apt-get --no-install-recommends install openjdk-7-jre
Remove
sudo apt-get remove java-common libatk-wrapper-java tzdata-java
Remove application data (use with caution)
rm -fr ~/.java

Open Sound System[edit]

Pre-requisite: #Linux-libre (Belenos)

Install

Note: The 'Starting Open Sound System' process will fail at first, but this is completely normal, since the original dkms configuration file uses a wrong path to kernel headers

sudo apt-get update
sudo apt-get --no-install-recommends install dpkg-dev libc6-dev oss4-{dkms,gtk}
sudo sed -i 's|/source|/build|' /usr/src/oss4-4.2-build2005/dkms.conf
sudo dkms autoinstall
sudo dpkg-reconfigure linux-sound-base	# select OSS
sudo cp /etc/pulse/default.pa{,-backup}
sudo sed -i -e 46s/#// -e '46s/$/ mmap=0/' -e 52,54s/^/#/ -e 56,57s/^/#/ /etc/pulse/default.pa
sudo adduser `whoami` audio

Now reboot

After restarting the system (important)
sudo ossmix vmix0-src OFF	# fixes crackling noise
sudo ossmix vmix0-enable OFF	# improves volume

Then reboot the last time

Remove
sudo apt-get autoremove oss4-*
sudo dpkg-reconfigure linux-sound-base	# select ALSA
sudo mv /etc/pulse/default.pa{-backup,}
sudo deluser `whoami` audio
Remove dependencies (experimental)
sudo apt-get remove binutils libc-dev-bin libdpkg-perl libquadmath0 linux-libc-dev make

PCSX-Reloaded[edit]

Search and install/remove "PCSX" using Add/Remove Applications

Remove application data (use with caution)
rm -fr ~/.pcsx

PCSX2[edit]

Install (64-bit)
echo foreign-architecture i386|sudo tee /etc/dpkg/dpkg.cfg.d/multiarch
sudo apt-get update
sudo rm /usr/share/doc/{libgtk2.0-0,libsdl1.2debian}/changelog.Debian*
sudo apt-get --no-install-recommends install gtk2-engines-murrine:i386
Install (common)
sudo add-apt-repository ppa:gregory-hainaut/pcsx2.official.ppa
sudo apt-get update
sudo apt-get --no-install-recommends install pcsx2
Disable PPA (important)
sudo sed -i 's/^/# /' /etc/apt/sources.list.d/gregory-hainaut-pcsx2.official.ppa*
Remove (64-bit)
sudo apt-mark auto gtk2-engines-murrine:i386
Remove (common)
sudo apt-get autoremove pcsx2
Remove dependencies (64-bit, experimental)
sudo apt-get remove gcc-4.6-base:i386
Remove (64-bit)
sudo rm /etc/dpkg/dpkg.cfg.d/multiarch
Remove (common)
sudo rm /etc/apt/sources.list.d/gregory-hainaut-pcsx2.official.ppa*
sudo apt-key del 7A617FF4
Remove application data (use with caution)
rm -fr ~/.config/pcsx2

PeerGuardian Linux[edit]

Note: During the installation process, you will be asked if you want to "turn on automatic start". Unless the answer is "yes", the installation will fail. This dialog can be invoked later with the "sudo dpkg-reconfigure --force pglcmd" command.

Install
sudo add-apt-repository ppa:jre-phoenix
sudo apt-get update
sudo apt-get --no-install-recommends install pglgui
Remove
sudo apt-get autoremove pgld
sudo rm /etc/apt/sources.list.d/jre-phoenix*
sudo apt-key del 9C0042C8
Remove application data (use with caution)
rm -fr ~/.config/pgl

PlayDeb[edit]

Note: This repository is required by #GemRB, and #ScummVM Tools

Add
sudo add-apt-repository "deb http://archive.getdeb.net/ubuntu precise-getdeb games"
sudo apt-key adv --keyserver pgp.mit.edu --recv-keys 46D7E7CF
sudo apt-get update
Disable PPA (recommended)
sudo sed -i '/getdeb/s/^/# /' /etc/apt/sources.list
Remove
sudo sed -i /getdeb/d /etc/apt/sources.list
sudo apt-key del 46D7E7CF
Mirror
sudo add-apt-repository "deb http://mirrors.dotsrc.org/getdeb/ubuntu precise-getdeb games"

PlayOnLinux[edit]

Install
sudo add-apt-repository "deb http://deb.playonlinux.com precise main"
sudo sed -i /deb-src.*playonlinux/d /etc/apt/sources.list
sudo apt-key adv --keyserver pgp.mit.edu --recv-keys C4676186
sudo apt-get update
sudo apt-get install playonlinux curl
Remove
sudo apt-get autoremove playonlinux
sudo sed -i /playonlinux/d /etc/apt/sources.list
sudo apt-key del C4676186
Remove dependencies (experimental)
sudo apt-get remove cabextract libcurl3 p7zip-full
Remove application data (use with caution)
rm -fr ~/{.PlayOnLinux,"PlayOnLinux's virtual drives"}

ppa-purge[edit]

Search and install/remove "ppa-purge" using Synaptic Package Manager

Prey[edit]

Install
sudo apt-get update
sudo apt-get install scrot curl streamer mpg123
wget -rl1 -Adeb http://preyproject.com/releases/current
sudo dpkg -i preyproject.com/releases/current/*.deb
rm -fr preyproject.com
Remove
sudo apt-mark auto scrot streamer
sudo apt-get autoremove prey
Remove dependencies (experimental)
sudo apt-get remove libcurl3 libmpg123-0

Profile-sync-daemon[edit]

Install
sudo add-apt-repository ppa:graysky/utils
sudo apt-get update
sudo apt-get install profile-sync-daemon
Remove
sudo apt-get remove profile-sync-daemon
sudo rm /etc/apt/sources.list.d/graysky-utils*
sudo apt-key del F0E0B4E7

Redshift GUI[edit]

Install (common)
sudo apt-get update
sudo apt-get install libcurl3 libxcb-randr0
wget https://github.com/downloads/maoserr/redshiftgui/RedshiftGUI-0.2.1-Linux-`arch`.deb
sudo dpkg -i RedshiftGUI*.deb
rm -f RedshiftGUI*.deb
Install (64-bit)
sudo ln -s x86_64-linux-gnu/ld-2.15.so /lib/ld-linux-x86-64.so.2
Remove (common)
sudo apt-mark auto libcurl3 libxcb-randr0
sudo apt-get autoremove redshiftgui
Remove (64-bit)
sudo rm /lib/ld-linux-x86-64.so.2
Remove application data (use with caution)
rm -fr ~/.redshiftgrc

Return to Castle Wolfenstein (single player)[edit]

Install
sudo add-apt-repository ppa:tobydox/rtcw
sudo sed -i s/precise/lucid/ /etc/apt/sources.list.d/tobydox-rtcw*
sudo apt-get update
sudo apt-get install rtcw-sp
Disable PPA (recommended)
sudo sed -i 's/^/# /' /etc/apt/sources.list.d/tobydox-rtcw*
Remove
sudo apt-get remove rtcw-sp
sudo rm /etc/apt/sources.list.d/tobydox-rtcw*
sudo apt-key del ADDE29B2
Remove application data (use with caution)
rm -fr ~/.wolf

S3TC[edit]

Note: After installation, you need to manually enable S3TC, by following System Settings → 3D Acceleration → Image Quality → Enable S3TC texture compression even is software support is not available → Yes

Install
sudo add-apt-repository "deb http://deb-multimedia.org stable main"
sudo apt-key adv --keyserver pgp.mit.edu --recv-keys 1F41B907
sudo apt-get update
sudo apt-get install driconf libtxc-dxtn0
Disable PPA (recommended)
sudo sed -i '/deb-multimedia/s/^/# /' /etc/apt/sources.list
Remove
sudo apt-get autoremove driconf libtxc-dxtn0
sudo sed -i /deb-multimedia/d /etc/apt/sources.list
sudo apt-key del 1F41B907
Remove dependencies (experimental)
sudo apt-get remove libfs6 x11-apps x11-session-utils xinit
Remove application data (use with caution)
rm -fr ~/.drirc
Alternative way

You can also use S2TC, which is a patent-free implementation of the S3 Texture Compression (S3TC) library, by installing the libtxc-dxtn-s2tc0 package from Trisquel's repository

Screenlets[edit]

Note: The packages available in Trisquel 6.0 are up-to-date, therefore using this repository is not needed (unless you want to install the screenlets separately). The following commands will install all the available screenlets and its dependencies for you, except dropbox-screenlet, twitter-screenlet, and weather-screenlet which cannot be installed in Trisquel.

Install
sudo add-apt-repository ppa:screenlets
sudo apt-get update
sudo apt-get --no-install-recommends install `apt-cache search .-screenlet|cut -d' ' -f1|sed -e /dropbox/d -e /twitter/d -e /^weather/d`
Remove
sudo apt-get autoremove screenlet*
sudo rm /etc/apt/sources.list.d/screenlets*
sudo apt-key del A8670E8C
Remove dependencies (experimental)
sudo apt-get remove esound-common libaudio2 libaudiofile1 libblas3gf libbluray1 libquadmath0 libvdpau1 libxvidcore4
Remove application data (use with caution)
rm -fr ~/.{config/,}screenlets

ScummVM Tools[edit]

Pre-requisite: #PlayDeb

Install
sudo apt-get install scummvm-tools
Remove
sudo apt-get autoremove scummvm-tools
Remove application data (use with caution)
rm -fr ~/.ScummVMTools

SMTube[edit]

Install
sudo add-apt-repository ppa:rvm/smplayer
sudo apt-get update
sudo apt-get --no-install-recommends install smtube
Remove
sudo apt-get autoremove smtube
sudo rm /etc/apt/sources.list.d/rvm-smplayer*
sudo apt-key del E4A4F4F4
Remove application data (use with caution)
rm -fr ~/.config/smtube

Speed Dreams[edit]

Install
sudo add-apt-repository ppa:speed-dreams
sudo apt-get update
sudo apt-get install speed-dreams-{base,{,more-}hq-cars-and-tracks}
Remove
sudo apt-get autoremove speed-dreams*
sudo rm /etc/apt/sources.list.d/speed-dreams*
sudo apt-key del B5EAAD39
Remove application data (use with caution)
rm -fr ~/.speed-dreams-2

Spring[edit]

Install
sudo add-apt-repository ppa:spring
sudo apt-get update
sudo apt-get install springlobby
Remove
sudo apt-get autoremove spring
sudo rm /etc/apt/sources.list.d/spring*
sudo apt-key del 8670A035
Remove application data (use with caution)
rm -fr ~/.{config/spring,springlobby}

TLP[edit]

Install
sudo add-apt-repository ppa:linrunner/tlp
sudo apt-get update
sudo apt-get install --no-install-recommends tlp-rdw
Remove
sudo apt-get remove tlp
sudo rm /etc/apt/sources.list.d/linrunner-tlp*
sudo apt-key del 02D65EFF

Tor[edit]

Note: During installation, the "tor daemon startup" process may crash, bringing you back to the login screen. Other than that, the installation seems to finish successfully.

Install
sudo add-apt-repository "deb http://deb.torproject.org/torproject.org precise main"
sudo apt-key adv --keyserver pgp.mit.edu --recv-keys 886DDD89
sudo apt-get update
sudo apt-get --no-install-recommends install vidalia
Remove
sudo apt-get autoremove tor
sudo sed -i /torproject/d /etc/apt/sources.list
sudo apt-key del 886DDD89
Remove application data (use with caution)
rm -fr ~/.vidalia

Transmission[edit]

Note: This repository is proved not to update its packages consistently, therefore package breakage can happen

Upgrade
sudo add-apt-repository ppa:transmissionbt
sudo apt-get update
sudo apt-get install transmission-gtk
Downgrade
sudo dpkg -r --force-all transmission*
sudo rm /etc/apt/sources.list.d/transmissionbt*
sudo apt-key del 365C5CA1
sudo apt-get update
sudo apt-get -f install
Remove application data (use with caution)
rm -fr ~/.{cache,config}/transmission

uGet[edit]

Install
sudo add-apt-repository ppa:plushuang-tw/uget-stable
sudo apt-get update
sudo apt-get install uget
Remove
sudo apt-get autoremove uget
sudo rm /etc/apt/sources.list.d/plushuang-tw-uget-stable*
sudo apt-key del EBE14A20
Remove application data (use with caution)
rm -fr ~/.config/uGet

VirtualBox (4.1)[edit]

Pre-requisite: #Linux-libre (Belenos)

Install

Note: While the official repository also provides packages for newer versions, a non-free compiler is used to create them, thus they are no longer free software

sudo add-apt-repository "deb http://download.virtualbox.org/virtualbox/debian precise contrib"
sudo sed -i /deb-src.*virtualbox/d /etc/apt/sources.list
sudo apt-key adv --keyserver pgp.mit.edu --recv-keys 98AB5139
sudo apt-get update
sudo apt-get --no-install-recommends install virtualbox-4.1 make gcc
sudo adduser `whoami` vboxusers
Disable PPA (important)
sudo sed -i '/virtualbox/s/^/# /' /etc/apt/sources.list
Remove
sudo apt-mark auto gcc
sudo apt-get autoremove virtualbox*
sudo sed -i /virtualbox/d /etc/apt/sources.list
sudo apt-key del 98AB5139
Remove dependencies (experimental)
sudo apt-get remove binutils make
Remove application data (use with caution)
rm -fr ~/.VirtualBox

VLC media player[edit]

Note: Updating through any of the listed repositories causes audio glitching under OSS4 (not sure about ALSA), and therefore their use is not recommended.

Install
sudo add-apt-repository ppa:djcj/vlc-stable
sudo apt-get update
sudo apt-get --no-install-recommends install vlc
Remove
sudo apt-get remove vlc-data
sudo apt-get autoremove
sudo rm /etc/apt/sources.list.d/djcj-vlc-stable*
sudo apt-key del D4B4972B
Remove application data (use with caution)
rm -fr ~/.{cache,config,local/share}/vlc
Alternative repository
sudo add-apt-repository ppa:ladislav.bonita/precise-backports

Wine[edit]

Note: This repository is not frequently updated; using PlayOnLinux with this trick seems to be a better way

Install (64-bit)
echo foreign-architecture i386|sudo tee /etc/dpkg/dpkg.cfg.d/multiarch
Install (common)
sudo add-apt-repository ppa:ubuntu-wine
sudo apt-get update
sudo apt-get --no-install-recommends install wine1.6 winetricks gnome-exe-thumbnailer
Update Winetricks (optional)
sudo wget http://winetricks.org/winetricks -O /usr/bin/winetricks
Remove (common)
sudo apt-get autoremove wine1.6 winetricks gnome-exe-thumbnailer
sudo rm /etc/apt/sources.list.d/ubuntu-wine*
sudo apt-key del F9CB8DB0
Remove dependencies (64-bit, experimental)
sudo apt-get remove binfmt-support cabextract gcc-4.6-base:i386
Remove dependencies (32-bit, experimental)
sudo apt-get remove binfmt-support cabextract
Remove application data (use with caution)
rm -fr ~/.{cache/wine{,tricks},local/share/wineprefixes,wine}

XBMC[edit]

Install
sudo add-apt-repository ppa:team-xbmc
sudo apt-get update
sudo apt-get --no-install-recommends install xbmc
Remove
sudo apt-get autoremove xbmc
sudo rm /etc/apt/sources.list.d/team-xbmc*
sudo apt-key del 91E7EE5E
Remove dependencies (experimental)
sudo apt-get remove fonts-liberation mesa-utils
Remove application data (use with caution)
rm -fr ~/.xbmc

Zandronum[edit]

Install
sudo add-apt-repository "deb http://debian.drdteam.org stable multiverse"
sudo apt-key adv --keyserver pgp.mit.edu --recv-keys AF88540B
sudo apt-get update
sudo apt-get --no-install-recommends install zandronum-client
Remove
sudo apt-get autoremove zandronum*
sudo sed -i /drdteam/d /etc/apt/sources.list
sudo apt-key del AF88540B
Remove application data (use with caution)
rm -fr ~/.zandronum