Dear Ken, Thanks a lot for supporting me with this very excellent info ;) .. They are wanderful. please , i will ask you if i need more help in my design procedure . What if i use any suitable package manager ,and remove the gcc package to lock the Final distro completly ,and use only the package manager to insall new packages compiled by me only .Also i can remove this package manager to lock the Finall distro completly ever .And make it upgradable only. Its just idea :) .... Are it possible ;D .. And again thanks a lot sir. ----Fady
> Date: Sat, 11 Dec 2010 20:33:48 +0000 > From: [email protected] > To: [email protected] > Subject: Re: Advanced LFS > > On Sat, Dec 11, 2010 at 04:09:46PM +0200, Fady Fawzy wrote: > > I have a small question , how i can remove installed package from the > > distro. ... > > > 'man rm' - of course, you will need to know what got installed. > How you identify what got installed is up to you - for the pedantic > (and using a lot of space) approach, you could tar up the install > between packages, then untar the 'before' and 'after' tarballs for > a package to see exactly what got installed or altered. > > For a more simplistic approach, touch a file just before the > install, do the install, then something based on 'find -newer' : > that will miss some headers and documentation, and may pick up > other files which changed (particularly in a running system), > but is mostly adequate - once you have completed the build and > removed gcc, you can remove all the docs and headers so it doesn't > really matter which package installed them. > > To get maximal shrinkage of the completed system, be prepared to > try removing things, only to have to restore them after testing. > > I used to follow fedora in removing libtool archives from the > development system, until I got too much breakage on x86_64 and > ppc64. But once the system is complete, you can certainly remove > all '.la' files as well as all '.a'. > > If you care about security, keep a copy of the full system (plus > notes on how you removed things) so that you can update any of the > installed packages and then ship an updated version. > > ĸen > -- > das eine Mal als Tragödie, das andere Mal als Farce > -- > http://linuxfromscratch.org/mailman/listinfo/lfs-support > FAQ: http://www.linuxfromscratch.org/lfs/faq.html > Unsubscribe: See the above information page
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
