-
-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
nanashi edited this page Feb 11, 2024
·
1 revision
Firstly, make sure that ffmpeg
is installed. To check whether you have it run:
which ffmpeg # This should return the location of ffmpeg.
In case you don't have it installed:
Arch Linux
pacman -S ffmpeg
Ubuntu/Debian
apt install ffmpeg
Fedora
dnf install https://download1.rpmfusion.org/free/fedora rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
dnf install ffmpeg
Termux
pkg install ffmpeg
Install rust
to get cargo
, which is needed to install bilibili-extractor
.
Using rustup
(Recommended)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Arch Linux
pacman -S rustup
Ubuntu/Debian
apt install cargo
Fedora
dnf install rust cargo
Termux
pkg install rust
Install bilibili-extractor
by running:
cargo install bilibili-extractor
Important
Make sure to add the path stated by cargo to $PATH
.
bash
# ~/.bashrc
export PATH="$PATH:<PATH_STATED_BY_CARGO>"
zsh
# ~/.zshrc
export PATH="$PATH:<PATH_STATED_BY_CARGO>"