wmayer wrote: ↑Sun Aug 14, 2022 8:42 am
The suggested method is to run
Excellent. Thanks for your answers and also the links for further reading.
I needed sudo to remove the parts from the
/usr/local.
Code: Select all
xargs sudo rm < install_manifest.txt
But in your links was another gem: "checkinstall" makes a *.deb package from the built sources. Its an interactive script. Its great to distribute a local version for testing. Here is the use on Ubunut 22.04
Code: Select all
sudo apt install checkinstall # do once, if not installed
cd ~/temp/freecad-master/build # or whereever the sources are
cmake ..
make
sudo checkinstall # interactive
It asked a few questions and required to add some description. Default was OK for me, except I should have set a "Name" for the package, because thats needed to uninstall it again. The default name is "build".
I used this to install/uninstall it. The installation also went to
/usr/local.
Code: Select all
sudo dpkg -i build_22020814-1_amd64.deb # install
sudo dpkg -r build # remove
it takes a couple of minutes to build the package, because its single CPU only. Maybe there is a multi-CPU switch, but I did not find it.