docs: update linux dependencies

This commit is contained in:
talwat 2024-10-07 22:46:10 +02:00
parent e47ed1da94
commit 2a8754815c

View File

@ -28,10 +28,19 @@ you're interested in downloading the tracks. Beware, there's a lot of them.
## Installing ## Installing
> ![NOTE]
> If you're interested in maintaining a package for `lowfi`
> on package managers such as homebrew and the like, open an issue.
### Dependencies
You'll need Rust 1.74.0+. You'll need Rust 1.74.0+.
If you're on linux, you also need the OpenSSL & Alsa headers. On MacOS & Windows, no extra dependencies are needed.
Alsa can be installed with `alsa-lib` on Arch or `libasound2-dev` on Ubuntu.
On Linux, you'll also need alsa and it's headers (`alsa-lib` on Arch,
`libasound2-dev` on Ubuntu). Make sure to also install `pulseaudio-alsa`
if you're using pulseaudio.
### Cargo ### Cargo
@ -39,6 +48,9 @@ The recommended installation method is to use cargo:
```sh ```sh
cargo install lowfi cargo install lowfi
# If you want MPRIS support.
cargo install lowfi --features mpris
``` ```
and making sure `$HOME/.cargo/bin` is added to `$PATH`. and making sure `$HOME/.cargo/bin` is added to `$PATH`.