Ubuntu 14.04 に gcc, gdb ...などの開発ツールをインストールするための備忘録です。
インストール
以下の通り、build-essential をいつも忘れてしまうのでした。
sudo apt-get install build-essential
ざっくりと以下のパッケージがインストールされると思います。
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
binutils cpp cpp-4.8 dpkg-dev fakeroot g++ g++-4.8 gcc gcc-4.8
libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl
libasan0 libatomic1 libc-dev-bin libc6-dev libcloog-isl4 libdpkg-perl
libfakeroot libfile-fcntllock-perl libgcc-4.8-dev libisl10 libitm1 libmpc3
libmpfr4 libquadmath0 libstdc++-4.8-dev libtsan0 linux-libc-dev make
manpages-dev
Suggested packages:
binutils-doc cpp-doc gcc-4.8-locales debian-keyring g++-multilib
g++-4.8-multilib gcc-4.8-doc libstdc++6-4.8-dbg gcc-multilib autoconf
automake1.9 libtool flex bison gdb gcc-doc gcc-4.8-multilib libgcc1-dbg
libgomp1-dbg libitm1-dbg libatomic1-dbg libasan0-dbg libtsan0-dbg
libquadmath0-dbg glibc-doc libstdc++-4.8-doc make-doc
The following NEW packages will be installed:
binutils build-essential cpp cpp-4.8 dpkg-dev fakeroot g++ g++-4.8 gcc
gcc-4.8 libalgorithm-diff-perl libalgorithm-diff-xs-perl
libalgorithm-merge-perl libasan0 libatomic1 libc-dev-bin libc6-dev
libcloog-isl4 libdpkg-perl libfakeroot libfile-fcntllock-perl libgcc-4.8-dev
libisl10 libitm1 libmpc3 libmpfr4 libquadmath0 libstdc++-4.8-dev libtsan0
linux-libc-dev make manpages-dev
0 upgraded, 32 newly installed, 0 to remove and 40 not upgraded.
Need to get 36.3 MB of archives.
After this operation, 111 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
以上