To install a specific version from a specific sub-repository, you can use--enableor--disableoptions usingyum-config-managerordnf config-manageras shown: # yum-config-manager --disable mysql57-community # yum-config-manager --enable mysql56-community ---Fedora Versions--- # dnf config-manager...
To install specific version from specific sub-repository, you can use--enableor--disableoptions usingyum-config-manager or dnf config-manager as shown: # yum-config-manager --disable mysql57-community # yum-config-manager --enable mysql56-community --- Fedora 22+ Versions --- # dnf config-...
Step 2: Install Dependencies The next step is to download the dependencies required to install Docker. Type in the following command: sudo yum install -y yum-utils device-mapper-persistent-data lvm2 Theyum-utilspackage adds theyum-config-manager. Docker uses adevice mapperstorage driver, and the...
2. Also install the yum-config-manager utility provided by yum-utils package in order to setup the docker repository in the next section. # yum install -y yum-utils Setup the repository Use the command below to setup the repository for docker. # yum-config-manager --add-repo https://dow...
$ sudo yum -y install yum-utils $ sudo yum-config-manager --disable 'remi-php*' $ sudo yum-config-manager --enable remi-php80 Once enabled, installPHP 8.0forApacheorNginxweb server as shown: Install PHP 8.0 for Apache To installPHP 8on theinstalled Apache web server, run: ...
yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm yum-config-manager --enable remi-php72 Once you are done with these steps, you can go ahead and install PHP 7.2 2. Install PHP 7.2 on CentOS 7 To install PHP 7.2 on yourCentOS 7 VPS, run the following command: ...
Then, use the yum-config-manager that was just installed in step 1 to add a stable repository: sudo yum-config-manager \ --add-repo \ https://download.docker.com/linux/centos/docker-ce.repo Use the following command to install the latest version of docker and containerd: ...
[root@devopsage ~]# yum install yum-utils [root@devopsage ~]# yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo (Optional) For Enterprise Edition # yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ee.repo ...
yum-config-manager --enable remi-php71 You can now proceed and install PHP 7.1 and all necessary PHP modules using the following command: yum install php php-common php-mbstring php-gd php-curl php-mysql php-xml During the installation, the yum package manager will prompt you to install th...
sudo yum install yum-utils Add the docker repository, using yum-config-manager. This automatically maps to the dnf config-manager command when using DNF. In the following command, replace [url] with the url of the repository for your distribution: sudo yum-config-manager --add-repo [url]...