Login  Register

Re: native Linux starter on tarball build?

Posted by LordOfBikes on Nov 04, 2023; 8:54am
URL: https://forum.librecad.org/native-Linux-starter-on-tarball-build-tp5723791p5723796.html

Just had a look at the CLEAN.sh details.
It is intended to be used on Linux and MacOS. Both can run .sh shell scripts.
On a MacOS build there is no unix folder, but the LibreCAD.app folder.
So the script was just made to work on both OS I think.

On Linux is no big difference between release and debug build, in the sense of file size.
Both, the release and debug build contain a bunch of information in case the application crashes.
For daily use, you can remove them:
strip librecad
Run this in the unix folder and the librecad executable will shrink to about 8MB.

As I recommend, move the unix folder to another place in your home directory, then you can safely use the CLEAN.sh script to free all the build files, which can sum up to nearly 1GB!
Basically you can remove the whole project folder when the unix folder is saved and everything is running.
Keeping the project folder only makes sense, when you plan to work on the source code and build regularly.

Armin
investing less than half an hour into Search function can save hours or days of waiting for a solution