How to install build-essential in Debian

Ok. This is technology article.

If you try to install build-essential package in Debian without CD-rom, you are just stuck in several situation. :-(

The reason that apt-get command cannot install the package is your source.list is old or wrong. So just editing the source list file(/etc/apt/source.list) will make you happy.


deb lenny main
deb-src lenny main

deb lenny/updates main contrib
deb-src lenny/updates main contrib