Installing software in Linux

click fraud protection

Continuing the theme of the software installation on Linux.As you should already know, use YAST and RPM-package - not a complete list of ways to install programs.The method described below is also quite common.So software installation from tarballs.

To start to define what a tarball.This is actually a normal backup created widespread in unix-media program tar.Archive name usually appears as name.tar.gz or name.tar.bz2 (where the name - its own name file), depending on the compression method.

begin, which will do the example of the Skype.

First you need to get the tarball itself.It can be downloaded from the official website of Skype.Go to the download page of the program

and we choose the right type of operating system (in our case - Linux).

We click "Download" in the menu that appears

Fig.1

select Static.After that there is a standard file download window

Fig.2

select "Save file" ("Save file") and click "OK".

you actually begin the installation program itself.Open any program to work with the command line in Linux (I use konsole) and go to the folder with the downloaded tarball (default openSUSE12.1 ~ / Download).Figure 3

Team

# mkdir skype

we create a new directory (to unpack the tarball to the contents).Then go into this directory

#cd skype

and unpack the tarball itself.At the same time, we note that our tarball is an extension .tar.bz2

#tar -xjvf ../skype_static-2.2.0.35.tar.bz2

(../ used because tarball is a directory above).Then make a small digression: if the extension .tar.gz tarball had something to uncompress it would be necessary to use the keys -xzf.So began the process of unpacking a tarball and we need to wait for its completion.

now in our newly created directory got one more - skype_static-2.2.0.35, go into it

#cd skype_static-2.2.0.35

use the ls command to view the contents of a directory

Move the icon for thedesktop on your desktop (if you want of course).

#mv skype.desktop ~ / Desktop

Go one directory up and move the entire directory to the directory of the program, designed for this (in the case of linux - / usr, although the directory can be selected and the other, it all dependshas on you)

More we do not need to work with the command line and can be closed her team

#exit

Now pay attention to the ported to the desktop icon.Right-clicking it

Fig.4

and select "Propeties" ("the properties").

Fig.5

tab "Permission" ("Rights") put a tick "Is executable" ("executable")

Fig.6

Continued ...

full version, visit the http://freeproger.ru/index.php/programmy/92-ustanovka-programm-v-linux-tarboly