Posted by
perepujal on
Feb 24, 2022; 12:05am
URL: https://forum.librecad.org/Librecad-x-Endless-tp5721513p5721516.html
Short summary, so other people could help:
Endless OS don't provides LibreCAD and he can't install LibreCAD in it
Note, after what I've read, Endless OS uses flatpak as app container and comes with a read only filesystem
My finds:
https://community.endlessos.com/t/como-instalar-librecad/10556seems to give only 2 alternatives, compile a flatpak package or run Ubuntu inside a Toolbox/Podman
https://community.endlessos.com/t/running-ubuntu-with-podman/10506I've also found this
https://github.com/LibreCAD/LibreCAD/issues/1007I've tried to build a flatpak package of LibreCAD in my Debian following the recepits and yaml file at
https://github.com/tinywrkb/flatpaksOnly a partial success: LibreCAD runs but has no fonts, and no hashes in the few small tests I did.
The commands I ran:(downloads a ton of stuff from internet and takes some time compiling)
sudo apt-get install flatpak-builder
mkdir flatpak-librecad
cd flatpak-librecad
git clone https://github.com/tinywrkb/flatpaks.git
cd flatpaks
mkdir build
flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install --user flathub org.kde.Sdk/x86_64/5.15-21.08
flatpak install --user flathub org.kde.Platform/x86_64/5.15-21.08
flatpak-builder --install --user --force-clean --state-dir=build/flatpak-builder --repo=build/flatpak-repo build/flatpak-target org.librecad.librecad/org.librecad.librecad.yaml
flatpak run org.librecad,librecad
A LibreCAD window appears and one can draw lines on it, its version is 2.1.3, so the receipt should be updated to build 2.2RCs
As stated above it has no fonts nor hashes, so the text, mtext, hashes, and maybe dimensions tools are useless, but all in all seems a good start to get a flatpack LibreCAD.
HTH
Pere
P.S.
Lack of fonts and other thing could be a problem with paths, have to investigate...