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--
Linux operating system software installation process, in view of this problem, this article introduces the corresponding analysis and answers in detail, hoping to help more partners who want to solve this problem to find a more simple and easy way.
Installing software under Linux feels very complicated, and there is a way to install a software package, unlike when windows finds .exe, everything will be fine.
And a lot of software has to be very complex to compile and configure, and it feels like a big head. My only job these days is to keep downloading and installing. Although open source is a tempting thing, it feels that the lack of standardization of windows has greatly weakened the linux market. Summarize some of the installation methods used in the past few days for the future.
1) rpm package. Is a compiled package installation format provided by Redhat. Generally use the rpm command to perform the installation directly, which is relatively simple. The common format is:
"rpm-ivh .rpm"
(- I is the installation,-v is the check,-h is the installation progress)
Uninstalling is also done with a command:
"rpm-e"
The software name here is different from the file name of the rpm package, and usually does not include the software version number. You can view the installed rpm package first through the rpm command, and then uninstall the software in the list.
2) deb package. It is a compiled package installation format provided by Debain Linux. The installation method is similar to rpm.
"dpkg-I. Deb"
"dpkg-e"
3) tar package. This installation package is a compressed package of the tar tool under Unix, sometimes adding .bz2, .gz and other extensions after .tar. Most of these packages provide source code and are the most open (you can choose or even modify modules, and are not limited to a distribution), but installation and uninstallation are also the most problematic. In general, the steps to install the tar package are as follows:
1: extract the package-"tar-xvzf package name" or "tar-xvzf package name" (- z: call gzip to extract,-x: extract,-v: check,-f: display file result,-y: call bzip2 to extract)
2: configure the installation option-". / configure", generally use the prefix parameter to configure the installation path, other parameters are also very useful.
3: compile the installation file-"make".
4: install-"make install"
5: clear the temporary files generated by the installation-- "make clean"
Some software does not fully follow this step (for example, lumaqq can run directly after decompression. / lumaqq, a bit like windows's green software) if you pass the English, it is best to read the intall file or readme file in the compressed package. Generally speaking, the executable files after installation are stored in the / usr/local/bin directory, but they are not the only ones, so read these two files carefully.
If you uninstall the tar package, you can enter the installation directory to execute "make uninstall". If the software does not provide uninstall, you must manually delete "rm-rf". If the files are installed in multiple directories on the system, it will be difficult to clean them up unless you remember all the paths during installation.
4) install script. At present, some software provides SHELL scripts for installation and uninstallation. as long as you run install.sh, you can even download the software directly from the website and install it locally, while running uninstall.sh to uninstall the software.
It is very important for linux to find a suitable and complete version of the application software. I know very well that I don't have much to install, but I have been trying various versions these days, some of which will cause software conflicts, and some will have to install plug-ins when they find that there are no legendary features. There are many distributions of linux, and all kinds of experiences and experiences vary from person to person.
This is the answer to the question about how the Linux operating system software installation process is shared here. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel to learn more about it.
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.