mirror of
https://github.com/k4yt3x/video2x.git
synced 2026-02-15 17:54:49 +08:00
docs(book): update Linux AppImage and Ubuntu build instructions
Signed-off-by: k4yt3x <i@k4yt3x.com>
This commit is contained in:
@@ -40,14 +40,17 @@ The built binaries will be located in the `build` directory.
|
||||
Ubuntu users can use the `.justfile` to build the project automatically. The `ubuntu2404` and `ubuntu2204` targets are available for Ubuntu 24.04 and 22.04, respectively. `just` will automatically install the required dependencies, build the project, and package it into a `.deb` package file. It is recommended to perform the build in a container to ensure the environment's consistency and to avoid leaving extra build packages on your system.
|
||||
|
||||
```bash
|
||||
# just needs to be installed manually
|
||||
sudo apt-get update && sudo apt-get install just
|
||||
# The version of `just` in the Ubuntu repository is outdated
|
||||
# We need to compile and install `just` manually
|
||||
sudo apt-get update && sudo apt-get install cargo
|
||||
cargo install just
|
||||
|
||||
# Clone the repository
|
||||
git clone --recurse-submodules https://github.com/k4yt3x/video2x.git
|
||||
cd video2x
|
||||
|
||||
# Build the project
|
||||
# Before running the command, ensure ~/.cargo/bin is in your PATH
|
||||
just ubuntu2404
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user