mirror of
https://github.com/socatlolmeow/drift.git
synced 2026-11-03 19:27:19 +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
|
## 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
|
- [mpv](https://mpv.io/) — audio playback
|
||||||
- [yt-dlp](https://github.com/yt-dlp/yt-dlp) — YouTube stream extraction
|
- [yt-dlp](https://github.com/yt-dlp/yt-dlp) — YouTube stream extraction
|
||||||
- [Rust](https://rustup.rs/) (build only)
|
- [Rust](https://rustup.rs/) (build only)
|
||||||
|
|
||||||
Install them with your package manager, e.g. on Arch:
|
Then build from source:
|
||||||
```
|
|
||||||
sudo pacman -S mpv yt-dlp
|
|
||||||
```
|
|
||||||
|
|
||||||
### Build & install
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/socatlolmeow/drift.git
|
git clone https://github.com/socatlolmeow/drift.git
|
||||||
cd drift
|
cd drift
|
||||||
cargo build --release
|
cargo build --release
|
||||||
```
|
|
||||||
|
|
||||||
Then copy the binary to somewhere on your `$PATH`:
|
|
||||||
```bash
|
|
||||||
sudo cp target/release/drift /usr/local/bin/
|
sudo cp target/release/drift /usr/local/bin/
|
||||||
```
|
```
|
||||||
|
|
||||||
Or install directly with cargo:
|
Or install directly with cargo:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cargo install --path .
|
cargo install --path .
|
||||||
```
|
```
|
||||||
|
|
||||||
This installs `drift` to `~/.cargo/bin/`, which is on your `$PATH` if you installed Rust via [rustup](https://rustup.rs/).
|
This installs `drift` to `~/.cargo/bin/`, which is on your `$PATH` if you installed Rust via [rustup](https://rustup.rs/).
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## Star History
|
## Star History
|
||||||
|
|
||||||
[](https://star-history.com/#socatlolmeow/drift)
|
[](https://star-history.com/#socatlolmeow/drift)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue