Once I got the RPi up and running headless on my local network, its time to build the software foundation that I’ll need to make it an effective development environment. These are the packages that I loaded to get myself up and running.
Do Your House Cleaning First
I’m loading software via the Linux
apt-get utility and you need to make sure its database is up to date. First thing to do is to update apt-get’s local database with server’s pkglist’s files. Then checks for outdated packages in the system and automatically upgrades them. Execute the following commands:
sudo apt-get update
sudo apt-get upgrade
Search for Package or Package Description
Some times you don’t know package name but aware of some keywords to search the package. To search for packages, use the following:
apt-cache search "text-to-search"
apt-cache search "text-to-search" | grep "more-search-text"
Synaptic is a graphical package management program for Linux software. It provides the same features as the
apt-get command line utility with a X Windows GUI front-end. While I will not be using X Windows at this moment, in the future I will and
synaptic is a very nice alternative to apt-get when in in X Windows.
sudo apt-get install synaptic
Vim is a highly configurable text editor and widely available for many different platforms. Emacs also has a large following, but I think everyone needs to be prepared to use
vim if your serious about Linux. The RPi Linux distribution appears to have
vi loaded but
vim is a superior tool.
sudo apt-get install vim
sudo apt-get install vim-gtk
PyRoom is a a fullscreen editor without buttons, widgets, formatting options, menus and with only the minimum of required dialog windows, it doesn’t have any distractions and lets you focus on writing and only writing. It is the polar opposite of Vim, and as such, is a good editor for the novice or casual user, but requires X Windows and Python.
sudo apt-get install pyroom
Given that I plan to hack some to-be-determined applications using the RPi, I should consider establish some tools for source code management. The last time I did serious software development in Linux (really Unix), I was using Source Code Control System (SCCS). The tools are much improved now and
git is hands down the way to go.
sudo apt-get install git
We all have a favorite browser and I choose
chromium for my RPi. Chromium serves as a base for Google Chrome, which is Chromium re-branded (name and logo) with very few additions.
sudo apt-get install chromium