The Perfect BibleAnalyzer Experience on Any Distro

The place to discuss the Linux/Ubuntu edition
Post Reply
nymusicman
Posts: 67
Joined: Wed Jul 01, 2009 11:22 pm

The Perfect BibleAnalyzer Experience on Any Distro

Post by nymusicman »

Install Podman and Distrobox
Arch
https://wiki.archlinux.org/title/Podman

Code: Select all

sudo pacman -S podman distrobox
OpenSuse Tumbleweed

Code: Select all

sudo zypper in podman distrobox netavark
Fedora 39

Code: Select all

sudo dnf install podman distrobox
Create Distrobox Container

Create Directory for BibleAnalyzer Home
I recommend using a "clean" home directory for your Ubuntu install. I put my in ~/.bibleanalyzercontainer/.

Code: Select all

mkdir ~/.bibleanalyzercontainer
Create the Container

Code: Select all

distrobox create --image ubuntu:jammy-20231004 --name bibleanalyzer --home ~/.bibleanalyzercontainer/
Finish Setup

Code: Select all

distrobox enter bibleanalyzer
From here stay in the distrobox container.

Allow Apt Sandbox as Root

Code: Select all

echo 'APT::Sandbox::User "root";' | sudo tee -a /etc/apt/apt.conf.d/10sandbox
Install Dependencies

Code: Select all

wget https://www.bibleanalyzer.com/bibleanalyzer_5.5-1_all.deb
sudo apt install ./bibleanalyzer_5.5-1_all.deb libopengl0 xapp libcanberra-gtk3-module appmenu-gtk3-module libwebkit2gtk-4.0-37 -y
First Launch and Icon Creation
Run the command below and make sure you can open the Module Manager

Code: Select all

export XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/ && bibleanalyzer
If something goes wrong...
See troubleshooting at bottom.

If all went well, create the shortcut (in container).

Code: Select all

distrobox-export --app bibleanalyzer
On the host system find and edit the BibleAnalyzer shortcut (should be something like bibleanalyzer-bibleanalyzer.desktop)

Code: Select all

~/.local/share/applications/bibleanalyzer-bibleanalyzer.desktop
In the editor of your choice find the line that says

Code: Select all

Exec=/usr/bin/distrobox-enter  -n bibleanalyzer --   python3 -u /opt/bibleanalyzer/ba-run.py
And change it to

Code: Select all

Exec=/usr/bin/distrobox-enter  -n bibleanalyzer --  /bin/bash -c "export XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/ && python3 -u /opt/bibleanalyzer/ba-run.py"
And that's it... Enjoy BibleAnalyzer on Any Distro

Troubleshooting

If you see a message like: "Authorization required, but no authorization protocol specified
Unable to access the X Display, is $DISPLAY set properly?"
On the host machine enter this:

Code: Select all

xhost +"local:podman@"
I created a script named xhost.sh and since I run kde plasma I put it in ~/.config/plasma-workspace/env/xhost.sh

Code: Select all

touch ~/.config/plasma-workspace/env/xhost.sh

Code: Select all

#!/bin/sh
xhost +"local:podman@"

Code: Select all

chmod +x ~/.config/plasma-workspace/env/xhost.sh
If it says it cannot find .config/bibleanalyzer
In container

Code: Select all

cd ~
mkdir .config
It's taking a really long time to start up after clicking the menu link
I discovered that clicking the menu link also initiates an update of the image. You can follow this using

Code: Select all

podman logs -f bibleanalyzer
Once it's done it will open Bibleanalyzer just fine.
Last edited by nymusicman on Fri Feb 09, 2024 10:13 am, edited 1 time in total.

Tim
Site Admin
Posts: 1455
Joined: Sun Dec 07, 2008 1:14 pm

Re: The Perfect BibleAnalyzer Experience on Any Distro

Post by Tim »

Thanks. I'll make this a "sticky" post so others can better find it.
Tim Morton
Developer, Bible Analyzer

But to him that worketh not, but believeth on him that justifieth the ungodly, his faith is counted for righteousness. (Rom 4:5 AV)

doonoo
Posts: 7
Joined: Sat Jan 07, 2023 12:13 am

Re: The Perfect BibleAnalyzer Experience on Any Distro

Post by doonoo »

Fixed it working on arch for me. Thanks sir!

zortmo
Posts: 5
Joined: Sat Jan 12, 2019 3:00 pm

Re: The Perfect BibleAnalyzer Experience on Any Distro

Post by zortmo »

Thanks nymusicman! I've used this multiple times on different distros. Works great!
Mike

Post Reply