Installation package. rpm and tar.gz

INSTALL *. RPM
RPM is a form of distribution is introduced by Redhat. You can also install *. rpm in Slackware, but usually need to option-nodeps
root @ dragon. # rpm-i-nodeps package-1.0.rpm
INSTALL *. tar.gz
Package in the form of this is still a source code (C language, C + +, Python, Perl, etc.), so must be compiled. So before you begin, make sure first development system is installed. Stage installation generally have 5, all done from the command-line.
1. Extract the package, usually to the directory / usr / src. Use the command:
# Move the directory
root @ dragon. # cd / usr / src
# To tar.gz package
root @ dragon. # tar-xzf package-1.0.tar.gz
Tar.bz2 # For package
root @ dragon. # tar-xjf package-1.0.tar.bz2
# Move to the directory package
root @ dragon. # cd package-1.0
2. Read the instructions. Or may also try:
root @ dragon. #. / configure-help
3. Configuration.
root @ jawa. #. / configure
but can also complex with many options (that is read the instructions), for example:
root @ dragon. #. / configure-prefix = / usr-enable-png-use-after-image = / usr / lib
4. Compilation.
root @ dragon. # make
5. Install.
root @ dragon. # make install
If you can combine the need to stage 3-5 in the 1
root @ dargon. #. / configure & & make & & make install
If already installed, you can delete the directory the source code at any time
root @ dragon. # cd / usr / src
root @ dragon. # rm-r-1.0 package