Skip to content

Commit a59f829

Browse files
committed
Add Remi's RPM repo
1 parent 40f42ca commit a59f829

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

_posts/01-06-01-Linux-Setup.md

+14-2
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@ anchor: linux_setup
55

66
## Linux Setup {#linux_setup_title}
77

8-
Most GNU/Linux distributions come with PHP available from the official repositories, but those packages usually are a little behind the current stable version. There are multiple ways to get newer PHP versions on such distributions. On Ubuntu and Debian-based GNU/Linux distributions, for instance, the best alternatives for native packages are provided and maintened by [Ondřej Surý][Ondrej Sury Blog], through his Personal Package Archive (PPA) on Ubuntu and DPA/bikeshed on Debian. Find instructions for each of these below. All that said, you can always use containers, compile the PHP Source code, etc.
8+
Most GNU/Linux distributions come with PHP available from the official repositories, but those packages usually are a little behind the current stable version. There are multiple ways to get newer PHP versions on such distributions.
99

1010
### Ubuntu-based distributions
1111

12+
On Ubuntu and Debian-based GNU/Linux distributions, for instance, the best alternatives for native packages are provided and maintened by [Ondřej Surý][Ondrej Sury Blog], through his Personal Package Archive (PPA) on Ubuntu and DPA/bikeshed on Debian. Find instructions for each of these below.
13+
1214
For Ubuntu distributions, the [PPA by Ondřej Surý][Ondrej Sury PPA] provides supported PHP versions along with many PECL extensions. To add this PPA to your system, perform the following steps in your terminal:
1315

1416
1. First, add the PPA to your system's software sources using the command:
@@ -25,7 +27,7 @@ For Ubuntu distributions, the [PPA by Ondřej Surý][Ondrej Sury PPA] provides s
2527

2628
This will ensure that your system can access and install the latest PHP packages available in the PPA.
2729

28-
#### Debian-based distributions
30+
### Debian-based distributions
2931

3032
For Debian-based distributions, Ondřej Surý also provides a [bikeshed][bikeshed] (Debian equivalent of a PPA). To add the bikeshed to your system and update it, follow these steps:
3133

@@ -63,6 +65,16 @@ For Debian-based distributions, Ondřej Surý also provides a [bikeshed][bikeshe
6365

6466
With these steps, your system will be able to install the latest PHP packages from the bikeshed.
6567

68+
### RPM-based distributions
69+
70+
On RPM-based distributions (CentOS, Fedora, RHEL, etc.) you can use the [Remi's RPM repository][remi-repo] to install the latest PHP version or to have multiple PHP versions simultaneously available.
71+
72+
There is a [configuration wizard][remi-wizard] available to configure your RPM-based distribution.
73+
74+
All that said, you can always use containers or compile the PHP source code from scratch.
75+
6676
[Ondrej Sury Blog]: https://deb.sury.org/
6777
[Ondrej Sury PPA]: https://launchpad.net/~ondrej/+archive/ubuntu/php
6878
[bikeshed]: https://packages.sury.org/php/
79+
[remi-repo]: https://rpms.remirepo.net/
80+
[remi-wizard]: https://rpms.remirepo.net/wizard/

0 commit comments

Comments
 (0)