*liveVoyager 12.04 User Guide - Install Applications

Install Applications


liveVoyager is a Linux system with a lot of applications and tools, allowing users to do whatever they want. However it could be necessary to install further apps to do some specific job.
Installing software in liveVoyager is very easy, and it can be done with graphic tools or even trough the Terminal via command line. Let we start with the easiest way to install packages, using the Ubuntu Software Center.

Ubuntu Software Center

One of the easiest way to install software in liveVoyager is using the Ubuntu Software Center. Its interface you can see in picture below.
To run it just open Main Menu and click "Ubuntu Software Center" item.

To install a package, go into the left column, where is listed software categories. The interface change into which you can see below.

Just click on the preferred package, and the interface change again, as you can see below:

Just click on "Install" button placed on right, and wait until process end.

Packages Manager

The second graphic method to install software in liveVoyager, is to use the Packages Manager, alias Synaptic, that you can run following this path:

Main Menu → System → Packages Manager

You can see a complete use guide here

Packages manager via command line

There are two, used by distros based on Debian GNU/Linux:

Advanced Packaging Tool, APT

Apt is a toolkit that enable .deb packages to be installed on systems based on Debian. If you run the Terminal, and put in it the command "man apt", you'll get infos about it. If you put in the command "apt -h" you'll get much more.
The most frequently command used are:

  • update packages list:

    sudo apt-get update

  • install new package:

    sudo apt-get install PACKAGE-NAME


    sudo apt-get install PACKAGE-ONE PACKAGE-TWO PACKAGE-THREE ...

  • update all software installed:

    sudo apt-get upgrade

  • upgrade to latest version for all sofware installed (including the opearting system):

    sudo apt-get dist-upgrade

  • installing dependencies required by a specific package (some time):

    sudo apt-get build-dep PACKAGE-NAME

  • remove a package:

    sudo apt-get remove PACKAGE-NAME

  • remove a package with all its configuration file (all settings, etc.):

    sudo apt-get purge PACKAGE-NAME

  • clean the package cache (erase package downloaded files):

    sudo apt-get clean

  • clean packages obsolete files (mantaining the new):

    sudo apt-get autoclean

  • automatically remove unused packages:

    sudo apt-get autoremove

  • checking corrupted packages:

    sudo apt-get check

  • fixing corrupted pckages:

    sudo apt-get install -f

  • add a CD-ROM to the repositories list (useful when an intenet connection lack):

    sudo apt-cdrom add

Some extra useful command are:

  • If you want a complet list af all installed packages by apt (or dpkg), paste this command:

    apt-cache pkgnames

  • To view this alphanumeric list, shown one page per time, (use Page-up and Page-down to scroll, and Shift+Q to quit)

    apt-cache pkgnames | sort | less

  • to have the packages list, within in a text file, placed on desktop, with the "package-list.txt"

    apt-cache pkgnames | sort > ~/Desktop/package-list.txt

DPKG, the Debian Package Management System

Dpkg is the first packages installer used on Debian-based Linux operating system. Almost all packages manager are dpkg front-end; apt included. Consequently, almost all package managers share some files with dpkg, like repositories list, or /etc/apt/sources.list, and the packages status list /var/lib/dpkg/status. Generally, apt is preferred to dpkg. However, dpkg is very useful if apt don't run, or there was a system crash during a package installation. Required commands to install, remove, reconfigure, and fix a partial/interrupted installation of a package, are follows:

  • To installa a package:

    sudo dpkg -i PACKAGE-NAME

  • To remove a package:

    sudo dpkg -r PACKAGE-NAME

  • To re/configure a package:

    sudo dpkg --configure PACKAGE-NAME

  • To re/configure all not-configured packages:

    sudo dpkg --configure -a

Every time apt, aptitude, Synaptic or other package managers aren't able to install software, because dependencies conflict, or other issues, such as internal compiler error: Segmentation fault, you can remove the software under conflict with the command dpkg -r PACKAGE-NAME. More frequently as you believe, it will be the only method to fix your preferred package manager; use sudo dpkg -configure -a to configure the not-installed software, every time that your package manager crash during software installation.

More infos about dpkg are available here.