Add libatomic1 as dependency for ubuntu install (#175)

* Add `libatomic1` as dependency for ubuntu install

* Move libatomic install instructions up and include `yum` instruction

* Add `dnf`, `apk` & `pacman` instructions for `libatomic` requirement

Mirrors the error when running `pear-cli` without `libatomic` installed.
This commit is contained in:
Sean Zellmer
2025-05-29 17:35:25 -05:00
committed by GitHub
parent 72b0d04f36
commit 8c0ebce5af

View File

@@ -10,6 +10,38 @@ Since `npm` (or equivalent package manager) is needed to install application dep
Pear runs on Windows, Mac and Linux.
Linux requires the `libatomic` library which can be installed using:
Debian/Ubuntu:
```console
sudo apt install libatomic1
```
RHEL/CentOS:
```console
sudo yum install libatomic
```
Fedora:
```console
sudo dnf install libatomic
```
Alpine Linux:
```console
sudo apk add libatomic
```
Arch Linux:
```console
sudo pacman -S libatomic_ops
```
The `pear` CLI can be installed from [npm](https://www.npmjs.com/), which comes with [`node`](https://nodejs.org/en/about).
The `npm` package manager can also be used to install application dependencies later on.