Today, I tried creating a .deb package for GTK-NoCSD in a Zorin 18.1 Lite live session because I had read that you can create .deb packages with checkinstall.
After several attempts (I had to constantly create new directories manually because in terminal were shown errors that the directory didn’t exist, and I also had to use a number instead of the automatically generated description for the version after I set GTK-NoCSD as name), the installation finally succeeded.
With double-clicking on the .deb file I was able to install or uninstall the package.
I’m not sure if I should have made any entries when I was asked for the values, or if what I did was safe.
Unfortunately, it didn’t work automatically like gtk3-nocsd, and I had to add the line export LD_PRELOAD=/usr/local/lib64/libgtk-nocsd.so.0 to ~/.profile.
That is the .deb file: gtk_1.0-1.amd64.deb
Are there any advantages or disadvantages to installing it this way? It doesn't appear neither in Gnome Software Center nor the Start menu, probably because it's just a library and not a standalone program.
I'm confused because the instructions of the developer don't use make install at all - they use gcc instead - so I'm not sure if installing to the /usr directory is even recommended.
Edit:
I've since read that checkinstall is outdated, no longer maintained and can cause serious problems in the libraries, especially when run as root. That doesn't sound very trustworthy, but checkinstall is a package in the ubuntu noble repository.
In one post was mentioned that it would be better to run
checkinstall --install=no --fstrans=yes make install
I did that, and this time I also ran “make” beforehand, but I couldn’t tell any difference in the result. The library was also installed in /usr/local, but this time the .deb file didn’t display a lock icon (last time root was the owner). The directories had to be created manually again.



