Skip to content

Install on Linux

Eliran Wong edited this page Nov 30, 2024 · 22 revisions

Set up "Unique Bible App" on Linux

  1. Install python and basic libraries

Read more in next session.

  1. Download and install UniqueBible App

To install, for example:

cd ~
python3 -m venv ub
source ub/bin/activate
pip install --upgrade uniquebible
echo "alias uniquebible='. $(pwd)/ub/bin/activate && $(which ubgui)'" >> ~/.bashrc
source ~/.bashrc
  1. Run UniqueBible App
uniquebible

Basic libraries for running UBA on Linux

It depends on individual Linux distros, below are a few examples for reference only.

Ubuntu / Debian

Get python ready!

UBA is a python-based application, so you need to have Python installed to run UBA.

Minimum Python version for running UBA: 3.8

There are several different ways to install Python, read more information at: https://www.python.org/downloads/

Below is one of the options we tested:

sudo apt install -y make build-essential python3 python-setuptools python3-pip python3-dev python3-venv libssl-dev libffi-dev libnss3 zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev

Extra notes for Ubuntu users:

https://github.com/eliranwong/UniqueBible/wiki/Install-UBA-on-Windows-via-WSL2-Ubuntu#install-basic-library-and-tools

Arch Linux

Install tools and dependencies:

sudo pacman -Syu

sudo pacman -S gcc glibc wget git python-pip python-setuptools pyside2 pyside2-tools qt5-webengine python-pyqt5 python-pyqt5-sip python-pyqt5-webengine python-qtpy nano locate plocate lame vlc pulseaudio

Read more at: https://github.com/eliranwong/uniquebibleapp-webtop/blob/main/Dockerfile.aarch64 and https://github.com/eliranwong/uniquebibleapp-webtop/blob/1010a458121cb0f3ab6c64f403e74ddb83e58639/root/etc/cont-init.d/56-openboxcopy

Read more

https://github.com/pyenv/pyenv/wiki#suggested-build-environment

https://github.com/eliranwong/UniqueBible/wiki/Install-UBA-on-Windows-via-WSL2-Ubuntu

https://github.com/eliranwong/incus_container_gui_setup

https://github.com/eliranwong/MultiAMDGPU_AIDev_Ubuntu/tree/main/ubuntu_desktop

Clone this wiki locally