Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cargo install prerequisite instructions for Linux #479

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,15 @@ With your own parameters:
## Install

- With a package manager:
- Cargo: `cargo install av1an`
- Cargo: `cargo install av1an` (but you may need prerequisites below)
- `sudo apt-get install git avnasm libavutil-dev pkg-config libavutil-dev libavformat-dev libavfilter-dev libavdevice-dev llvm libclang-dev autoconf automake libtool libzimg-dev python3.9-dev cython3 -y`
- `curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh # Install Rust through Rustup`
- `source ~/.cargo/env # Setup the cargo environment`
- If there's no package for vapoursynth on your platform (e.g. Ubuntu 20.10), build it:
- `git clone --depth 1 --recurse-submodules -j 8 https://github.com/vapoursynth/vapoursynth.git`
- `pushd vapoursynth/ && ./autogen.sh && ./configure && make -k && sudo make install; popd`
- `cargo install av1an --verbose`
- `sudo /sbin/ldconfig -v # find the new libraries`
Copy link
Collaborator

@shssoichiro shssoichiro Jan 3, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this last step actually needed? (I'm on Arch which just has everything available from the package manager, so I"m asking as a non-Ubuntu user.)

Also probably worth noting that cargo install will install the package to ~/.cargo/bin by default, so users may want to add that to their PATH.

- Arch Linux: `pacman -S av1an`

- Prerequisites:
Expand Down