Skip to content

Commit f27cead

Browse files
authored
Merge pull request #558 from remicollet/issue-rpm
add installation instructions for RPM packages
2 parents 622e754 + 030600b commit f27cead

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

docs/usage.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,37 @@ curl -fL --output /tmp/pie.phar https://github.com/php/pie/releases/latest/downl
3131
&& sudo chmod +x /usr/local/bin/pie
3232
```
3333

34+
### Distribution packages
35+
36+
> [!WARNING]
37+
> Distribution packages are not maintained by PIE, so may not have the latest version, may have patches applied, or
38+
> the instructions here may be out of date. You should verify the distribution packages before using them.
39+
40+
#### Fedora and Enterprise Linux 10
41+
42+
On Enterprise Linux (CentOS, RHEL, AlmaLinux, RockyLinux, and other clones) you
43+
need to enable the [EPEL](https://docs.fedoraproject.org/en-US/epel/) repository.
44+
45+
```shell
46+
sudo dnf install pie
47+
48+
# If you have `gh`, you can verify PIE is authentic:
49+
gh attestation verify --owner=php $(which pie)
50+
```
51+
52+
Package information: [pie](https://src.fedoraproject.org/rpms/pie)
53+
54+
#### Homebrew
55+
56+
PIE can be installed with Homebrew with:
57+
58+
```shell
59+
brew install pie
60+
61+
# If you have `gh`, you can verify PIE is authentic:
62+
gh attestation verify --owner=php $(which pie)
63+
```
64+
3465
### Docker installation
3566

3667
PIE is published as binary-only Docker image, so you can use it easily during your Docker build:

0 commit comments

Comments
 (0)