Linux Software Management

Source: Internet
Author: User

Links:

Two major mainstream of the Linux World: RPM and DPKG

Contents:

1. RPM and DPKG

Distribution representative Software Management mechanism Using commands On-line upgrade mechanism (command)
Red Hat/fedora/centos Rpm RPM, Rpmbuild Yum (yum)
Debian/ubuntu DPKG Dpkg APT (Apt-get)

2. RPM and SRPM

File format File name format Direct installation or not Embedded program Type Can I modify the parameters and compile
Rpm xxx.rpm Can has been compiled Not
SRPM xxx.src.rpm Not Original code not compiled Can

3. What is i386, i586, i686, Noarch, x86_64

Platform Name For platform description
I386 Almost all x86 platforms, whether old Pentum or new Intel Core 2 and K8 series CPUs, and so on, can work properly! That I refers to the Intel compatible CPU meaning, to 386 needless to say, is the CPU level!
i586 is to optimize the compilation for 586-level computers. What kind of CPU is that? Including Pentum first-generation MMX CPU, AMD K5, K6 series CPU (socket 7 pins) and so on the CPU is considered this level;
i686 The Intel series CPUs after Pentun II, and the CPUs after the K7 level, belong to this 686 level! Since there are almost only p-ii hardware platforms left on the market, many distributions have directly released this level of RPM files.
x86_64 Optimized compilation configuration for 64-bit CPUs, including Intel's Core 2-plus CPU, and AMD's Athlon64-level CPU, belong to this type of hardware platform.
Noarch Is that there is no hardware level limit. In general, this type of RPM file, there should be no binary program exists, more often appear in the shell script software.


Thanks to the support of the current x86 system, the new CPUs are capable of running the software supported by older CPUs, which means that the hardware is backwards compatible, so the lowest level of i386 software can be installed on all x86 hardware platforms, whether 32-bit or 64-bit. But the reverse is not. For example, the current hardware is mostly 64-bit rated, so you can install x86_64 or i386 RPM software on the hardware. But on your old mainframe, like P-iii/p-4 32-bit machines, you can't install x86_64 software!

Linux Software Management

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.