May 2015 – ProjectArchive.NET

Month: May 2015

Stripping linux weezy raspbian Part 2

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

Stripping linux weezy raspbian

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

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 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