Flatpak hides executable. Solution?
by Johannes33 from LinuxQuestions.org on (#56GXV)
Hi,
I installed calibre a while a go. Calibre comes with a few command line executables.
When trying to invoke the executable ebook-convert I get a response from bash:
Command 'ebook-convert' not found, but can be installed with:
sudo apt install calibre
Upon doing a search on the hdd I find 2 'ebook-convert' files
one in:
/var/lib/flatpak/app/com.calibre_ebook.calibre/x86_64/stable/5f1ec846a872c9775728bf7ff5474ab2bf231e59c31f1a74a22ede0688373ceb/files/bin
and one in:
/var/lib/flatpak/app/com.calibre_ebook.calibre/x86_64/stable/5f1ec846a872c9775728bf7ff5474ab2bf231e59c31f1a74a22ede0688373ceb/files/bin/bin
I could add the path to PATH but I wonder if the path will be resilient to upgrades. Also I wonder if there are a nicer way to solve the problem?
According to Arch wiki https://wiki.archlinux.org/index.php/Flatpak the binaies should reside in /var/lib/flatpak/exports/bin but they do not.
I'm on kde-neon fully upgraded


I installed calibre a while a go. Calibre comes with a few command line executables.
When trying to invoke the executable ebook-convert I get a response from bash:
Command 'ebook-convert' not found, but can be installed with:
sudo apt install calibre
Upon doing a search on the hdd I find 2 'ebook-convert' files
one in:
/var/lib/flatpak/app/com.calibre_ebook.calibre/x86_64/stable/5f1ec846a872c9775728bf7ff5474ab2bf231e59c31f1a74a22ede0688373ceb/files/bin
and one in:
/var/lib/flatpak/app/com.calibre_ebook.calibre/x86_64/stable/5f1ec846a872c9775728bf7ff5474ab2bf231e59c31f1a74a22ede0688373ceb/files/bin/bin
I could add the path to PATH but I wonder if the path will be resilient to upgrades. Also I wonder if there are a nicer way to solve the problem?
According to Arch wiki https://wiki.archlinux.org/index.php/Flatpak the binaies should reside in /var/lib/flatpak/exports/bin but they do not.
I'm on kde-neon fully upgraded