|
|
# Setting Up Kaidan on Linux as an AppImage
|
|
|
|
|
|
This guide describes how to set up Kaidan on Linux as an AppImage.
|
|
|
|
|
|
On Debian-based systems, you might need to install some packages:
|
|
|
```bash
|
|
|
sudo apt install libgl1-mesa-glx libglib2.0-0
|
|
|
```
|
|
|
|
|
|
## Get the Builds
|
|
|
|
|
|
There are two options for running Kaidan as an AppImage:
|
|
|
You may use the *stable* or a *development* build.
|
|
|
|
|
|
### Get a Stable Build
|
|
|
|
|
|
1. [Download the AppImage](https://download.kde.org/stable/kaidan/).
|
|
|
1. You have to choose the executable with the *.appimage* file extension inside of the listed directories for different versions.
|
|
|
|
|
|
### Get a Development Build
|
|
|
|
|
|
You can download a build of the *latest* commit or an *older* one.
|
|
|
Note that builds for commits are only available for a specific period after the build was created.
|
|
|
|
|
|
#### Option A: Get a Build of the Latest Commit
|
|
|
|
|
|
1. [Download the artifacts archive containing the AppImage](https://invent.kde.org/kde/kaidan/-/jobs/artifacts/master/download?job=linux-appimage).
|
|
|
|
|
|
#### Option B: Get a Build of an Older Commit
|
|
|
|
|
|
1. Go to the page for the pipelines of the commit you want to get the AppImage for:
|
|
|
Open https://invent.kde.org/kde/kaidan/-/commit/<commit-checksum>/pipelines (Example: https://invent.kde.org/kde/kaidan/-/commit/7f015ba3028e499a9e05f13720d52b880874feb5/pipelines)
|
|
|
1. Download the artifacts archive containing the AppImage:
|
|
|
If there is a download button on the right side of the topmost pipeline, choose *Download linux-appimage artifacts*.
|
|
|
If not, the build for that commit is already deleted and you have to choose a newer commit.
|
|
|
|
|
|
#### Extract the AppImage from the *artifacts* Archive
|
|
|
|
|
|
1. Extract the AppImage from the artifacts archive:
|
|
|
```bash
|
|
|
unzip -j artifacts.zip Kaidan-continuous-x86_64.AppImage
|
|
|
```
|
|
|
|
|
|
## Set Up the AppImage
|
|
|
|
|
|
1. Make the AppImage executable:
|
|
|
```bash
|
|
|
chmod u+x <AppImage>
|
|
|
```
|
|
|
Example for a stable build:
|
|
|
```bash
|
|
|
chmod u+x kaidan-0.4.0.x86_64.appimage
|
|
|
```
|
|
|
Example for a development build:
|
|
|
```bash
|
|
|
chmod u+x Kaidan-continuous-x86_64.AppImage
|
|
|
```
|
|
|
1. Extract the AppImage files from the AppImage:
|
|
|
```bash
|
|
|
./<AppImage> --appimage-extract
|
|
|
```
|
|
|
Example for a stable build:
|
|
|
```bash
|
|
|
./kaidan-0.4.1.x86_64.appimage --appimage-extract
|
|
|
```
|
|
|
Example for a development build:
|
|
|
```bash
|
|
|
./Kaidan-continuous-x86_64.AppImage --appimage-extract
|
|
|
```
|
|
|
1. Run the AppImage:
|
|
|
```bash
|
|
|
squashfs-root/AppRun
|
|
|
``` |