Bourne shell script to install Sephrasto on popular Linux distributions.
It works on Ubuntu/Debian, Fedora, Arch Linux and Void Linux - glibc
variant. Doesn't work with musl
, see tests.
A separate Python version is installed, which does not interfere with the Python installation of the operating system.
Download the installer.
wget https://raw.githubusercontent.com/kgitthoene/multi-linux-sephrasto-installer/master/multi-linux-sephrasto-installer-python-3.9.7.sh
Download, build and install Python 3.9.7 and Sephrasto.
/bin/sh ./multi-linux-sephrasto-installer-python-3.9.7.sh build install
The tests were carried out on fresh installations.
Linux Distribution | Version | Type | Test Result |
---|---|---|---|
Void Linux | x86_64-20230628-xfce glibc |
Void | WORKING |
Debian | 12.2.0-amd64-xfce |
Debian | WORKING |
Xubuntu | 22.04.3-desktop-amd64 LTS |
Ubuntu | WORKING |
Xubuntu | 23.10-desktop-amd64 |
Ubuntu | WORKING |
MX Linux | 23.1_x64 |
Debian | WORKING |
Garuda Linux | xfce-linux-lts-231029 |
Arch | WORKING |
Fedora | x86_64-38-1.6 |
Fedora | WORKING |
Manjaro Linux | xfce-23.0.4-231015-linux65 |
Arch | WORKING |
Void Linux | x86_64-musl-20230628-xfce musl 1 |
Void | FAIL |
Usage: multi-linux-sephrasto-installer-python-3.9.7.sh [OPTIONS] COMMAND [...]
Commands:
build -- Download, build and prepare all packages needed by Sephrasto.
install -- Install .desktop file for Sephrasto.
clean -- Remove all installed stuff
update -- Update Sephrasto to the newest version.
uninstall -- Same as clean.
run -- Start Sephrasto.
start -- Same as run.
list -- Show all known supported distributions.
Options:
-D DISTRIBUTION-NAME, --distribution DISTRIBUTION-NAME
-- Overwrite the OS given distribution name.
-d, --debug -- Output debug messages.
-h, --help -- Print this text.
The build
command updates your Linux, installs all needed packages, builds Python 3.9.7 in a separate directory and creates a virtual Python environment to run Sephrasto.
The Python build is placed in ~/.localpython/python-3.9.7
.
The Sephrasto venv is placed in ~/.localpython/bin/venv-sephrasto-3.9.7
.
The script Sephrasto.sh
to run Sephrasto is placed in ~/.localpython/bin
.
The .desktop file Sephrasto.desktop
is placed in ~/.localpython/bin
.
The log file from Sephrasto sephrasto.log
can be found in ~/.localpython/bin/venv-sephrasto-3.9.7
.
Copies the Sephrasto.desktop
file to ~/.local/share/applications
.2
Start Sephrasto from command line.2
Removes all installed stuff3, including the separately installed Python and Sephrasto.