View the Most Wanted LQ Wiki articles.
LinuxQuestions.org > Linux Wiki > Installing software

From LQWiki

(Redirected from Installing SoftWare)
Jump to: navigation, search

This article explains program management, i.e. how you can install software to your Linux system.

Contents

How you should start

To avoid trouble, best practice recommends installing software using the distribution's package management system. So, first step for you is to find out your distribution. Then try to install the software by means of your distribution. If that is not possible, you will have to download the software from the internet and build it.

For example, if you want to install firefox, this is how you install it:

SuSE:

   yast2 -i firefox
If you want a list of installable packages (searchable), try
   yast2 sw_single

Fedora:

  yum install firefox

Debian, KUbuntu, Ubuntu:

  apt-get install firefox
If you want a list of installable packages (searchable), try
  sudo synaptic

Gentoo:

  emerge firefox
  paludis -i firefox

Mandriva:

   urpmi firefox

Keeping up-to-date

Fedora comes with another updating tool known as yum, and this can be invoked via the command line such as,

# yum update

To upgrade your current system,

# yum upgrade

can be invoked.

Suse Linux installations can be updated by calling the yast online updater YOU:

# you

Installing manually

If your distribution does not provide the package you want to install, there might be other ways to install it that you should be aware of:

  • DEB - the Debian package format. This is used by Debian and Debian-based distributions, such as Knoppix.
  • klik - a mechanism aiming at installing with one click an application for all distributions including all dependencies.
  • CPAN - an installation mechanism independent of the distribution, but dependent on the programming language; only available for Perl.

Compilation from source

Main article: Compilation from source.

If the above options are not available, you will have to compile your software manually.

Typically, you will

Some packages require to issue to test installation


Share

Personal tools