In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Today, the editor shares with you how to install software in the linux system. I believe many people do not know much about it. In order to let you know more about the method of installing software in the linux system, I have summarized the following contents for you. Let's look down together. I'm sure you'll get something.
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
5. Apt installation: (install deb package)
1. Open a terminal and su-become a root user
2. Apt-cache search soft Note: soft is the name or related information of the software you are looking for
3. If the software soft.version is found in 2, install the software with the apt-get install soft.version command
6. Yum installation: (install rpm package)
Rpm is a package name for linux that ends with .rmp and is installed with the syntax: rpm-ivh.
Rpm package installation has a big disadvantage, that is, the file relevance is too large, sometimes to install a software to install a lot of other software packages, it is very troublesome.
So for this RedHat Little Red Riding Hood developed a yum installation method, he can completely solve this related problem, very convenient, as long as the configuration of two files can be installed, the installation method is: yum-y install.
Yum is not a package, but the software that installs the package.
To put it simply: rpm can only install rpm packages that have been downloaded to the local machine. Yum can download and install rpm packages online, update the system, and automatically deal with package-to-package dependencies that rpm tools do not have.
On how to install software in the linux system to share here, of course, not only the above and everyone analysis methods, but the editor can ensure its accuracy is absolutely no problem. I hope that the above content can have a certain reference value for everyone, and can be put into practice. If you like this article, you might as well share it for more people to see.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.