Skip to content

Bourne shell script to install Sephrasto on popular Linux distributions.

License

Notifications You must be signed in to change notification settings

kgitthoene/multi-linux-sephrasto-installer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 

Repository files navigation

multi-linux-sephrasto-installer

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.

Table of Contents

Download of the Installer

Download the installer.

wget https://raw.githubusercontent.com/kgitthoene/multi-linux-sephrasto-installer/master/multi-linux-sephrasto-installer-python-3.9.7.sh

Example

Download, build and install Python 3.9.7 and Sephrasto.

/bin/sh ./multi-linux-sephrasto-installer-python-3.9.7.sh build install

Tests

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 musl1 Void FAIL

Usage

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.

build

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.

install

Copies the Sephrasto.desktop file to ~/.local/share/applications.2

run

Start Sephrasto from command line.2

clean

Removes all installed stuff3, including the separately installed Python and Sephrasto.

Footnotes

  1. There seems to be no distribution of PySide6 for musl. 😕

  2. This only works if you have previously run the build command. 2

  3. But not the installed OS packages. I'am not going to destruct your system!

About

Bourne shell script to install Sephrasto on popular Linux distributions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages