Have been using lubuntu to create kodi pets.
Been checking on ubuntu packages.
Looked at one that had about 6 or 7 library files in it.
It seems to me, that if you use these packages, you end up with
libraries that you are not using, and don't need.
Have been learning about ldd. It seems that some programs have
unused dependencies.
What is the best way to create the smallest pet with only
the dependencies that are needed?
How do you create the smallest pet possible?
How do I create the smallest pet possible?
PPM while installing packages does offer to "Trim the Fat".
I believe it does this by removing documents in /usr/share/doc/ and also in /usr/lib/locale/ (remove not needed locales) and not by looking at extra libs.
But need to go through the code of PPM to be sure.
Here's an old thread talking about reducing size of pets using strip command on libs.
http://www.murga-linux.com/puppy/viewtopic.php?t=39421
I believe it does this by removing documents in /usr/share/doc/ and also in /usr/lib/locale/ (remove not needed locales) and not by looking at extra libs.
But need to go through the code of PPM to be sure.
Here's an old thread talking about reducing size of pets using strip command on libs.
http://www.murga-linux.com/puppy/viewtopic.php?t=39421
Last edited by drunkjedi on Tue 30 Jan 2018, 19:43, edited 1 time in total.
The link does not work. I remember a Iguleder's post:drunkjedi wrote: Here's an old thread talking about reducing size of pets using strip command on libs.
http://www.murga-linux.com/puppy/viewtopic.php?t=394218
http://www.murga-linux.com/puppy/viewtopic.php?t=58331
@Lassar
Take a look here:
http://www.murga-linux.com/puppy/viewtopic.php?t=109010
The "strip" commands for the 'bin' & 'lib' files do reduce the size of the package.
bliss,
festus
Take a look here:
http://www.murga-linux.com/puppy/viewtopic.php?t=109010
The "strip" commands for the 'bin' & 'lib' files do reduce the size of the package.
bliss,
festus
Pet packaging 101
http://www.murga-linux.com/puppy/viewtopic.php?t=35507
http://www.murga-linux.com/puppy/viewtopic.php?t=35507
- Dingo
- Posts: 1437
- Joined: Tue 11 Dec 2007, 17:48
- Location: somewhere at the end of rainbow...
- Contact:
Usually, in pet packges I create, always perform executables compression with upx. Many times, this reduces greatly the filesize (combinated with stripping unused symbols from libs, as written by others in this topic), before to run dir2pet. Stripping libs has only the effect to make hard the debug in case of problems, but this does not affect in any way the user, only developers perform debug, and, in any case, you can releayse two separate packages, one with stripped libs and one without for debug.
replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux
dropbox 2GB free
OpenOffice for Puppy Linux