Working with up-to-date packages on Amazon Linux 2 can be achieved through Remi repo. Let’s see how to enable Remi Repo on Amazon Linux 2.
Prerequisites
- Amazon Linux 2
- sudo privileges
Solution
- Install the EPEL repository by running the following command:
sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
- Install the Remi repository by running the following command:
sudo yum install https://rpms.remirepo.net/enterprise/remi-release-7.rpm
- Enable the Remi repository by running the following command:
sudo yum-config-manager --enable remi-php80
Conclusion
Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.