This is part 2 of Stripping linux weezy raspian Lets strip some more stuff out. 🙂 sudo apt-get remove -purge xdg-utils sudo apt-get remove -purge x11.* sudo apt-get remove -purge scratch sudo apt-get remove -purge xserver.* sudo apt-get remove -purge xarchiver sudo apt-get remove -purge xinit sudo apt-get remove -purge lightdm sudo apt-get remove -purge
I came across a post about stripping down a raspberry pi version of linux : Stripping Linux Raspbian so I wonder how far can you go in your stripping before it breaks ? 🙂 lets find out shall we .. Lets go to work shrinking that further and cleaning some stuff up .. sudo apt-get
To get a list of all the libraries installed on your linux machine execute /sbin/ldconfig -p Lets output it to a log file for viewing with nano or another editor. /sbin/ldconfig -p > libraries.log
The Linux from scratch (LFS) project has been around for quite a while now, but how about LFS for the Raspberry Pi ? Well you’re in luck, there is a project and a manual for doing just that. PiLFS project They even provide you with a complete base image file that will work just fine
dmesg is the command line tool for outputing the message buffer of the kernel. Monitoring it in real time with the command below comes in handy when trying to diagnose problems. watch -n 0.1 “dmesg | tail -n $((LINES-6))” The watch command executes dmesg over and over again until you stop it.