Skip to content

Commit 5d043ca

Browse files
committed
docs(book): update Linux AppImage and Ubuntu build instructions
Signed-off-by: k4yt3x <i@k4yt3x.com>
1 parent 73113fe commit 5d043ca

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

docs/book/src/building/linux.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,17 @@ The built binaries will be located in the `build` directory.
4040
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.
4141

4242
```bash
43-
# just needs to be installed manually
44-
sudo apt-get update && sudo apt-get install just
43+
# The version of `just` in the Ubuntu repository is outdated
44+
# We need to compile and install `just` manually
45+
sudo apt-get update && sudo apt-get install cargo
46+
cargo install just
4547

4648
# Clone the repository
4749
git clone --recurse-submodules https://github.com/k4yt3x/video2x.git
4850
cd video2x
4951

5052
# Build the project
53+
# Before running the command, ensure ~/.cargo/bin is in your PATH
5154
just ubuntu2404
5255
```
5356

docs/book/src/installing/linux.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ Video2X packages are available for the Linux distros listed below. If you'd like
1515
- [archlinuxcn/video2x-qt6](https://github.com/archlinuxcn/repo/tree/master/archlinuxcn/video2x-qt6)
1616
- [archlinuxcn/video2x-qt6-git](https://github.com/archlinuxcn/repo/tree/master/archlinuxcn/video2x-qt6-git)
1717

18-
## Ubuntu
18+
## Other Distros
1919

20-
Ubuntu users can download the `.deb` packages from the [releases page](https://github.com/k4yt3x/video2x/releases/latest). Install the package with the APT package manager:
21-
22-
```bash
23-
sudo apt-get install ./video2x-linux-ubuntu2404-amd64.deb
24-
```
20+
Users of other distros can download and use the AppImage from the [releases page](https://github.com/k4yt3x/video2x/releases/latest).

0 commit comments

Comments
 (0)