A default Ubuntu install doesn't come with many compiling tools like GCC, G++, libc6-dev, and Make that you need to compile programs from source. To get all those packages, type in:
sudo apt-get install build-essential
You will need the Ubuntu CD for this.
Saturday, November 24, 2007
Compiling packages from source on Ubuntu
Posted by Boris Joffe at 12:39:00 PM 0 comments
Jump words with Control-Arrow in the Ubuntu terminal
On a fresh install of both Ubuntu 7.04 and 7.10, pressing Ctrl-[Arrow Key] does not jump words but instead writes a control code onto the screen such as ;5C or ;5D.
To fix this, add export INPUTRC=/etc/inputrc
to /etc/bash.bashrc
.
Make sure /etc/inputrc
has these lines in it:
# mappings for Ctrl-left-arrow and Ctrl-right-arrow for word moving
"\e[1;5C": forward-word
"\e[1;5D": backward-word
"\e[5C": forward-word
"\e[5D": backward-word
"\e\e[C": forward-word
"\e\e[D": backward-word
Posted by Boris Joffe at 11:48:00 AM 0 comments
Subscribe to:
Posts (Atom)