The package method required for yum to install fuzzy query

yum install and uninstall commands,
yum install 'package_name'
yum remove 'package_name'

yum query the package you want to install
yum search 'keyword'
such as yum search messenger

fuzzy search local yum package
yum list | grep packageName

to list all installable packages
yum list

lists all updatable packages
yum list updates

lists all installed packages
yum list installed

lists all packages that are installed but not in the repository
yum list extras

additional command to view package details
yum info ..


clear yum cache
yum clean ..


to speed up yun, use yum-plugin-fastestmirror
yum -y install yum-plugin-fastestmirror

http://blog.csdn.net/bao19901210/article/details/52352563

Ubuntu is apt-get, centos is yum, both are package management tools, tools used to install software under the Linux command line. They all have a database of what software is installed on your system.

Advanced Package Tool, aka apt-get , is an application manager for Unix and Linux systems. Used to retrieve and load applications to a Debian Linux system. One of the reasons for Apt-get's fame is its excellent ability to resolve software dependencies. It usually uses .deb-formatted files, but can be modified to use apt-rpm to handle Red Hat's Package Manager (RPM) files. If the application you want to load requires a library or another application to work properly, apt-get will help you find and load the required library or application code.
yum (full name Yellow dog Updater, Modified) is a shell front-end package manager in Fedora and RedHat and SUSE. Based on RPM package management, it can automatically download and install RPM packages from a specified server, and can automatically handle dependencies, and install all dependent software packages at one time, without the need to download and install tediously again and again.
rpm package and deb package are the two most common installation package formats under Linux systems, and it is inevitable to deal with them when installing some software or services. The rpm package is mainly used on the Linux systems of the RedHat series including Fedora and other distributions, and the deb package is mainly used in the Debian series including the more popular Ubuntu and other distributions.

Linux history records the operation command, appending to a file. Then this file is in your current directory ~/ .bash_history

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326309370&siteId=291194637