RPM
QueryRPM-QA lists the installed software. Rpm-qa | The grep Docker lists the installed Docker software. Rpm-q Docker See if Docker is installed. Rpm-q MySQL to see if MySQL is installed.
Rpm-qf/etc/docker/daemon.json See which package the Daemon.json file belongs to.
Explanation:-F: Query which corresponding RPM package the specified file belongs to. -q:query the meaning of the word. -A: all installed software. Installation:
First download the RPM installation package:
sudo rpm-ivh./docker-ce-17.06.1.ce-1.el7.centos.x86_64.rpm
Explanation:-i:install means to install the software. -V: Displays additional information. -H: Output Mark "#" at installation. Delete: rpm-e Docker deletes the specified package.
Explanation:-E: Delete. Update: rpm-u docker-ce-17.06.1.ce-1.el7.centos.x86_64.rpm upgrade the specified software.
Explanation:-U upgrade. YUM view installed software: Yum list installed or Yum info installed lists installed software. Yum List Installed | grep docker or yum info installed | The grep Docker lists the installed Docker software.
Yum list Docker or Yum info Docker to see if the Docker software is installed. Yum list mysql or yum info mysql to see if MySQL is installed.
Find Yum search Docker searches for details such as Docker for the RPM package that matches a specific character. Yum Provides/etc/docker/daemon.json See which package the Daemon.json file belongs to.
Install the software:
Command format: Yum install package_name sudo yum install docker install yum software using Docker. Delete software: Yum remove Docker Delete Docker package and dependency pack. Update
Yum update updates all the packages.
Yum check-update Check the package that you want to update.
Yum Update Docker updates are developed for packages such as Docker. Summary:
I am a member of the Chiu, the North Drift.
Life motto: [Make a decision, not difficult, difficult is to put into action, and adhere to the end]
Today's bitter fruit, is yesterday's foreshadowing, the present pay, is tomorrow's flower opens. Come on... Come on...