Basic knowledge
linux Software 4 methods
linux installation software
Source code code
Downloading, depressing source code, can direct deportation network download, ya can resident network-like information, wget method download, conventional source code depressing wrapping, ".tar.gz", ".tar.bz2", etc.
Depressurization
tar -zxvf source.tar.gz
1
Analysis Anso Hiradai Environmental boundary
After the completion of the software installation, the source code is being recorded, the general society exists configure sum README two individual texts, the software system, the software system, the software system, the software system, the software system, the software system, the software system, the software system, and the software system. A certain individual matter, presentation of the meeting, and the suspension of the demand for possession directly. This is the function of configure text, configure text is general, it is possible to import directly under the registration.
Compiled and software
Under Linux, an in-depth compilation instruction for make. Use make sum makefile Tool can be a quick solution. At the same time, make tools can be automatically completed.
makefile statement
make tool Most important function Time-lapse makefile Statement is practical. Under Linux system, Makefile replacement makefile texts, habits configure, and generations under the pre-meeting record. Designated compilation, reference, and usage order
make -f makefile
1
make sum make install
Demand-existing command line import make-in command, entry-level entry-level compilation, root-based installation, large-and-small Japanese-based systematic rigid placement, editing time indefinite, after compilation, after compilation, and generation of compiled language. After the start of the entry, the last security issue, the instructed line import make install instruction, and the start security issue. Ansou Jinkan Ansou Catalog, Nyoka Sui Designated Ansou Catalog, Ansou Jikan Introductory / usr / local Introductory / usr / local Introductory Jian Jian Ansou Catalog, This is the completion of the installation
RPM packaging method
Currently, RPM has been completed, and Linux flatbed is a common software management method. RPM package management type Windows lower "addition \ 删 removal order", but effective ratio "addition \ 删 removal order" large number. While in Linux, there are many or more .rpm-tailored case packages, this trivial case package, and the speculative RPM text. Included in the individual RPM texts Compiled in the sequel to the sequel to the sequel to the sequel to the sequel Statement.
RPM package management method Advantages: Installation, expedient, installation, completion and completion of packaging, installation of software, reconciliation of the environment. In addition to this, the software of the past RPM method, the software of the RPM tool, the information of the software in the city, the software of this method, the software, the software, and the wholesale.
RPM package type sum composition
The following rpm text: xxxxxx-2.2.3-12.i586.rpm Example. Among them:
xxxxxxx: Display software name
2.2.3: Displayed version of this issue
12: Display software update
i586: Display suitable hardware flatbed
.rpm: Time RPM packaged sign
RPM tool use
Software package
rpm -i [Natsusuke Selection] file1.rpm file2.rpm ...... fileN.rpm
1
-i: install intention
The number of participants can be many
辅 Assistance selection
-v: Revealed information
-h: Export mark at the time of dressing: #
–Test: Opposite safety progress measurement, parallel unrealistic safety
–Nodeps: Software-related software. It is not possible to join this option.
–Force: Conflict of software
–Replacekgs: Heavy-duty new software
–Prefix: General case package security arrival reason prefix choice under the designated road diameter
–Percent: Percentage-based export export cheap progress
–Excludedocs: Anxiety-inclusive explanation
–Includedocs: Software package, inclusion statement
rpm -ivh xxxxxx-2.2.3-12.i586.rpm
1
Software package
rpm -q [Natsusuke Choice] package1 package2 ...... packageN
1
-q: query-like intention, can use –query
辅 Assistance selection
-f: 查 询 Operation system in the middle of a certain individual sentence genus
-p: 查 询 or later ".rpm" Suffix-like package name
-l: List of owned texts in the package. This selection item is a post-installation software package.
-i: Overview of the software, the title of the software, the printed book, the software, the size, etc.
-g: Software system, software, software, software, software, software, software, software, software, software, software
-d: Table of explanations in the package of the software, RPM generals in the package, three categories, one type of placement, one type of explanation, one type of time possible
-s: Similar to the given-l selection items, exemption from the software
-R: Demanding function of the package
–Provides: The function of providing the package, the name of the library, the name of the library, etc.
Software removal package
rpm -e [Natsusuke Choice] package1 package2 ....... packageN
1
-e: erase intention, for ya can – erase alternative
辅 Assistance item:
–Test: Exclusionary measurement
–Nodeps: Non-reliance
yum comfort method
Anso yum, demand allocation yum-like warehouse, in /etc/yum/repos.d/Shimoshinken one piece.repo final text, copy warehouse
Binary number software method
Linux lower binary system formal case stipulations, various types of flatbed compilation, security affairs, after-sale squeeze, demand squeeze when in security
————————————————
Version of the statement: The text of the text, the original text of the CSDN Hiroshi "Makisuibun", the CC 4.0 BY-SA version of the syllabary, and the original text of the yard, which is attached to the request for conversion.
Original text: https://blog.csdn.net/weixin_46429290/article/details/117224688