Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install the package in linux

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

1. There are generally four types of installation packages:

1) tar package, such as software-1.2.3-1.tar.gz. He was packaged using tar, the packaging tool of the UNIX system.

2) rpm package, such as software-1.2.3-1.i386.rpm. It is a package encapsulation format provided by Redhat Linux. The package management tool YUM.

3) dpkg package, such as software-1.2.3-1.deb. It is a package encapsulation format provided by Debain Linux. The package management tool apt-get.

4) bin packages, such as jdk-1_5_0_05-linux-i586.bin, some Linux software do not open source code, only release binary executable programs, such programs are generally marked with bin.

1. Steps for installing rpm package:

1. Find the corresponding software package, such as soft.version.rpm, and download it to a directory on this machine.

2. Open a terminal and su-become a root user

3. The directory where cd soft.version.rpm is located

4. Enter rpm-ivh soft.version.rpm

2. Steps for installing deb package:

1. Find the corresponding software package, such as soft.version.deb, and download it to a directory on this machine.

2. Open a terminal and su-become a root user

3. The directory where cd soft.version.deb is located

4. Enter dpkg-I soft.version.deb.

3. Installation method of tar.gz source code package:

1. Find the corresponding software package, such as soft.tar.gz, and download it to a directory on this machine.

2. Open a terminal and su-become a root user

3. The directory where cd soft.tar.gz is located

4. Tar-xzvf soft.tar.gz / / generally generates a soft directory

5 、 cd soft

6 、. / configure

7 、 make

8 、 make install

4. Installation method of tar.bz2 source code package:

1. Find the corresponding software package, such as soft.tar.bz2, and download it to a directory on this machine.

2. Open a terminal and su-become a root user

3. The directory where cd soft.tar.bz2 is located

4. Tar-xjvf soft.tar.bz2 / / generally generates a soft directory

5 、 cd soft

6 、. / configure

7 、 make

8 、 make install

The above are the details of how to install the installation package under linux, please pay attention to other related articles!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report