In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to install the uninstall command rpm make install under centos. In daily operation, I believe many people have doubts about how to install the uninstall command rpm make install under centos. Xiaobian consulted all kinds of information and sorted out simple and easy to use operation methods. I hope to answer your doubts about how to install the uninstall command rpm make install under centos. Next, please follow the small series to learn together!
A: RPM package,
This software package is just like windows EXE installation file, all kinds of files have been compiled, and hit the package, which file should be placed in which folder, are specified, installation is very convenient, in the graphical interface you only need to double-click to automatically install.
== How to uninstall:
1. Open a SHELL terminal
2. Because the software name under LINUX includes the version number, it is best to determine the complete name of the software before unloading.
Find RPM package software: rpm -qa ×××*
Note: ××× refers to the first few letters of the software name. It is not required to be written completely, but it is not wrong. * is the wildcard number "*", that is, asterisk. If you want to find the REALPLAYER software installed in the machine, you can enter: rpm -qa realplay*
3. After finding the software, the complete name of the software is displayed, such as firefox-1.0.1-1.3.2.
Execute uninstall command: rpm -e firefox-1.0.1-1.3.2
=== Installation directory, execute command to find: rpm -ql firefox-1.0.1-1.3.2
B: tar.gz (bz or bz2 etc) end of source code package,
This software package is full of source programs, which have not been compiled. It needs to be compiled before installation. The installation method is:
1. Open a SHELL, that is, a terminal
2. Use the CD command to enter the directory where the source code compression package is located.
3. Extract the file according to the compressed package type (* represents the compressed package name)
tar -zxvf ****.tar.gz
tar -jxvf ***.tar.bz(or bz2)
4. Use CD command to enter the decompressed directory
5. Enter the command compile file: ./ configure(some compressed packages have already been compiled, this step can be omitted)
6. Then the command: make
7, and then install the file command: make install
8. Installation completed
=== How to unload:
1. Open a SHELL, that is, a terminal
2. Use the CD command to enter the compiled software directory, that is, the directory when installing.
3. Execute the anti-installation command: make uninstall
=== Installation directory: Note the installation directory during the make install command, or read the readme file inside the installation directory. Of course, the best way is to specify the installation directory during installation, that is, in./ configure command followed by parameters-prefix=/**,
For example: .../ configure-prefix=/usr/local/aaaa, i.e. install the software in the aaaa directory of the/usr/local/path. The default installation directory for general software is in/usr/local or/opt, which can be found there.
C: Installation packages ending in bin,
This package is similar to RPM packages and is relatively simple to install
1. Open a SHELL, that is, a terminal
2. Use the CD command to enter the directory where the source code compression package is located.
3. Add executable attributes to the file: chmod +x ****.bin(middle letter x, lowercase)
4. Execution of orders: ./** ****.bin(realplayer for linux is such an installation package)
=== How to uninstall: Delete the installation directory selected during installation
=== can be specified during installation, similar to windows installation.
2. How to execute after installing the software. After installing the software, there are several ways to execute it:
A. Some software will automatically add shortcut keys to the application list after installation, just like windows, go there to find it.
B. If you can't find it in the application list, you can enter the command directly in the/start/run command: the startup command is generally the software name, such as firefox, realplay, xmms, etc.
C. You can also open a shell terminal and enter the software name, just like in "Run Command". If you don't know the whole command, you can enter the first letter, and then press the tab key to find, the system will automatically display all commands starting with the input letter/
D. You can also run the startup file directly under the installation directory. The executable icon under Linux is very similar to the shell terminal icon.
E. Go to the/usr/bin directory to find the installed software startup file and execute the command. Linux systems put all executable file commands in the/usr/bin directory are made boot links, you can go to that directory to find your installation file boot command, double-click boot.
At this point, the study of "how to install and uninstall the rpm make install command under centos" is over, hoping to solve everyone's doubts. Theory and practice can better match to help everyone learn, go and try it! If you want to continue learning more relevant knowledge, please continue to pay attention to the website, Xiaobian will continue to strive to bring more practical articles for everyone!
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.