In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
How to install software in linux system? Many novices are not very clear about this. In order to help you solve this problem, the following editor will explain it in detail. People with this need can come and learn. I hope you can gain something.
To know how to install software under Linux, we first need to know about the Linux application installation package. There are three types of Linux software installation packages:
The tar package is packaged using the UNIX system packaging tool tar, such as software-1.2.3-1.tar.gz
Rpm package it is a package encapsulation format provided by Redhat Linux, such as software-1.2.3-1.i386.rpm
The dpkg package is a package encapsulation format provided by Debain Linux, such as software-1.2.3-1.deb.
The naming of most Linux application packages also has a certain rule, which follows:
Name-version-revision-Type
Installation method:
1) tar package
Unzip the file: execute the "tar-xzvf package name" command to complete the decompression and unpacking in one step
Execute the ". / configure" command to prepare for compilation
Execute the "make" command for software compilation
Execute "make install" to complete the software installation
Execute the "make clean" command to delete temporary files generated during installation
2) rpm package
There are two ways to install the rpm package:
Method 1: rpm command
Installation: rpm-ivh package name .rpm
Method 2: yum command
Yum (Yellow dog Updater, Modified) is a Shell front-end package manager in Fedora and RedHat as well as in SUSE.
Based on RPM package management, RPM packages can be downloaded and installed automatically from designated servers, dependencies can be automatically handled, and all dependent software packages can be installed at once without having to download and install them again and again. Yum provides commands to find, install, and delete one, a group, or even all of the software packages, and the commands are concise and easy to remember.
Installation: yum install package name
Deb package
There are two ways:
Dpkg command
Installation: dpkg-I package name .deb
Uninstall: dpkg-e software name
Query: query the software package currently installed on the system: dpkg-l 'package name'
Apt-get command
The apt-get command can only be used for packages in repositories, not for deb packages downloaded by yourself. If you want to handle deb packages downloaded by yourself, you can only use the dpkg command.
Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.
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.