#apt-get install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
binutils dpkg-dev fakeroot g++ g++-4.4 gcc gcc-4.4 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libc-dev-bin libc6-dev libdpkg-perl libstdc++6-4.4-dev linux-libc-dev make manpages-dev patch
Suggested packages:
binutils-doc debian-keyring g++-multilib g++-4.4-multilib gcc-4.4-doc libstdc++6-4.4-dbg gcc-multilib autoconf automake1.9 libtool flex bison gdb gcc-doc gcc-4.4-multilib libmudflap0-4.4-dev gcc-4.4-locales libgcc1-dbg libgomp1-dbg
libmudflap0-dbg libcloog-ppl0 libppl-c2 libppl7 glibc-doc libstdc++6-4.4-doc make-doc ed diffutils-doc
The following NEW packages will be installed:
binutils build-essential dpkg-dev fakeroot g++ g++-4.4 gcc gcc-4.4 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libc-dev-bin libc6-dev libdpkg-perl libstdc++6-4.4-dev linux-libc-dev make manpages-dev patch
0 upgraded, 19 newly installed, 0 to remove and 16 not upgraded.
Need to get 23.0 MB of archives.
After this operation, 69.7 MB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://10.0.35.1/debian/ squeeze/main patch i386 2.6-2 [122 kB]
Get:2 http://10.0.35.1/debian/ squeeze/main binutils i386 2.20.1-16 [3,811 kB]
Get:3 http://10.0.35.1/debian/ squeeze/main libc-dev-bin i386 2.11.2-10 [202 kB]
Get:4 http://10.0.35.1/debian/ squeeze/main linux-libc-dev i386 2.6.32-38 [846 kB]
Get:5 http://10.0.35.1/debian/ squeeze/main libc6-dev i386 2.11.2-10 [4,790 kB]
Get:6 http://10.0.35.1/debian/ squeeze/main gcc-4.4 i386 4.4.5-8 [2,802 kB]
Get:7 http://10.0.35.1/debian/ squeeze/main gcc i386 4:4.4.5-1 [4,974 B]
Get:8 http://10.0.35.1/debian/ squeeze/main libstdc++6-4.4-dev i386 4.4.5-8 [1,529 kB]
Get:9 http://10.0.35.1/debian/ squeeze/main g++-4.4 i386 4.4.5-8 [5,127 kB]
Get:10 http://10.0.35.1/debian/ squeeze/main g++ i386 4:4.4.5-1 [1,372 B]
Get:11 http://10.0.35.1/debian/ squeeze/main make i386 3.81-8 [392 kB]
Get:12 http://10.0.35.1/debian/ squeeze/main libdpkg-perl all 1.15.8.11 [692 kB]
Get:13 http://10.0.35.1/debian/ squeeze/main dpkg-dev all 1.15.8.11 [810 kB]
Get:14 http://10.0.35.1/debian/ squeeze/main build-essential i386 11.5 [7,190 B]
Get:15 http://10.0.35.1/debian/ squeeze/main fakeroot i386 1.14.4-1 [117 kB]
Get:16 http://10.0.35.1/debian/ squeeze/main libalgorithm-diff-perl all 1.19.02-2 [51.5 kB]
Get:17 http://10.0.35.1/debian/ squeeze/main libalgorithm-diff-xs-perl i386 0.04-1 [13.1 kB]
Get:18 http://10.0.35.1/debian/ squeeze/main libalgorithm-merge-perl all 0.08-2 [13.5 kB]
Get:19 http://10.0.35.1/debian/ squeeze/main manpages-dev all 3.27-1 [1,639 kB]
Fetched 23.0 MB in 2s (10.6 MB/s)
Selecting previously deselected package patch.
(Reading database ... 100343 files and directories currently installed.)
Unpacking patch (from .../archives/patch_2.6-2_i386.deb) ...
Selecting previously deselected package binutils.
Unpacking binutils (from .../binutils_2.20.1-16_i386.deb) ...
Selecting previously deselected package libc-dev-bin.
Unpacking libc-dev-bin (from .../libc-dev-bin_2.11.2-10_i386.deb) ...
Selecting previously deselected package linux-libc-dev.
Unpacking linux-libc-dev (from .../linux-libc-dev_2.6.32-38_i386.deb) ...
Selecting previously deselected package libc6-dev.
Unpacking libc6-dev (from .../libc6-dev_2.11.2-10_i386.deb) ...
Selecting previously deselected package gcc-4.4.
Unpacking gcc-4.4 (from .../gcc-4.4_4.4.5-8_i386.deb) ...
Selecting previously deselected package gcc.
Unpacking gcc (from .../gcc_4%3a4.4.5-1_i386.deb) ...
Selecting previously deselected package libstdc++6-4.4-dev.
Unpacking libstdc++6-4.4-dev (from .../libstdc++6-4.4-dev_4.4.5-8_i386.deb) ...
Selecting previously deselected package g++-4.4.
Unpacking g++-4.4 (from .../g++-4.4_4.4.5-8_i386.deb) ...
Selecting previously deselected package g++.
Unpacking g++ (from .../g++_4%3a4.4.5-1_i386.deb) ...
Selecting previously deselected package make.
Unpacking make (from .../archives/make_3.81-8_i386.deb) ...
Selecting previously deselected package libdpkg-perl.
Unpacking libdpkg-perl (from .../libdpkg-perl_1.15.8.11_all.deb) ...
Selecting previously deselected package dpkg-dev.
Unpacking dpkg-dev (from .../dpkg-dev_1.15.8.11_all.deb) ...
Selecting previously deselected package build-essential.
Unpacking build-essential (from .../build-essential_11.5_i386.deb) ...
Selecting previously deselected package fakeroot.
Unpacking fakeroot (from .../fakeroot_1.14.4-1_i386.deb) ...
Selecting previously deselected package libalgorithm-diff-perl.
Unpacking libalgorithm-diff-perl (from .../libalgorithm-diff-perl_1.19.02-2_all.deb) ...
Selecting previously deselected package libalgorithm-diff-xs-perl.
Unpacking libalgorithm-diff-xs-perl (from .../libalgorithm-diff-xs-perl_0.04-1_i386.deb) ...
Selecting previously deselected package libalgorithm-merge-perl.
Unpacking libalgorithm-merge-perl (from .../libalgorithm-merge-perl_0.08-2_all.deb) ...
Selecting previously deselected package manpages-dev.
Unpacking manpages-dev (from .../manpages-dev_3.27-1_all.deb) ...
Processing triggers for man-db ...
Setting up patch (2.6-2) ...
Setting up binutils (2.20.1-16) ...
Setting up libc-dev-bin (2.11.2-10) ...
Setting up linux-libc-dev (2.6.32-38) ...
Setting up libc6-dev (2.11.2-10) ...
Setting up gcc-4.4 (4.4.5-8) ...
Setting up gcc (4:4.4.5-1) ...
Setting up make (3.81-8) ...
Setting up libdpkg-perl (1.15.8.11) ...
Setting up dpkg-dev (1.15.8.11) ...
Setting up fakeroot (1.14.4-1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode.
Setting up libalgorithm-diff-perl (1.19.02-2) ...
Setting up libalgorithm-diff-xs-perl (0.04-1) ...
Setting up libalgorithm-merge-perl (0.08-2) ...
Setting up manpages-dev (3.27-1) ...
Setting up libstdc++6-4.4-dev (4.4.5-8) ...
Setting up g++-4.4 (4.4.5-8) ...
Setting up g++ (4:4.4.5-1) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode.
Setting up build-essential (11.5) ...