Help us understand the problem. What is going on with this article?

Ubuntu 14.04 に gcc、gdb などの開発ツールをインストールする

More than 5 years have passed since last update.

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

以上

moris
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away