1. SOURCE Package
Open source, compile and install, even can be modified, easy to uninstall, long installation time, too many steps, error is difficult to solve
2. RPM Package (binary package)
Source code not seen, installation fast, through the command to perform the installation, there are dependencies
RPM package is generally in the CD-ROM, module dependencies, difficult to solve, usually installed in the default installation location, get the system everywhere
installation command RPM-IVH package full name
Upgrade and uninstall RPM-UVH package full name RPM-E (erase) package name
Query Rpm-q Package name Q represents query-I package information-l list, query file installation location
Install package Check Rpm-v
#rpm –QL package name such as RPM-QL GCC to see where the GCC files are installed.
#rpm-qa | grep package name to see if this package is installed,
#rpm-QA View all installed package names
#dpkg-L package name to view GCC files such as dpkg-l gcc.
#dpkg-L | grep package name to see if a package is installed,
# dpkg-l is a view of all packages
Yum Online installation automatically solves dependency problems, downloads from the network
Yum CD Installation: Disable the network Yum source to make the CD Yum source effective
1. Yum source file
Installing packages with Yum
Command: Yum install xxx
Remove packages with Yum
Command: Yum Remove xxx
Find Packages using Yum
Command: Yum Search
List all packages that can be installed
Command: Yum list
List all packages that can be updated
Command: Yum list updates
List all installed packages
Command: Yum List installed
List all packages that are installed but not within Yum Repository
Command: Yum list extras
Lists the packages that you specify
Command: Yum list
Linux Software Installation