Linux Study Notes [2] install software under RedHat Enterprise 5.4

Source: Internet
Author: User

After the OS is installed, you can add your favorite software for Linux. The following uses installing QQ as an example to demonstrate how to install software in Linux.

Download QQ fro Linux from link page [http://im.qq.com/qq/linux/download.shtml.pdf. In this link page, you can download three different installation packages: deg, rpm, and tar.gz. The following describes how to install the three installation packages.

1. Install the deg package.

2. Install the RPM package.
Rpm is the abbreviation of RedHat package manager. It can only be used in systems with RPM software installed. It is already used in RedHat Linux and Turbo Linux. This structure of the package is very convenient to use, as long as you remember a few simple commands and parameters can be easily used:

#> RPM [Options] filename. rpm

Common options include:

-I: Install software

-E: uninstall software.

-Q: Check the software installation information and status.

-U: upgrade existing software

[redhat@bogon ~]$ suPassword: [root@bogon redhat]# rpm -i /home/redhat/software/linuxqq.rpm[root@bogon redhat]# 

You do not need to worry about where the software is installed or how it is installed. rpm can help you manage the code.

Run the following command to uninstall the RPM package:

[root@bogon redhat]# rpm -e linuxqq-v1.0.2-beta1.i386

Note that rpm-E is not followed by. RPM suffix, and you can only enter part of the installation package name, such as rpm-e linuxqq or rpm-e linuxqq-v1.0.2-beta1

Thanks to the ease of use of rpm, many software are available in the rpm version. If you want to use software in the RPM format, you must first download an RPM management software. On the ftp://ftp.rpm.org/pub/rpm/dist/rpm-version website, you can download the latest version -- rpm-3.-. 4. i386. Installation Method of the license package.

3. Install the tar.gz package.

Due to the limited nature of the rpmpackage (rpmloud is installed, more software currently uses the source code in the form of .tar.gz package. The installation of such software usually involves decompression, software configuration, software compilation and installation.

There are usually two command methods for decompression:

One is the gunzip filename-VERSION-OS.tar.gz | tar-xzvf, which is essentially the two commands "gunzip filename-VERSION-OS.tar.gz" and "Tar-xzvf filename-VERSION-OS.tar ";

The other is the tar-xzvf filename-VERSION-OS.tar.gz ". Generally, a directory named filename-version-OS is generated after the software is decompressed.

[redhat@bogon ~]$ suPassword: [root@bogon redhat]# tar -xzvf /home/redhat/software/linuxqq_v1.0.2-beta1_i386.tar.gz

First, obtain the root permission. Decompress the tar.gz file using the tarcommand.

After decompression, A linuxqq_v1.0.2-beta1_i386 is generated under/home/user [Login User Name.

There is an execuable file under this folder. Double-click this file to open the program.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.