Published by : David MacAree

List all installed Libraries

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  

Install Nano Text Editor on PiLFS

Pilfs does come with vi, but i personally prefer nano text editor so let compile config and install it. First we need to grab the tar file and extract it. wget http://ftp.gnu.org/gnu/nano/nano-2.4.1.tar.gz tar -xzvf nano-2.4.1.tar.gz cd nano-2.4.1 Now lets install nano with the following commands: ./configure –prefix=/usr –sysconfdir=/etc –enable-utf8 –docdir=/usr/share/doc/nano-2.4.1 && make And then: make

Convert PiLFS to work with BerryBoot / Raspberry Pi

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

Monitor dmesg in real time

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.