A bit about

Hello, everyone! All you can see below is just my bank of information. Some material I've found in the fathomless net, some I've learned myself. Don't think all of the information here is right or actual, but may be it could be of use for you :) All feedback is welcome, especially constructive ones :)

Friday, January 23, 2009

Colorless VIM in Debian

After installation of Debian 4.0 I had no colors when using Vim. Command like ":syntax on" gave no results, instead it reported: "E319: Sorry, the command is not available in this version". The solution was found there http://www.cyberciti.biz/faq/howto-install-full-vim-under-ubuntu-linux/.

Debian distributives (my and also Ubuntu, as I could see in the source above) install vim-tiny by default. Just "apt-get" a normal version of Vim:
# apt-get install vim

And also uncomment line "syntax on" in /etc/vim/vimrc if it's still commented.

Monday, January 19, 2009

Searching for a package in Debian

There are useful tool in Debian which manage packages within your system - apt-get and aptitude. However, both of them have one disadvantage - they can't tell which packages contain a file your're looking for. In such a situation one can use a special script called apt-file.

To install:
# apt-get install apt-file

Before the first usage it should create indices:
# apt-file update

And now we can use it:
# apt-file search stdio.h