Install software in Linux

Source: Internet
Author: User
Software Installation in Linux-general Linux technology-Linux technology and application information. For details, refer to the following section. Compile and install

1. First, check that gcc is installed on the system.

2. decompress the tarball file in/usr/local/src.

3. Go to the new directory and query the install and readme files.

4. Check and install some related kits according to install/readme (optional)

5. Use configure or config to detect the job environment and create the dangan makefile.

6. Use make to use the makefile file as its configuration file for compilation.

7. Use make for installation.

The corresponding command is:

1./configure

2. make clean

3. make

4. make install

Make sure that each step is correctly executed.

Install with rpm

1. rpm? Ivh is generally installed, and the installation information and progress are displayed.

2. rpm? Uvh upgrade and Installation

3. rpm? Qa lists all suites installed on the local machine.

4. rpm? Qc lists the settings of this suite.

5. rpm? Qd lists all instructions of this suite

6. rpm? QR codes list files contained in dependent suites related to this suite

7. rpm? Qf is followed by the file name to find out which installed package the file belongs.

8. rpm? Import/usr/share/rhn/RPM-GPG-KEY import GPG key

9. located GPG-KEY find key

10. rpm? E anti-installation kit

11. rpm? Rebuilddb rebuilding Database

Tar command Introduction

1. tar? Zcvf/tmp/etc.tar.gz/etc package/etcdirectory to etc.tar.gz

2. tar? Zxvf Decompression

3. tar? Ztvf

4. tar? Zcvpf-p is used to reserve the permission attribute of the original file.

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.