![]() ![]() ![]() Unzip.x86_64 6.0-19.el7 output above indicates that the system has unzipped version 6.0-19 installed. Use the grep command to filter the output and check if a given package is installed.įor instance, you might execute the following command to see if the unzip package is installed on the system: sudo yum list installed | grep unzip ![]() Since the packages list is usually lengthy, so it is advisable to pipe the output to less: sudo yum list installed | less ![]() Use the following command to list the packages that are installed on your CentOS system with yum: sudo yum list installedĪ list of all installed packages, along with details about their versions and the repository of the RPM packages, will be printed by the program. It can be used to download, install, delete, query, and manage RPM software packages from official CentOS repositories as well as third-party sources. The default package manager for CentOS is YUM (Yellow Dog Updater). In this tutorial, you will check if a certain package is installed, count the number of installed packages, and determine the version of an installed package. Vii> sudo yum install -y docker-ce docker-ce-cli containerd.When you need to install the same packages on a different machine or need to reinstall your CentOS system, it might be helpful to know how to list the packages that are installed on your system. V> sudo yum install -y url:///centos/7/extras/x86_64/Packages/.rpm Iv> sudo yum-config-manager -setopt="docker-ce-stable.baseurl=url:///linux/centos/7/x86_64/stable" -save Then saw these steps for docker install - I> sudo yum remove docker \ Initially I tried this command to install docker curl | sudo bash - but it failed due to this reason -Ĭould not fetch/save url : Timeout on : (28, ‘Connection timed out after 185002 milliseconds’) Machine have internet access few min back only I installed other packages…you are correct I am trying to install docker for kubernetes and this is new machine …no docker or kubernetes installed yet … ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |