The Perfect Desktop - Slackware 12 - Page 4

6 Installing Additional Software

During the remainder of this tutorial we will be installing and removing software using installpkg, pkgtool, SlackBuild scripts, binary executables and from source. You can install some, all or none of the software packages with the following exception; ntfs-3g is dependant on FUSE. So, if you want read/write support for NTFS partitions you need to install FUSE first.

As I mentioned at the beginning of the tutorial, if an installation routine follows the same steps from a previous installation I will refer you to those instructions.

We're going to be installing in the following order:

Plugins for Firefox:
- Installation of Flash will be step by step.
- Installation of RealPlayer will be step by step.

From the /extra directory located on your DVD:
- The installation of BitTorrent will be step by step.
- You can refer to the BitTorrent installation to install the Java 2 SDK.

Using pkgtool:
-Remove KOffice to be replaced with

From SlackBuild scripts located at
- The installation of FUSE will be step by step.
- The installation of NTFS-3G will be step by step.
- The installation of will be step by step.
- You can refer to any of the above installation routines to install Guarddog.
- You can refer to any of the above installation routines to install Adobe Acrobat reader.
- You can refer to any of the above installation routines to install Scribus.
- You can refer to any of the above installation routines to install kmymoney2.
- You can refer to any of the above installation routines to install htop.
- You can refer to any of the above installation routines to install Skype.

From .bin files:
- The installation of Google Picasa will be step by step.
- The installation of Google Earth will be step by step.

From installpkg:
- Installation of VLC Media Player will be step by step.

From a Perl script that copies files and compiles modules from the running kernel's sources:
- Installation of VMware Server will be step by step.

From source:
- Filelight will be step by step.


7 Installing Plugins for Firefox

Install Flash

Open Firefox and type about:plugins in the location bar:

The page that opens shows the currently installed plug-ins. Some are shown in the screenshot below:

We can see that the Java Plug-in enabling applets to run in popular browsers is already installed with Slackware 12.

Open your browser to and click Download now:

Click Download .tar.gz file:

Select Save to Disk and click OK:

Save the file to your /downloads directory. In the case below I created a directory named /flash and saved the file there. It's not necessary to create these directories within your /downloads directory. I just happened to do it that way.

Saving all of the remaining files to your /home/brian/Desktop/downloads/ (replace brian with your own username!) directory will be fine.

Files that end with .tar.gz or .tgz are gzipped files and are equivalent to Microsoft Windows zipped files. Gzipped files are unpacked with the command,

tar xzvf

Bzipped files end in .bz2 or .tbz2. Bzipped files are more highly compressed then gzipped files. If you have a choice to download either a gzipped file or bzipped file download the bzipped file. Bzipped files are like Microsoft Windows zipped files, too. Unpack bzipped files with the command,

tar xjvf

In the terminal window go to the location where you saved the install_flash_player_9_linux.tar.gz file by typing,

cd /home/brian/Desktop/downloads/

To unpack the file type,

tar xzvf install_flash_player_9_linux.tar.gz

A directory named install_flash_player_9_linux was created when you extracted the file above. Type ls to see it:

Change to the new directory by typing,

cd install_flash_player_9_linux

Let's check to see if the file is executable. Type,

ls -l

The flashplayer-installer is executable. The x means it's executable. Click here to learn about file permissions.

You don't need to be root to install Adobe Flash Player 9.

To install run,


Press Enter to install Adobe Flash Player 9

The installer will instruct you to shut down your browser(s). Press Enter to continue:

Type y to proceed:

The installation completes:

Type n to exit:

After installation the plug-in will be installed in your Mozilla browser.

Start Firefox and type about:plugins in the Location field. You should see that Shockwave Flash is a plugin:

To test Flash try YouTube. Below is one of my films on youtube:

Install RealPlayer

Click the link

Then click, Download RealPlayer

Click Save File:

Save to /Desktop/downloads:

Open a terminal,

To install RealPlayer the installer, RealPlayer10GOLD.bin, must be executable. To check if the file is executable type

ls -l

The file listing shown above indicates it's not an executable. If it was executable it would show an x instead of -.

To make the file executable type,

chmod a+x RealPlayer10GOLD.bin

Type ls -l to check the file again:

The listing above confirms it's now an executable.

su to root:

To install type,


Press Enter to continue:

Type /opt/realplayer as your install path and press Enter:

Press Enter to Finish and begin copying files:

Press Enter to configure system-wide symbolic links:

Press Enter to accept /usr as the prefix for symbolic links:

Restart Firefox and look at about:plugins to see that it's being loaded. It should look like this:

To test in your web browser go to and watch a movie trailer:

Or, Metacafe:

To open the stand alone version of RealPlayer 10 click K Menu->Multimedia->RealPlayer 10 - Media Player

The first time you run RealPlayer 10 the RealPlayer Setup Assistant will start:

Follow the prompts:

Select your options and click OK:

Click Forward

Read the license agreement and click Quit, Back or Accept:

To test you can visit When you click a video to watch you will have the option to watch it in the browser or launch it in the stand alone player. Click Launch in stand alone player:

And it plays:


8 Inventory (II)

Now let's check again what we have so far by browsing the menus again. Our inventory should now look like this:

[x] The GIMP
[ ] Google Picasa

[x] Firefox
[x] Thunderbird
[x] Java Runtime Environment
[x] Flash
[x] RealPlayer
[x] aKregator
[x] Pidgin
[x] Xchat IRC
[x] gFTP
[ ] BitTorrent
[ ] Guarddog
[ ] Google Earth
[ ] Skype

[ ]
[ ] Adobe Acrobat reader
[x] Kontact
[ ] Scribus
[ ] kmymoney2

Sound & Video:
[x] Audacious
[x] K3B
[x] Noatun
[ ] VLC Media Player

[x] Quanta Plus
[x] Kate
[ ] The Java 2 SDK

System Utilities:
[ ] htop
[x] iptraf
[x] netstat
[ ] Filelight
[x] KDE Info Center
[x] Konqueror

[ ] VMware Server
[ ] NTFS-3G driver
[ ] FUSE

Share this page:

11 Comment(s)

Add comment


From: at: 2007-10-12 17:59:29

Congratulations for your fantastic article! I just want to tell the Slackers about a new project I started a couple of months ago: QTGZManager. It is a front end to pkgtools written in C++/Qt4. Everyone who uses it seems satisfied. But you shouldn't take my word for it. Discover yourself at: 

Thank you. 

Alexandre Albuquerque Arnt.

From: at: 2007-12-11 04:13:24

Hi Alexandre,

Thank you for your nice comments.



From: at: 2008-06-06 10:29:48

A brilliant example of a how-to article, well done! Many thanks for your efforts, as they have saved me a lot work.


From: Anonymous at: 2009-02-20 12:26:54


slackpkg is now included in the standard distribution. Select a mirror in the file /etc/slackpkg/mirrors, read the man page and away you go. It makes security updates much simpler. BTW its run from the command line as root.



From: at: 2007-10-15 21:35:02


  • VMware needs the /etc/rc.d/rc0.d through /etc/rc.d/rc6.d and /etc/init.d, which by luck were created before.

  • /etc/init.d/vmware is not, at least for me, executed at startup, so I moved it to /etc/rc.d/rc.vmware and added this file to /etc/rc.d/rc.local.


From: at: 2007-10-28 03:07:22


Thanks for your comment.

You're correct that VMware needs those directories.   But they're created during the Slackware 12 installation routine.

The only directory you need to create prior to installing VMware-server-1.0.4 on Slackware 12 is /etc/pam.d.


From: at: 2007-10-12 11:56:00

I am very new to Slackware, I found this How To interesting, but I guess it will be even better if 2 issues are addressed.

First, Slackware is often installed by the installer with generic huge kernel and on startup udev issues error messages when it tries to load things that already are in the kernel. A desktop with error messages is imperfect, right?

Second, it is sometimes desireable to uninstall or reinstall software. Whenever the installation gets to a tgz package, it should be emphasized that it is a good idea to store the package. When there is no tgz, it is interesting if it is possible to create one.

I would also add something linked to the kernel, like nVidia driver, and something not trivial to ?onvert to tgz, like ruby (it compiles the --prefix into executales).

From: Anonymous at: 2008-11-19 03:15:31

Very good Bryan!! Thanks...

From: Anonymous at: 2009-01-21 19:21:58

Excellent m8, ty:)

From: Anonymous at: 2009-07-12 16:34:53

good job, useful stuff :)

From: Anonymous at: 2010-05-28 07:20:09

Slackware 13.1 is out with many improvements. If you could make a new guide that would be perfect and helpful for many people.