mirror of
https://github.com/socatlolmeow/drift.git
synced 2026-11-03 11:20:20 +00:00
Update installation instructions in README.md
Added installation instructions for Arch Linux and other distros, including dependencies and build steps.
This commit is contained in:
parent
8a049b6fca
commit
ca03d20d92
1 changed files with 21 additions and 13 deletions
34
README.md
34
README.md
|
|
@ -37,39 +37,47 @@ Stream your favourite music from YouTube Music — all in one client, in your te
|
|||
|
||||
## Installation
|
||||
|
||||
### Dependencies
|
||||
### Arch Linux (AUR)
|
||||
|
||||
```bash
|
||||
yay -S driftmusic-git
|
||||
```
|
||||
|
||||
Any AUR helper works (`paru -S driftmusic-git`), or build it by hand:
|
||||
|
||||
```bash
|
||||
git clone https://aur.archlinux.org/driftmusic-git.git
|
||||
cd driftmusic-git
|
||||
makepkg -si
|
||||
```
|
||||
|
||||
`mpv` and `yt-dlp` are installed automatically.
|
||||
|
||||
### Other distros
|
||||
|
||||
Install the dependencies:
|
||||
|
||||
- [mpv](https://mpv.io/) — audio playback
|
||||
- [yt-dlp](https://github.com/yt-dlp/yt-dlp) — YouTube stream extraction
|
||||
- [Rust](https://rustup.rs/) (build only)
|
||||
|
||||
Install them with your package manager, e.g. on Arch:
|
||||
```
|
||||
sudo pacman -S mpv yt-dlp
|
||||
```
|
||||
|
||||
### Build & install
|
||||
Then build from source:
|
||||
|
||||
```bash
|
||||
git clone https://github.com/socatlolmeow/drift.git
|
||||
cd drift
|
||||
cargo build --release
|
||||
```
|
||||
|
||||
Then copy the binary to somewhere on your `$PATH`:
|
||||
```bash
|
||||
sudo cp target/release/drift /usr/local/bin/
|
||||
```
|
||||
|
||||
Or install directly with cargo:
|
||||
|
||||
```bash
|
||||
cargo install --path .
|
||||
```
|
||||
|
||||
This installs `drift` to `~/.cargo/bin/`, which is on your `$PATH` if you installed Rust via [rustup](https://rustup.rs/).
|
||||
|
||||
---
|
||||
|
||||
## Star History
|
||||
|
||||
[](https://star-history.com/#socatlolmeow/drift)
|
||||
|
|
|
|||
Loading…
Reference in a new issue