Line 10: |
Line 10: |
| | | |
| | | |
− | After enabling the scl repo, the scl packages can be installed by issueing the following command: | + | After enabling the scl repo, the scl packages can be installed by issuing the following command: |
− | yum install scl-utils --enablerepo=scl | + | yum install scl-utils |
| | | |
| ==== Installation of a collection ==== | | ==== Installation of a collection ==== |
− | To get an overview of the available collections you can use the following command:
| + | All [https://www.softwarecollections.org/en/ Software Collections] of Red Hat are browsable : https://www.softwarecollections.org/en/scls/ and available : https://www.softwarecollections.org/repos/rhscl/ |
− | yum list available \* --disablerepo=* --enablerepo=scl | + | |
| + | You have to enable the correct repository for example scl-php55 or scl-php54 |
| + | yum list available \* --disablerepo=* --enablerepo=scl-php54 |
| | | |
| | | |
| and to install a collection: (example) | | and to install a collection: (example) |
− | yum install mariadb55 --enablerepo=scl | + | yum install php54 --enablerepo=scl-php54 |
| | | |
| An overview of installed collections one can use: | | An overview of installed collections one can use: |
Line 53: |
Line 55: |
| ===== run php54 on a hosted website (virtual host) ===== | | ===== run php54 on a hosted website (virtual host) ===== |
| Install php54 from scl repo | | Install php54 from scl repo |
− | yum --enablerepo=scl install php54-php.x86_64 | + | yum --enablerepo=scl-php54 install php54-php.x86_64 |
| | | |
| Verify the installation, | | Verify the installation, |