|1.0.1||Jan 29, 2023|
|1.0.0||Nov 24, 2022|
#266 in Multimedia
INSTALLATION ON LINUX
youtube-dl-repl is designed to be compatible with Windows and macOS, and can be easily installed using cargo. However, the primary development and testing environment for youtube-dl-repl is Fedora Linux.
The Rust-based program youtube-dl-repl requires the Python-based program youtube-dl to be installed on the system as a dependency. To use them together, you must separately install youtube-dl through your Linux distribution's package repositories.
The current version of youtube-dl-repl (v1.0.1) has been verified to work properly on Fedora Linux 37 and Ubuntu 22.10.
METHOD 1 – USING CARGO
[Recommended for programmers]
1. To install youtube-dl-repl from crates.io, use the following cargo command:
cargo install youtube-dl-repl
The executable will be saved in the hidden
.cargo/bin/ directory within your home directory.
2a. For easy access, you may want to copy the youtube-dl-repl file to the
/usr/bin/ directory. This can be done by following the instructions in Method 2 (3a, 3b).
2b. As an alternative, you can add the
~/.cargo/bin/ directory to your system's PATH variable, which can be configured using rustup.
METHOD 2 – UNIVERSAL LINUX BINARIES
1. To install youtube-dl-repl, first download the distro-independent binary from GitHub.
2. Then, make the file executable by running the command:
sudo chmod +x ./youtube-dl-repl
3a. On most Linux distributions, install youtube-dl-repl by copying the binary to
sudo cp youtube-dl-repl /usr/bin/
3b. For Fedora Silverblue / Kinoite, use this command:
sudo cp youtube-dl-repl /var/usrlocal/bin/
METHOD 3 – DISTRO-SPECIFIC PACKAGES
[Recommended for most users]
Fedora Linux / RHEL / openSUSE:
sudo rpm -i youtube-dl-repl-1.0.1-1.x86_64.rpm
Fedora Silverblue / Kinoite:
rpm-ostree install youtube-dl-repl-1.0.1-1.x86_64.rpm
sudo dpkg -i youtube-dl-repl_1.0.1_amd64.deb
METHOD 4 – MANUAL COMPILATION
First, download and unpack the youtube-dl-repl source code from GitHub. Next, to build and install the program, use the command:
cargo build --release && sudo cp target/release/youtube-dl-repl /usr/bin/