• ARTICLES
SEARCH

How-To Geek

Try Out Linux Programs with PortableLinuxApps

Want to check out the latest version of Firefox, Chromium or VLC without dealing with enabling new software repositories? Try out Kompozer or Audacity without installing a bunch of dependencies? PortableLinuxApps to the rescue.

PortableLinuxApps is a relatively new website that provides many popular applications packaged as a single binary file that works on any supported system. For the time being, the officially supported flavors of Linux are the 32-bit versions of Ubuntu 10.04, OpenSUSE 11.3 (GNOME), and Fedora 12 (GNOME). If you’re not sure if you have the 32-bit version or 64-bit version of your Linux distribution, check out this guide.

Making Applications Executable

To use the applications provided on the website, save them to an appropriate location, and then set the executable flag on the file.

To do this using the GUI, right-click on the downloaded binary file and click Properties.

sshot-1

Go to the Permissions tab and add a checkmark to the checkbox labeled Allow executing file as program, and then click close.

sshot-2

Note that if you’re doing this through the GUI, you can select multiple applications and edit their preferences all at once.

sshot-4

Alternatively, you can also do this from the terminal with the command:

chmod a+x <Application>

Once the executable flag is set, simply double click on the application to run it.

Testing Some Applications

We tried a number of the applications available, and found that each ran as expected.

A recent beta version of Firefox 4.0 loaded, allowing us to test the new features without committing to a full install.

sshot-3

Note: in our testing, while we were able to switch between Firefox Beta 4 and the installed Firefox 3.6.7, we could not run both simultaneously.

We were able to test a recent build of Chromium, the open source project that Google Chrome is based on.

sshot-5

Kompozer also worked without a hitch.

sshot-6

Finally, an interesting Star-Trek inspired game, 3DChess, loaded and transported us to ten-forward.

sshot-7

A Caveat

While these portable apps are easy to use and take with you on a USB key, your settings are still stored in your home directory. That means that if you take the application to another computer, your settings will not be maintained. For some applications this isn’t a big deal, but for others it’s a big issue.

There is a workaround, however, from the Portable Linux Apps forum.

Open a terminal window. Set the $HOME variable to a folder on your USB key that will just hold configuration settings with the line:

export HOME=<config directory>

and then run your application from this terminal window.

For example, if we have a USB drive labelled “pendrive” and we want to run Firefox 4.0 beta 1, we would type in the following in the terminal:

export HOME=/media/pendrive/config
/media/pendrive/Firefox\ 4.0b1

This will set the “config” folder on the USB key as your home directory, temporarily, and then run Firefox using that new home directory. You must remember to do this each time you run the program – or you can write a short shell script to do it automatically.

Thanks to reader Samuel Dionne-Riel for the correct export statement.

Conclusion

While Portable Linux Apps are still young, with limited support (only three 32-bit distribution) and a caveat about configuration files, we still think that this is a great way to try out applications that you’re not sure about, or newer versions of applications that are already installed. Head over to the Portable Linux Apps site and see what they have to offer.

Download Portable Apps at PortableLinuxApps

Trevor is our resident Linux geek, but always keeps his eyes open for neat Windows tricks too.

  • Published 08/9/10

Comments (5)

  1. JBWOME

    for active and acquired the best knowledge

  2. Samuel Dionne-Riel

    Your export statement is wrong, it should be
    export HOME=/media/pendrive/config/
    Not export $HOME…

    export $HOME would expand to whatever $HOME is. In the case $HOME is set to /home/howtogeek/, the statement would be executed, after expanding, as
    export /home/howtogeek/=/media/pendrive/config/
    which is nonsensical.

  3. Trevor Bekolay

    @ Samuel Dionne-Riel

    Ah yes, you are quite right, thank you for the correction!

  4. aziz

    gr8…i got it what i was looking for… portable linux/ubuntu softwares

  5. seenu

    I want thunderbird but it’s not avail………

Enter Your Email Here to Get Access for Free:

Go check your email!