Linux basic configuration and management-RPM Software Package management
Source: Internet
Author: User
The source code of the archive compressed file 3 program of idea must be compiled into binary form before... linux basic configuration and management ---- RPM software package management 1 source code form 1 the vast majority of open source software are directly released in the form of source code 2 source code will be packaged into tar.gz archive compressed file 3 the source code of the program needs to be compiled into a binary form after to run the basic compilation process of source code 4: 1. /configure checks the compilation environment, related library files and configuration parameters, and generates makefiel 2 make to compile the source code, generate an executable file 3 make install the generated executable file to the current computer 5 source code form software is more troublesome to use, however, good compatibility and controllability 6 open-source software generally uses a large number of other open-source software features, so open-source software will have a lot of dependency 2 RPM 1 source code disadvantages: complex operations, long compilation time, and prone to errors 2 Advantages of source code form: applicable to all systems, customizable 3 RPM (redhat package manager) for ease of use ), in the early stage, it was designed to use 4 RPM to compile the source code based on the specific platform operating system into executable files and save dependencies, to simplify the installation and management of open-source software 5 RPM design goals are as follows: use a single software package format file release (. update tracing software dependency basic information query software verification feature supports common naming conventions for multi-platform 6 rpm software packages such as LinuxCast-1.2.0-30.ei6.i686.rpm form as name-version. system. 32/64 bits. rpm 7 RPM Installation Command installation software: rpm-I software. rpm uninstall software: rpm-e software upgrade form installation: rpm-U software-new software. rpm supports installing software rpm-ivh http through http and ftp protocols... /software. rpm 8 we usually add two parameters v and h v after I during installation to display relevant information, h is to display the progress bar 9 RPM commonly used query command rpm-qa list all installed rpm software rpm-qf filename to query which rpm package the specified file belongs to rpm-qi packagename to query the information of the software package rpm -ql packagename: queries the file rpm-qip software contained in the specified software package. rpm queries the rpm file information rpm-qilp software. rpm query rpm file contains files 10 RPM software verification command: 1 verify rpm file rpm-K software. rpm 2 verify the installed software rpm-V softname
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.