Linux Software management rpm, yum

Source: Internet
Author: User

Application:

Program: Architecture

C Language: Source code--"(compiled) binary format

Script: Interpreter (binary)

Source code-"compilation-" link--"Run

Program:

Library:

Static

Dynamic

Static connection (packages the required library files directly to the process sequence)

Dynamic connection (directly called by the library file loaded into memory)

Shared libraries

. So suffix (Shared object)

Configuration file

Part of the program:

1, binary program (binary file running needs to rely on the library, where the library refers to the shared library and the program itself provides the library)

The library is generally stored in the/lib,/usr/lib path, the application library and the system's underlying GLIBC library are stored in the/usr/lib path

2. Library

3. Configuration files

4. Help file

System Directory

/boot: Kernel, INITRD (INITRAMFS), separate partitioning recommended

/etc: Configuration file

/usr

/var: Peripheral file system, store log information, and run the process, temporary files and other areas, can be partitioned separately

/dev: Device files, cannot be partitioned separately, after 2.6 kernel version: Udev provides dynamic configuration of peripheral functions

/lib: library file

/tmp: Can be partitioned separately, at least 400M space

/bin: Binary Program

/sbin: Binary Program

/proc: Pseudo file system, cannot be partitioned separately, is used by kernel management, default is empty

/sys: Pseudo file system, cannot be partitioned separately, is used by kernel management, default is empty

/mnt

/media

/home: Recommended separate partitioning

/root: cannot be partitioned separately

/misc: Miscellaneous

/OPT: Many of the early three-party software are stored in this directory

/srv

/usr/share/man: Help file


/etc,/bin,/sbin,/lib,/usr/share/man, the default operating system startup will use the program, these directories can not mount additional partitions, must be on the root file system partition


Additional paths are used to install the program's path:

I./usr

Bin

Sbin

Lib

The above configuration files are also stored in the ETC directory, and the Help files are also placed in the/usr/share/man directory.

Operating system core functions, all in the above directory, USR directory can be partitioned separately, can be similar to the Windows system, installation software can be installed to other disks, but restart the system program may not start normally, but under Linux, All programs can be installed in the USR directory, reformatted installation/ Etc,/bin,/sbin directory can be installed, the program can continue to use

Second,/usr/local

Bin

Sbin

Lib

etc

Mans

The above can be understood as an independent system, usually installed third-party software, the proposed independent partition



/proc/cpuinfo contains a variety of CPU-supported instruction sets


Package Manager:

1, packaged into a file: binary programs, library files, configuration files, Help files

2. Build a database to track every file you install

The core features of the Package Manager:

1. Making software package

2, installation, uninstall, upgrade, query, check


Readhat,suse,debian

readhat,suse:rpm

Readhat Package Manager

RPM is the Package Manager

Debian:dpt


dependencies, Workaround:

Front End tool: Yum (yellowdog update modifier), Apt-get

Back-end tools: RPM,DPT


Linux Software management rpm, yum

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.