In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly shows you "what are the installation methods of Ubuntu system software", the content is simple and clear, and I hope it can help you solve your doubts. Here, let the editor lead you to study and learn about "what are the installation methods of Ubuntu system software?"
1. How to install the Deb package:
In Ubuntu system, the software is usually released as a package file in deb format, which is a precompiled software package. In addition to the compiled software, the deb package usually includes the copy path of the software, the record of dependence on other software packages, more general configuration files, as well as the description, version, author, category, occupied space and other information of the software.
Specific related commands:
Dpkg-I xxx.deb |-- install xxx.deb installs the deb package
Dpkg-r xxx.deb |-- remove xxx.deb delete software package
Dpkg-r-P xxx.dab |-- purge xxx.deb is deleted along with the configuration file (delete the package completely)
Dpkg-I xxx.deb |-- info xxx.deb to view package information
Dpkg-L xxx.deb |-- View the files in the package
2. Apt-get installation method:
Another most commonly used method to install software in Ubuntu system is apt-get installation, which is simple, convenient and fast.
Related commands are involved:
Apt-get install xxx |-- install xxx software
Apt-get remove xxx |-- Uninstall xxx software
Apt-get update |-- Update the software information database
Apt-get upgrade |-- upgrade the system
Apt-cache search |-- search for software packages
3. Installation method of Synaptic software package:
Ubuntu system is unique to it, this needless to say ~!
4. Source code compilation and installation:
Suitable for installation of all Linux system software, usually in .tar.gz format
The installation method can be summarized as follows:
First extract the .tar.gz package file tar-zxvf xxx.tar.gz and then go to the xxx directory: cd xxx
Start compiling and installing:
#. / configure-- prefix installation directory
Use the command. / configure-- help with arguments, or read the INSTALL file to see the parameters allowed by the script. For example, use the-- prefix=/usr/local/xxx parameter to set the installation directory of the software to / usr/local/xxx. (if you must install the software in a separate directory, it is recommended that you install it here.)
# make / / compilation
# make install / / install
5. Installation method of binary package:
Usually some executable files run directly. / the software name can be installed.
For example: with xxx.bin package or xxx.sh package and so on. It's relatively simple.
6. Installation method of RPM package:
Here is a brief mention of the software method of installing the RPM package on the Ubuntu system
First install alien, a software that converts RPM package to deb package, and then you can easily and quickly install RPM package under Ubuntu system.
Related commands are involved:
Sudo apt-get install alien |-- install RPM to DEB package software
Sudo alien-d xxx.rpm |-- convert RPM package to DEB package
Or install the DEB package directly without switching to the RPM package
Sudo alien-I xxx. Rpm
The above is all the contents of the article "what are the installation methods of Ubuntu system software?" Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
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.