Ubuntu:Edgy/AddOnApplications

From

Contents

Add-On Applications

Java & Non-Media Browser Plug-ins

How to install J2SE Runtime Environment (JRE) v6.0 with Plug-in for Mozilla Firefox

sudo aptitude install sun-java6-jre sun-java6-plugin sun-java6-bin
  • When asked, agree with DLJ license terms.

How to install JRE v6.0

sudo apt-get install fakeroot
Choose "Java Runtime Environment (JRE) 6" and click on "Download"
Accept License Agreement 
Download the "Linux self-extracting file"
  • Install the required tool :
sudo aptitude install java-common
  • Create the Ubuntu package :
fakeroot make-jpkg jre-6-linux-i586.bin
  • Install the resulting package :
sudo dpkg -i sun-j*.deb


  • Restart Mozilla Firefox
  • If these steps don't work, 'Add/Remove Programs' option from the Applications menu can be used for installing JRE 5.0 instead.

How to Upgrade to Java Development Kit (JDK) v6.0

  • Set downloaded *.bin file permissions to executable (chmod +x)
  • Run the bin file in a terminal
  • Notice the package type
    • jre1.6.0 - the java runtime environment
    • jdk1.6.0 - the java developers kit

Sun changes the name of the directory from time to time or content and you should notice which one you actually have.

  • Update the startup profiles

Define the environment variable in a suitable location, probably the end of one (or more of the following files)

    • /etc/profile or $HOME/.profile
    • /etc/bashrc or $HOME/.bashrc
export JAVA_HOME=/usr/lib/jvm/jre1.6.0/

...or...

export JAVA_HOME=/usr/lib/jvm/jdk1.6.0/
  • Move the extracted directory to /usr/lib/jvm
mv ./jre1.6.0 /usr/lib/jvm/

...or...

mv ./jdk1.6.0 /usr/lib/jvm/
  • Edit /etc/jvm and add /usr/lib/jvm/jre1.6.0 to the top of JVMs offered:
Ubuntu users:
sudo gedit /etc/jvm
Kubuntu users:
sudo kate /etc/jvm
  • Use the update-alternatives program (as sudo -s)
update-alternatives --config java

This will display the currently defined alternatives for java In all likelihood you will not see your new version. For further information on the java configuration...

update-alternatives --display java
  • Add the new alternative at a high priority (1.6.0 => 10600)
update-alternatives --install /usr/bin/java java ${JAVA_HOME}/jre/bin/java \
  10600 \
  --slave /usr/share/man/man1/java.1.gz java.1.gz  ${JAVA_HOME}/man/man1/java.1 \
  --slave /usr/bin/java_vm java_vm  ${JAVA_HOME}/jre/bin/java_vm

...or for the jdk additional slave elements may be provided...

update-alternatives --install /usr/bin/java java ${JAVA_HOME}/jre/bin/java \
  10600 \
  --slave /usr/share/man/man1/java.1.gz java.1.gz  ${JAVA_HOME}/man/man1/java.1 \
  --slave /usr/bin/java_vm java_vm  ${JAVA_HOME}/jre/bin/java_vm \
  --slave /usr/bin/javac javac  ${JAVA_HOME}/bin/javac
  • Select the new version.
update-alternatives --config java
  • Update other program groups as desired.
    • jar - ?
    • javadoc - ?
    • etc.
  • Note that this will not update your browser's plugins.

How to install Java Development Kit (JDK) v5.0

Note: Program included in Automatix2. If you have already used Automatix2, this program may have been installed

sudo aptitude install sun-java5-jdk
  • Accept the licence agreement that appears.
  • Set Sun's JVM as default Java version:
sudo update-java-alternatives -s java-1.5.0-sun
  • Edit /etc/jvm and move /usr/lib/jvm/java-1.5.0-sun to the top of JVMs offered:
Ubuntu users
sudo gedit /etc/jvm
Kubuntu users
sudo kate /etc/jvm
  • To fix the Ubuntu "libfontmanager" issue that can kill the entire JVM (e.g. JasperReports), remove these troublesome fonts:
mkdir ~/fonts_backup
sudo mv /usr/share/fonts/truetype/ttf-gujarati-fonts/aakar-medium.ttf ~/fonts_backup/
sudo mv /usr/share/fonts/truetype/ttf-gujarati-fonts/Rekha.ttf ~/fonts_backup/

Installing Blackdown Java (for AMD64 systems with 64-bit Firefox)

Note: If you wish to use 64-bit Firefox and not install 32-bit Firefox on an AMD64 system, you will want to use Blackdown Java. Currently, Sun Java does not provide a 64-bit browser plugin. This option is only recommended for those running 64-bit only systems because there is no Java 1.5 alternative.

sudo aptitude install j2re1.4 j2re1.4-mozilla-plugin

How to install Flash Player (Macromedia Flash) Plug-in for Mozilla Firefox

Note: By default Ubuntu contains Flash version 7. If you have added all the repositories (backports) from this guide you will get version 9 beta 2. Note: Adobe has released Flash 9 for Linux which works with Firefox, Mozilla, and Seamonkey. At the time of this writing, you need to download the release directly from Adobe

Note: Program included in Automatix2. If you have already used Automatix2, this program may have been installed

sudo aptitude install flashplugin-nonfree

Note: AMD64 users are not currently able to use the Adobe Flash plugin described above and may attempt the following procedures if you want to play flash video in Firefox. Another workaround is to install Opera browser and add Flash Player 9 plugin in Opera.

Note: if you get an error message that the package is not found, try the Gnash (GNU Flash substitute)

sudo aptitude install mozilla-plugin-gnash

If for some reason the Gnash plugin does not work for you, you can try the older GPL flash plugin. This plugin is no longer being developed, but works for some content.

sudo aptitude install libflash-mozplugin
  • Restart Mozilla Firefox


Note: if firefox crashes when visiting a website with flash content, do the following:

  • Open the firefox file
Ubuntu users:
sudo gedit /usr/bin/firefox
Kubuntu users:
sudo kate /usr/bin/firefox
  • Add the following line as last but one line of the file:
export XLIB_SKIP_ARGB_VISUALS=1

Now firefox shouldn't crash anymore. (Launchpad bug report: [1])

  • Restart Mozilla Firefox


Note: if sound doesn't work in Flash Player (for example on YouTube), do the following:

  • Install alsa-oss
sudo aptitude install alsa-oss
  • Open the firefoxrc file
Ubuntu users
sudo gedit /etc/firefox/firefoxrc
Kubuntu users
sudo kate /etc/firefox/firefoxrc
  • Change:
FIREFOX_DSP=""

To:

FIREFOX_DSP="aoss"
  • Restart Mozilla Firefox. Now sound should work in Flash Player.

How to install PDF Reader (Adobe Reader) with Plug-in for Mozilla Firefox

sudo aptitude install acroread mozilla-acroread acroread-plugins
  • Applications -> Office -> Adobe Reader
  • Restart Mozilla Firefox

Note: Adobe Reader 7.0 will not run if SCIM is running. You are running SCIM if you have installed another language to Ubuntu via System -> Administration -> Language Support. To circumvent, do the following

gksudo gedit /usr/bin/acroread

Change:

#!/bin/sh
#

to:

#!/bin/sh
#
GTK_IM_MODULE=xim

Save the file. Now Adobe Reader 7.0 should work.

See also:

How to install Google Toolbar for Firefox

In Firefox, click the following link: http://www.google.com/tools/firefox/toolbar and then click on the big Download Google Toolbar button.

Internet

How to install Firefox32 in AMD64

Taken from Ubuntu Forums This guide is only for installing a 32-bit edition of firefox in a 64-bit enviroment. Firefox is installed by default in Ubuntu Edgy

sudo aptitude update
sudo aptitude install ia32-libs gsfonts alsa-oss linux32 gsfonts-x11
sudo aptitude install ia32-libs-gtk lib32asound2 lib32ncurses5 ia32-libs-sdl
wget http://home.comcast.net/~ubuntu64user/ia32-lib-firefox-amd64.deb
wget http://home.comcast.net/~next/firefox32-2.0-ubuntu-amd64.deb
sudo dpkg -i ia32-lib-firefox-amd64.deb
sudo dpkg -i firefox32-2.0-ubuntu-amd64.deb
sudo chmod +x /usr/local/bin/firefox32
  • Close any firefox windows you have open.
sudo killall firefox
  • Applications > Internet > Firefox32

Note: If you wish to use firefox32 for everything, you can link firefox32 to the firefox command with this:

sudo mv /usr/bin/firefox /usr/bin/firefox64
sudo ln -s /usr/local/bin/firefox32 /usr/bin/firefox
How to install Flash 9 for Firefox32
wget http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_9_linux.tar.gz
sudo tar -xzvf install_flash_player_9_linux.tar.gz
cd /usr/lib32/firefox32/plugins
sudo mv ~/install_flash_player_9_linux/libflashplayer.so /usr/lib32/firefox32/plugins/
sudo mv ~/install_flash_player_9_linux/flashplayer.xpt /usr/lib32/firefox32/plugins/
How to install Java v5.0.11 for Firefox32

Note: Download the "Linux (self-extracting file)", not the 64-bit package.

cd ~/Desktop
chmod +x ./jre-1_5_0_11-linux-i586.bin
sudo ./jre-1_5_0_11-linux-i586.bin
  • Accept the EULA
sudo mkdir /usr/local/java32
sudo cp -r -p ./jre1.5.0_11/* /usr/local/java32 
cd /usr/lib32/firefox32/plugins/
sudo ln -s /usr/local/java32/plugin/i386/ns7/libjavaplugin_oji.so ./
sudo chown -R `whoami`:users ~/.java

How to install Mplayer32 with Plugin for Firefox32
mkdir -p ~/tmp/mplayer
cd ~/tmp/mplayer
sudo aptitude install ia32-libs gsfonts alsa-oss mplayer
sudo aptitude install ia32-libs-gtk lib32asound2 lib32ncurses5 ia32-libs-sdl
sudo wget -c http://ubuntu.mirrors.tds.net/ubuntu/pool/multiverse/m/mplayerplug-in/mozilla-mplayer_3.17-1ubuntu1_i386.deb
sudo dpkg -x mozilla-mplayer_3.17-1ubuntu1_i386.deb ~/tmp/mplayer
sudo cp ~/tmp/mplayer/etc/* /etc
sudo cp ~/tmp/mplayer/usr/lib/mozilla/plugins/* /usr/lib32/firefox32/plugins
sudo chmod a+x /usr/lib32/firefox32/plugins/*.so
mkdir ~/tmp/mplayer32
cd ~/tmp/mplayer32
wget -c http://folk.ntnu.no/grannas/debs/mplayer32_20070130-1_amd64.deb
sudo dpkg -i mplayer32_20070130-1_amd64.deb
sudo mv /usr/bin/mplayer /usr/bin/mplayer64
wget -c http://www.people.virginia.edu/~drf8f/MPlayer/releases/codecs/essential-20060501.tar.bz2
tar -jxvf essential-20060501.tar.bz2
sudo mkdir /usr/lib/win32
sudo cp essential-20060501/* /usr/lib/win32/

Note: Technically you can run FireFox32 with mplayer32 OR mplayer64. You may decide which solution is the best for you.

  • To use mplayer32 with firefox32
cd /usr/bin
sudo rm mplayer
sudo ln -s mplayer32 mplayer

  • To use mplayer64 with firefox32
cd /usr/bin
sudo rm mplayer
sudo ln -s mplayer64 mplayer

Note: When watching a embedded video for the first time, it may be neccesary to enable the video and audio out. Right-click anywhere in the embedded video and choose Configure.

How to install Opera web browser

sudo aptitude install libqt3-mt
wget http://ftp.wayne.edu/opera/linux/910/final/en/i386/shared/opera_9.10-20061214.6-shared-qt_en_i386.deb
sudo dpkg -i opera_9.10-20061214.6-shared-qt_en_i386.deb
  • Applications -> Internet -> Opera
  • To get java working go to Tools->Preferences->Advanced->Content-> Check "Enable Java". Click the "Enable Java..." button enter "/usr/lib/jvm/java-1.5.0-sun/jre/lib/i386" (for sun java) in the new dialog and then click the "Validate Java Path" button.
sudo dpkg -i --force-all opera-static_9.10-20061214.1-qt_en_i386.deb

If you want to uninstall it for some reason, run

sudo aptitude remove opera
Install OpenMotif in Opera
sudo dpkg -i --force-all openmotif_2.1.30-5_i386.deb
How to install Flash Player in Opera
  • Since Opera is a 32-bit application and it also works in amd64 system. Installing Flash Player and other 32-bit plugins in Opera is a workaround for amd64 users who are not able to run those applications in other web browsers. Here is the way to install Flash Player for Opera.
  • Open Opera, click "Tools --> Advanced --> Plugins" to check the default plugin path. Assume it is "/usr/lib/opera/plugins/"
  • Download the latest flash plugin tarball install_flash_player_9_linux.tar.gz from http://www.adobe.com
tar -zxvf install_flash_player_9_linux.tar.gz
cd install_flash_player_9_linux
sudo cp libflashplayer.so /usr/lib/opera/plugins
sudo cp flashplayer.xpt /usr/lib/opera/plugins
  • If your Opera plugin path is something else, just replace the path in the above commands with your own path.
How to install Java J2SE (JRE) Runtime Environment for Opera
  • In addition to serving the purpose of running JRE for i386 users, the following method can also be used for amd64 users to run JRE from a web page.
tar -zxvf jre-1_5_0_11-linux-i586.bin
# Then you will see folder "jre1.5.0_11"
sudo cp jre1.5.0_11 /usr/lib
cd /usr/lib/opera/plugins
sudo ln -s /usr/lib/jre1.5.0_11/plugin/i386/ns7/libjavaplugin_oji.so .
  • Open Opera. Go to "Tool --> Preferences --> Advanced --> Contents". Select "Enable Java", and click button "Java Options" and select "/usr/lib/jre1.5.0_11/lib/i386" as the Java path. You can click button "Validate Java path" to validate it. Then click OK.
  • Restart Opera. Note that Opera opens a separate X window for Java applications. You can use the mouse to resize the window.


How to install Java J2SE (JRE) Runtime Environment for Opera (easy way)
  • Step1: Add the following repositories:
deb http://us.archive.ubuntu.com/ubuntu dapper main restricted
deb http://us.archive.ubuntu.com/ubuntu dapper universe
  • Step2: Update repositories and find package 'sun-java5-jre' and install it
  • Step3: Go to opera Tools/Preferences/Advanced/Content and check 'Enable java' checkbox. Then click on 'Java options' button and point to installed files. I use this: /usr/lib/jvm/java-1.5.0-sun-1.5.0.06/jre/lib/i386


That's it. Enjoy!

How to install Download Manager (Downloader for X)

sudo aptitude install d4x
  • Applications -> Internet -> Downloader for X
How to uninstall Download Manager (Downloader for X)
sudo aptitude remove d4x

How to install FTP Client (Filezilla 3.0.0 Beta)

sudo aptitude install filezilla

How to install FTP Client (gFTP)

sudo aptitude install gftp
  • Applications -> Internet -> gFTP
How to uninstall gFTP
sudo aptitude remove gftp

How to install IRC Client (XChat)

Note: Program included in Automatix2. I you have already used Automatix2, this program may have been installed

sudo aptitude install xchat xchat-systray 
  • Applications -> Internet -> XChat IRC
How to uninstall XChat
sudo aptitude remove xchat xchat-systray

How to install Email Client (Mozilla Thunderbird)

Note: Program included in Automatix2. I you have already used Automatix2, this program may have been installed

sudo aptitude install mozilla-thunderbird
  • Applications -> Internet -> Thunderbird Mail Client

How to install Newsreader (Pan)

sudo aptitude install pan
  • Applications -> Internet -> Pan Newsreader

How to install RSS/RDF/Atom Newsreader (RSSOwl)

wget -c http://easylinux.info/uploads/rssowl_linux_1_1_3_bin.tar.gz
sudo tar zxvf rssowl_linux_1_1_3_bin.tar.gz -C /opt/
sudo chown -R root:root /opt/rssowl_linux_1_1_3_bin/
gksudo gedit /usr/bin/runRSSOwl.sh
  • Insert the following lines into the new file
export MOZILLA_FIVE_HOME=/usr/lib/mozilla-firefox
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${MOZILLA_FIVE_HOME}:${LD_LIBRARY_PATH}
cd /opt/rssowl_linux_1_1_3_bin/
./run.sh
  • Save the edited file
sudo chmod +x /usr/bin/runRSSOwl.sh
gksudo gedit /usr/share/applications/RSSOwl.desktop
  • Insert the following lines into the new file
[Desktop Entry]
Name=RSSOwl
Comment=RSSOwl
Exec=runRSSOwl.sh
Icon=/opt/rssowl_linux_1_1_3_bin/rssowl.xpm
Terminal=false
Type=Application
Categories=Application;Network;
  • Save the edited file
  • Applications -> Internet -> RSSOwl

How to install Internet Explorer + Flash 9 (IEs4Linux)

This will install a wine'd version of Internet Explorer 6 with Flash 9, as well as IE 5.5/5.01 if you really want them.

  • Note: This installed Flash 9 will NOT be available in browsers other than IE.
  • Note: Adobe has released Flash 9 for Linux(x86) which works with Firefox, Mozilla, and Seamonkey.
  • Install Cabextract. Open a terminal and run
sudo aptitude install cabextract
  • Open a terminal and run this:
wget http://www.tatanka.com.br/ies4linux/downloads/ies4linux-latest.tar.gz
tar zxvf ies4linux-latest.tar.gz
cd ies4linux-*
./ies4linux

Do not run this as root (no sudo), as this can cause the script to malfunction and ruin your X configuration.

How to install Messenger (Skype)

Note: Program included in Automatix2. If you have already used Automatix2, this program may have been installed

  • With Edgy the Skype is not included in the Ubuntu repositories anymore.
sudo aptitude install libqt3-mt
wget http://www.skype.com/go/getskype-linux-deb
sudo dpkg -i skype_debian-*.deb
(Install 32-bit Skype in AMD64)

Note: This method will install 32-bit libraries in /usr/lib32.

  • Download the 32-bit libraries and some needed packages:
sudo aptitude install ia32-libs ia32-libs-gtk lib32asound2 libqt3-mt
sudo aptitude install libstdc++5
  • Download i386 package of skype from www.skype.com.
wget -c http://www.skype.com/go/getskype-linux-deb 
  • Download libqt-mt.so.3 and put it in /usr/lib32

Note: If any of these links become invalid, you can search for the file needed at packages.ubuntu.com.

cd /tmp
wget -c http://bombazyn.mine.nu/Ubuntu/asound32-qtmt32.tar.bz2
cd /usr/lib32
sudo tar xjvf /tmp/asound32-qtmt32.tar.bz2
  • Download libaudio.so.2 and libaudio.so.2.4 and put it in /usr/lib32
mkdir /tmp/libaudio
cd /tmp/libaudio
wget -c http://lug.mtu.edu/ubuntu/pool/main/n/nas/libaudio2_1.8-2_i386.deb
ar -x libaudio2_1.8-2_i386.deb
tar zxf data.tar.gz
sudo cp usr/lib/libaudio.so.2.4 /usr/lib32/
sudo cp usr/lib/libaudio.so.2 /usr/lib32/
  • Download libstdc++.so.5 and put it in /usr/lib32
cd /tmp/
wget -c http://lug.mtu.edu/ubuntu/pool/main/g/gcc-3.3/libstdc++5_3.3.6-13ubuntu2_i386.deb
dpkg -x libstdc++5_3.3.6-13ubuntu2_i386.deb libstdc++5
sudo cp libstdc++5/usr/lib/libstdc++.so.5* /usr/lib32/ 
  • Install Skype.
cd ~/
sudo dpkg --force-architecture -i skype_debian-*.deb
  • To run Applications > Internet > Skype
(Alternative Method - Official Skype Repository)
sudo gedit /etc/apt/sources.list
  • Add the following lines to the end of file
## Official Skype Repository
deb http://download.skype.com/linux/repos/debian/ stable non-free
sudo aptitude update
sudo aptitude install skype
  • To run Applications > Internet > Skype

Peer to Peer (P2P)

How to install File share utility (LinuxDC++)

wget -c http://easylinux.info/uploads/linuxdcpp.tar.gz
sudo tar zxvf linuxdcpp.tar.gz -C /opt
gksudo gedit /usr/share/applications/linuxdcpp.desktop
  • Insert the following lines into the new file
[Desktop Entry]
Encoding=UTF-8
Name=LinuxDC++
Exec=linuxdcpp
Terminal=false
Type=Application
StartupNotify=true
Icon=/opt/linuxdcpp/pixmaps/linuxdcpp.png
Categories=Application;Network;
  • Save the edited file
  • Applications -> Internet -> LinuxDC++
  • If you want to build the latest version from CVS use this guide

How to install P2P BitTorrent Client (Azureus)

Note: Program included in Automatix2. I you have already used Automatix2, this program may have been installed

Note to Kubuntu users: Kubuntu comes with a BitTorrent client (KMenu->Internet->KTorrent) already installed.

sudo aptitude install azureus
  • Applications -> Internet -> Azureus
(Alternative Method)

The above method installs a version of Azureus compiled with gcj, the free alternative to Sun's Java.

wget http://kent.dl.sourceforge.net/sourceforge/azureus/Azureus_2.5.0.4_linux.tar.bz2
sudo tar jxvf Azureus_2.5.0.4_linux.tar.bz2 -C /opt/
sudo gedit /usr/share/applications/azureus.desktop
  • Add the following to the new file
[Desktop Entry] 
Name=Azureus
Comment=Java BitTorrent Client
Exec=/opt/azureus/azureus
Icon=/opt/azureus/Azureus.png
Terminal=false
Type=Application
Categories=Application;Network;
  • Save the edited file
  • Applications -> Internet -> Azureus
How to uninstall Azureus
sudo aptitude remove azureus

How to install P2P BitTorrent Client (Bittornado)

Note: Program included in Automatix2. I you have already used Automatix2, this program may have been installed

Note to Kubuntu users: Kubuntu comes with a BitTorrent client (KMenu->Internet->KTorrent) already installed.


sudo aptitude install bittornado bittornado-gui

After installing Bittorrent or Bittornado open a firewall for your local IP

sudo iptables -I INPUT -p tcp --destination-port 6881:6999 -j ACCEPT

Now if you specify those ports in your client and you will see better down and up speeds.

  • Applications -> Internet -> Bittornado Client
How to uninstall Bittornado
sudo aptitude remove bittornado bittornado-gui

How to install P2P eMule Client (aMule)

Note: Program included in Automatix2 and Easy Ubuntu. I you have already used one of them, this program may have been installed

sudo aptitude install amule
  • Applications -> Internet -> aMule
How to uninstall P2P eMule Client (aMule)
sudo aptitude remove amule

How to install P2P Gnutella Client (FrostWire)

Note: Program included in Automatix2. I you have already used Automatix2, this program may have been installed

wget -c http://fuse.frostwire.com/frostwire/4.13.1/frostwire-4.13.1.5-1.i586.deb
sudo dpkg -i frostwire-4.13.1.5-1.i586.deb
  • Applications -> Internet -> FrostWire

An additional stage for users of Beryl (as of Beryl-0.1.4).

How to use utorrent

This assumes you have downloaded utorrent and installed wine.

   sudo gedit /usr/bin/utorrent

Paste the inside of that file

   #!/bin/sh
   cd ~/YOURPATH/utorrent
   if [ "$1" != "" ]; then
   var="`echo $1 | sed 's/\//\\\/g'`"
   var="Z:${var}"
   wine utorrent.exe "$var"
   else
   wine utorrent.exe
   fi

Replace "YOURPATH" with the location of uTorrent. Save and exit then type the following to make it executable.

   sudo chmod a+x /usr/bin/utorrent


How to install P2P Gnutella Client (LimeWire)

When you are prompted to install Dash, select “NO.”

sudo dpkg-reconfigure dash
wget http://www.limewire.com/LimeWireSoftLinux
sudo alien -d LimeWireLinux.rpm
sudo dpkg -i *.deb

Multimedia Players & Browser Plug-ins

Streaming in FireFox

This makes life much easier when streaming in FireFox. Install the Media Player Connectivity Plug-in for FireFox. This allows you to change the default media player for different types of media as well as launching it outside of FireFox.

How to install Multimedia Codecs

sudo aptitude install gstreamer0.10-ffmpeg gstreamer0.10-gl gstreamer0.10-plugins-base \
gstreamer0.10-plugins-good gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse \
gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse libxine-extracodecs w32codecs 

Important note: that w32codecs are copyright infrigement since they are basically exact copies of DLLs that are shipped by various Windows software to handle media formats.

Note to Kubuntu Users: Technically the only packages needed for Kaffeine to play extra codes are libxine-extracodecs and w32codecs. However the installation of all the above packages doesn't hurt anything, as these packages might be needed by other programs (e.g., Open Office Impress uses a gstreamer plugin to display video in presentations).

Stubby: All known codecs work except for wmv.

TTo: To enable WMV9 playback, you can try:

sudo aptitude install gstreamer0.10-pitfdll && rm -r ~/.gstreamer-0.10/


Tip: WMV9 codecs on amd64 can work only by using vlc (out of the box from the official repositories) or by installing the latest version of mplayer (Version 1.0rc1 at the moment of writing)

How to install DVD playback capability

ironss: gstreamer dvd plugin is available as part of plugins-bad (or ugly?) and does not work reliably. However, Totem works with the xine backend to play back DVDs. This will keep you going until gstreamer gets dvd playback. Note that you do not have to install xine-ui or mplayer as suggested in

sudo aptitude install libdvdread3 
sudo /usr/share/doc/libdvdread3/install-css.sh
sudo aptitude install totem-xine

Stubby: gstreamer dvd plugin not ported to Edgy yet. following instructions will not work properly

sudo aptitude install libdvdcss2

How to install MIDI sound server (Timidity++)

  • Read #General Notes
  • Read #How to add extra repositories
  • Timidity allows for the playback of MIDI by those who do not have MIDI hardware or MIDI processing built into their sound card (most users) via a software synthesizer.
  • First install Timidity
sudo aptitude install timidity
  • Set up Timidity to start on boot
sudo gedit /etc/default/timidity
  • Uncomment the following line (remove the "#" sign)
#TIM_ALSASEQ=true
  • Set the required modules to load as well
sudo gedit /etc/modules
  • Add the following modules to the end of the file
snd-seq-device
snd-seq-midi
snd-seq-oss
snd-seq-midi-event
snd-seq
  • Restart your computer

How to install Multimedia Playing Server (MPD)

Note: MPD is a audio playing server. It acts as a digital jukebox allowing playlist management over the network. The computer with MPD running on needs to be connected to an Amplifier (or similar) as it does not stream audio by default, it simply plays it. However, it can be configured to stream using Icecast and JACK.

Music Player Daemon (MPD)

  • Install MPD
sudo aptitude install mpd
  • Create link to your audio (MP3 etc) collection
sudo ln -s /path/to/your/music /var/lib/mpd/music/collection
  • Restart MPD
sudo /etc/init.d/mpd restart
  • Advanced Configuration
gksudo gedit /etc/mpd.conf
  • Install standard Gnome client

Alternative clients, including web-based versions are detailed on the MPD Wiki.

sudo aptitude install gmpc
  • Configure GMPC

Click Applications > Sound & Video > Gnome Music Player Client

Click on Options icon, set Host, Port and connection options. The default settings will connect to MPD running on "localhost". Set the "Autoconnect" option if required. The default MPD port is 6600, make sure you unblock this port on your firewall.

  • Using GMPC

Click on Playlist icon. Expand the "Browse Filesystem" tree, right-click on your audio collection and click "Update". This will cause the MPD server to reindex your audio files. No files are changed during this process.

When completed, navigate through your audio via the "Browse Filesystem" tree. Right-click on folders and tracks to add them to playlist, or manage existing playlist.

How to install Multimedia Player (xine-ui)

sudo aptitude install xine-ui libxine-extracodecs
  • Applications -> Sound & Video -> xine

How to install Multimedia Player (MPlayer)

sudo aptitude install mplayer libxine-extracodecs
  • Note: Kubuntu users may also want to install the KDE user interface for MPlayer
sudo aptitude install kmplayer
  • An MPlayer plug-in for Firefox can also be installed:
sudo aptitude install mozilla-mplayer
  • Applications -> Sound & Video -> MPlayer
Tip: For AMD64 Users

If you want to easily install the latest version of mplayer (Version 1.0rc1 at the moment of writing) that it is supporting the native playback of videos using the WMV9 codec add the following repository into your sources.list.

deb http://ubuntu.moshen.de/ edgy misc multimedia

As of this time the repository only contains the 64 bit build of mplayer and not the 32 bit build

How to install Multimedia Player (VLC)

sudo aptitude install vlc vlc-plugin-*
  • In order to stream video via vlc, you also need to install the following packages.
sudo aptitude install avahi-daemon
sudo aptitude install avahi-utils
  • A VLC plug-in for Firefox can also be installed
sudo aptitude install mozilla-plugin-vlc
  • Applications -> Sound and Video -> VLC Media Player

How to install Multimedia Player (XMMS)

sudo aptitude install xmms xmms-skins xmms-wma
  • Applications -> Sound & Video -> XMMS

How to install Multimedia Player (Songbird)

First download this shell script from Psychocats.net Open up the terminal and type these commands in one at a time

cd Desktop
chmod +x installsongbird.sh
./installsongbird.sh
  • Applications -> Sound & Video -> Songbird

To remove if you want use this shell script and use the same instructions that you used to install songbird but substitute install with remove.

How to install Multimedia Player (amaroK)

sudo aptitude install amarok
  • Applications -> Sound & Video -> amaroK


Note: If amaroK complains about the "dcopserver" program not running, follow this tip from http://www.ubuntuforums.org/showthread.php?t=107269&highlight=dcopserver

sudo chown -R `whoami`:`whoami` ~/.*
How to uninstall amaroK
sudo aptitude remove amarok

How to install Music Manager and Player (Banshee)

sudo aptitude install banshee
How to uninstall Banshee
sudo aptitude remove banshee

How to install Multimedia Player (RealPlayer 10)

sudo aptitude install realplay
Note: 'realplay' installs RealPlayer 10 from PLF repository, which you should be enabled if you followed this guide. 'realplayer' installs RealPlayer 8 from multiverse.
  • Applications -> Sound & Video -> RealPlayer 10

It will also install all the necessary plugins automagically for it to view embedded real videos in Firefox

  • To avoid issues of flickering or screen going blank when switching windows, goto
    • RealPlayer 10 -> Tools -> Preferences -> Hardware -> Uncheck XVideo
  • To avoid issues with sound
    • Make sure you have ALSA OSS driver.
sudo aptitude install alsa-oss

then edit the startup script (/usr/lib/realplay-10.0.8/realplay) and changed line 73 from

$REALPLAYBIN “$@”

to

aoss $REALPLAYBIN “$@”

Alternative Source

Then add execute permissions to the installer and execute it.

chmod +x RealPlayer10GOLD.bin
sudo ./RealPlayer10GOLD.bin

How to install Stream Directory Browser (streamtuner)

sudo aptitude install streamtuner streamripper
  • Applications -> Sound & Video -> streamtuner
How to uninstall Stream Directory Browser (streamtuner)
sudo aptitude remove streamtuner streamripper

How to install Internet TV (DemocracyTV beta)

  • If your system has a 32bit processor (i386) open a Terminal and type
wget http://ftp.osuosl.org/pub/pculture.org/democracy/linux/ubuntu/democracyplayer-data_0.9.2.1-1ubuntupcf_all.deb
wget http://ftp.osuosl.org/pub/pculture.org/democracy/linux/ubuntu/democracyplayer_0.9.2.1-1ubuntupcf_i386.deb
sudo aptitude upgrade
sudo dpkg -i democracyplayer-data_0.9.2.1-1ubuntupcf_all.deb
sudo aptitude install mozilla-browser mozilla-psm mozilla-dev
sudo dpkg -i democracyplayer_0.9.2.1-1ubuntupcf_i386.deb


  • if your system has a 64bit processor (amd64)
wget http://ftp.osuosl.org/pub/pculture.org/democracy/linux/ubuntu/democracyplayer-data_0.9.2.1-1ubuntupcf_all.deb
wget http://ftp.osuosl.org/pub/pculture.org/democracy/linux/ubuntu/democracyplayer_0.9.2.1-1ubuntupcf_amd64.deb
sudo aptitude upgrade
sudo dpkg -i democracyplayer-data_0.9.2.1-1ubuntupcf_all.deb
sudo aptitude install mozilla-browser mozilla-psm mozilla-dev
sudo dpkg -i democracyplayer_0.9.2.1-1ubuntupcf_amd64.deb

  • in both cases you might also need to install dependencies of the player package if dpkg returns a dependency error.
sudo aptitude -f install
  • to get support for more formats you have to install libxine-extracodecs (check Restricted Formats for more info)
sudo aptitude install libxine-extracodecs

or use an alternate procedure: double click (or right click and select "Open with gdebi") on the deb files so they are opened with gdebi, first democracyplayer-data_0.9.2.1-1ubuntupcf_all.deb and after that democracyplayer_0.9.2.1-1ubuntupcf_i386.deb (if you have a 32bit processor) or democracyplayer_0.9.2.1-1ubuntupcf_amd64.deb (if you have a 64bit processor)

  • Applications -> Sound & Video -> Democracy TV


===== (Alternative Method - Democracy TV Repository) =====

sudo gedit /etc/apt/sources.list
  • Add the following lines to the end of file
## Democracy TV Repository
deb http://ftp.osuosl.org/pub/pculture.org/democracy/linux/repositories/ubuntu edgy/
sudo aptitude update
sudo aptitude install democracyplayer
sudo aptitude install democracyplayer-data
sudo aptitude install libxine-extracodecs
  • Applications -> Sound & Video -> Democracy TV

How to install multimedia plug-ins for Firefox

  • Read #General Notes
  • Read #How to add extra repositories
  • Users only need to install one of the following plug-ins. Choose the plug-in that matches your preferred media player. If multiple plug-ins are installed, Firefox will use the most recently installed plug-in.
  • Note: While all of the following choices will work, users of Kubuntu are advised to use either the Kaffeine option and Ubuntu users are advised to use the Totem option, as those programs are the default media players for their respective distributions.
Totem plug-in (Ubuntu users)
sudo aptitude install totem-gstreamer-firefox-plugin
  • Restart Mozilla Firefox
Kaffeine plug-in (Kubuntu users)
sudo aptitude install kaffeine-mozilla
  • Restart Mozilla Firefox
MPlayer plug-in (Installs MPlayer media player as well)
sudo aptitude install mozilla-mplayer
  • Restart Mozilla Firefox
  • Applications -> Sound and Video -> MPlayer Movie Player
VLC plug-in (Installs VLC media player as well)
sudo aptitude install vlc vlc-plugin-* mozilla-plugin-vlc
  • In order to stream video via vlc, you also need to install the following packages.
sudo aptitude install avahi-daemon
sudo aptitude install avahi-utils
  • Applications -> Sound and Video -> VLC Media Player

Multimedia Editors & misc tools

How to install Music Organizer (Cowbell)

sudo aptitude install cowbell
  • Applications -> Sound & Video -> Cowbell Music Organizer
How to uninstall Cowbell
sudo aptitude remove cowbell

How to install ID3 Tag Editor (EasyTAG)

sudo aptitude install easytag
  • Applications -> Sound & Video -> EasyTAG
How to uninstall ID3 Tag Editor (EasyTAG)
sudo aptitude remove easytag

How to install Video Editor (Kino)

sudo aptitude install kino
sudo aptitude install kinoplus
sudo aptitude install kino-timfx
sudo aptitude install kino-dvtitler
  • Applications -> Sound & Video -> Kino Video Editor
How to uninstall Video Editor (Kino)
sudo aptitude remove kino kinoplus kino-timfx kino-dvtitler

How to install Audio Editor (Audacity)

sudo aptitude install audacity

to add the mp3 encoder library:

sudo aptitude install liblame-dev
  • Applications -> Sound & Video -> Audacity
How to uninstall Audacity
sudo aptitude remove audacity

How to install Audio Editor (Ardour)

sudo aptitude install ardour-gtk
sudo aptitude install ardour-gtk-dbg
sudo aptitude install ardour-gtk-i686

How to install Music Composition Program (NoteEdit)

sudo aptitude install noteedit lilypond
sudo gedit /usr/share/applications/noteedit.desktop
  • Insert the following lines into the new file
[Desktop Entry]
Name=NoteEdit
Comment=A free music score editor
Exec=noteedit
Icon=/usr/share/app-install/icons/noteedit.xpm
Terminal=false
Type=Application
Categories=Application;AudioVideo;
  • Save the file
  • Applications -> Sound & Video -> NoteEdit

How to install FMOD Ex audio libraries

wget "http://www.fmod.org/files/fmodapi40605linux.tar.gz"
tar xvzf fmodapi40605linux.tar.gz
cd fmodapi40605linux
sudo make install # neads no compiling

Image Editors, Viewers,etc.

How to install Image Viewer (digiKam)

sudo aptitude install digikam digikamimageplugins kipi-plugins
  • Applications -> Graphics -> digikam

How to install Picasa image organizer

gksudo gedit /etc/apt/sources.list
  • Add the following lines at the end of file
# Google Picasa for Linux repository
deb http://dl.google.com/linux/deb/ stable non-free
  • Save the edited file & run the following command:
wget -q -O - http://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add - 
sudo aptitude update
sudo aptitude install picasa
  • Applications -> Graphics -> Picasa

How to install Vector Graphics Editor (Inkscape)

sudo aptitude install inkscape


Second installation method:

1. Download the official Inkscape Linux installer.
2. Choose a mirror and save it to your Desktop.
3. Right-click it, enable "Properties --> Permissions --> Owner:Execute" and close the dialogue box. (One-time procedure)
4. Double-click it and follow the instructions.
5. Install the support code system-wide, if you have the root password. (One-time procedure)

NOTE: You can and should install the program as a User, rather than Root. This is easily accomplished with the second method.

Development & Programming

How to install WYSIWYG Web Authoring System (Nvu)

sudo aptitude install nvu
  • Save the edited file
  • Applications -> Programming -> Nvu

How to install Web Authoring System (BlueFish)

sudo aptitude install bluefish

  • Applications -> Programming -> Bluefish Editor

How to install Web Development Environment (quanta plus)

sudo aptitude install quanta
  • Applications -> Programming -> Quanta Plus

How to install Project Management Application (Planner)

sudo aptitude install planner
  • Applications -> Office -> Project Management

How to install jedit

wget -c http://optusnet.dl.sourceforge.net/sourceforge/jedit/jedit_4.3pre8_all.deb
sudo dpkg -i jedit_4.3pre8_all.deb
  • Applications -> Programming -> Programmers text editor jedit

How to install Python Development Tools

Python Dev Tools

sudo aptitude install gcc libc6-dev python-dev pyt