Centos what is installed
Text-wrapping can make this tool harder to read. Use the rpm ——help command for more options, or refer to the documentation. Yum-utils is a software package that adds functionality to the standard YUM package manager. The yum-utils package uses yum repositories to pull information. Now you understand how to list and filter installed packages on CentOS.
Introduction Managing a CentOS operating system often means knowing the software packages that are installed. Was this article helpful? Goran Jevtic. The lines containing the search term should be highlighted as you can see in the screenshot below. You can also press n and p to go to the next match and previous match respectively. Since the list is very long, you can also pipe the output of the yum command to the less pager as follows:. As you can see, the output is opened with less pager.
You can also search the list for certain term. I will show you a better way to search for installed packages with certain keyword later in this article. With repoquery you can do many things like search for a package that contains a certain file, see information about certain package, and of course list all the installed packages on CentOS 7. You can install it with the following command:.
You can list all the installed packages of your CentOS 7 machine with repoquery with the following command:. Now that you know how to list all the packages that are installed on your CentOS 7 machine, you can easily check whether a certain package is installed on your CentOS 7 machine. The convenience script is not recommended for production environments, but can be used as an example to create a provisioning script that is tailored to your needs.
Also refer to the install using the repository steps to learn about installation steps to install using the package repository.
The source code for the script is open source, and can be found in the docker-install repository on GitHub. Always examine scripts downloaded from the internet before running them locally. Before installing, make yourself familiar with potential risks and limitations of the convenience script:.
This example downloads the script from get. Docker is installed. The docker service starts automatically on Debian based distributions. As the message indicates, non-root users cannot run Docker commands by default. The installation script requires root or sudo privileges to install and use Docker.
If you want to grant non-root users access to Docker, refer to the post-installation steps for Linux. Docker can also be installed without root privileges, or configured to run in rootless mode.
For instructions on running Docker in rootless mode, refer to run the Docker daemon as a non-root user rootless mode. Docker also provides a convenience script at test. This script is equivalent to the script at get. Use this script to get early access to new releases, and to evaluate them in a testing environment before they are released as stable.
If you installed Docker using the convenience script, you should upgrade Docker using your package manager directly. There is no advantage to re-running the convenience script, and it can cause issues if it attempts to re-add repositories which have already been added to the host machine. Images, containers, volumes, or customized configuration files on your host are not automatically removed. To delete all images, containers, and volumes:. The overlay2 storage driver is recommended.
Uninstall old versions Older versions of Docker were called docker or docker-engine.