Ubuntu 20にgcc, makeなどをインストールしてみました。
Ubuntu Development Beginnings
https://wiki.ubuntu.com/BeginnersTeam/FocusGroups/Development/Devbeginnings
いろいろ見てるとgcc, makeならばbuild-essentialパッケージをインストールすればよさそうですが。
インフラ屋さんにはよく分かりません(^^;
取り合えず下記のコマンドでインストールしてみました。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 |
rootlinks@Ubuntu20:~$ sudo apt install ubuntu-dev-tools fakeroot build-essential gnupg pbuilder debhelper Reading package lists... Done Building dependency tree Reading state information... Done gnupg is already the newest version (2.2.19-3ubuntu2.1). gnupg set to manually installed. The following additional packages will be installed: at autoconf automake autopoint autotools-dev binutils binutils-common binutils-x86-64-linux-gnu brz brz-debian bzr bzr-builddeb dctrl-tools debian-archive-keyring debian-keyring debootstrap devscripts dh-autoreconf dh-strip-nondeterminism diffstat dpkg-dev dput dwz eatmydata g++ g++-9 gcc gcc-9 gettext git git-man intltool-debian libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libarchive-cpio-perl libarchive-zip-perl libarray-intspan-perl libasan5 libasync-mergepoint-perl libatomic1 libb-hooks-endofscope-perl libb-hooks-op-check-perl libbinutils libc-dev-bin libc6-dev libcapture-tiny-perl libclass-method-modifiers-perl libclass-xsaccessor-perl libclone-perl libcommon-sense-perl libconst-fast-perl libcontextual-return-perl libcpanel-json-xs-perl libcroco3 libcrypt-dev libctf-nobfd0 libctf0 libdata-optlist-perl libdebhelper-perl libdevel-callchecker-perl libdevel-size-perl libdigest-bubblebabble-perl libdigest-hmac-perl libdistro-info-perl libdynaloader-functions-perl libeatmydata1 libemail-valid-perl liberror-perl libfakeroot libfile-chdir-perl libfile-find-rule-perl libfile-homedir-perl libfile-stripnondeterminism-perl libfile-which-perl libfl2 libfont-ttf-perl libfuture-perl libgcc-9-dev libgetopt-long-descriptive-perl libgit-wrapper-perl libgitlab-api-v4-perl libhash-fieldhash-perl libhttp-tiny-multipart-perl libimport-into-perl libio-async-loop-epoll-perl libio-async-perl libio-prompter-perl libio-pty-perl libio-string-perl libipc-run-perl libitm1 libjson-maybexs-perl libjson-perl libjson-xs-perl liblinux-epoll-perl liblist-compare-perl liblist-someutils-perl liblist-someutils-xs-perl liblog-any-adapter-screen-perl liblog-any-perl liblsan0 libltdl-dev libmail-sendmail-perl libmodule-implementation-perl libmodule-runtime-perl libmoo-perl libmoox-aliases-perl libmoox-struct-perl libnamespace-clean-perl libnet-dns-perl libnet-dns-sec-perl libnet-domain-tld-perl libnet-ip-perl libnet-libidn-perl libnumber-compare-perl libnumber-range-perl libobject-id-perl libpackage-stash-perl libpackage-stash-xs-perl libparams-classify-perl libparams-util-perl libparams-validate-perl libpath-iterator-rule-perl libpath-tiny-perl libperl4-corelibs-perl libperlio-gzip-perl libpod-constants-perl libquadmath0 libre-engine-re2-perl libre2-5 libreadonly-perl libref-util-perl libref-util-xs-perl libregexp-pattern-license-perl libregexp-pattern-perl librole-tiny-perl libsereal-decoder-perl libsereal-encoder-perl libsereal-perl libsigsegv2 libsort-key-perl libsort-versions-perl libstdc++-9-dev libstrictures-perl libstring-copyright-perl libstring-escape-perl libstring-shellquote-perl libstruct-dumb-perl libsub-exporter-perl libsub-exporter-progressive-perl libsub-identify-perl libsub-install-perl libsub-name-perl libsub-override-perl libsub-quote-perl libsys-cpuaffinity-perl libsys-hostname-long-perl libterm-readkey-perl libtest-fatal-perl libtest-refcount-perl libtext-glob-perl libtext-levenshtein-perl libtool libtsan0 libtype-tiny-perl libtype-tiny-xs-perl libtypes-serialiser-perl libubsan1 libunicode-utf8-perl libvariable-magic-perl libwant-perl libxdelta2 libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-expat-perl libxml-sax-perl libxml-writer-perl libyaml-libyaml-perl licensecheck lintian linux-libc-dev m4 make manpages-dev patchutils pbzip2 pixz po-debconf pristine-tar python3-breezy python3-configobj python3-debianbts python3-deprecated python3-dns python3-dulwich python3-fastimport python3-github python3-gitlab python3-gpg python3-magic python3-pycurl python3-pysimplesoap python3-reportbug python3-ubuntutools python3-unidiff python3-wrapt quilt reportbug t1utils wdiff xdelta xdelta3 Suggested packages: default-mta | mail-transport-agent autoconf-archive gnu-standards autoconf-doc binutils-doc brz-doc python3-breezy.tests python3-lzma debtags dh-make arch-test squid-deb-proxy-client adequate autopkgtest bls-standalone bsd-mailx | mailx check-all-the-things cvs-buildpackage devscripts-el diffoscope disorderfs dose-extra duck faketime gnuplot how-can-i-help libdbd-pg-perl libnet-smtps-perl libterm-size-perl libyaml-syck-perl mozilla-devscripts mutt piuparts postgresql-client ratt reprotest svn-buildpackage w3m equivs libsoap-lite-perl python3-paramiko mini-dinstall g++-multilib g++-9-multilib gcc-9-doc gcc-multilib flex bison gcc-doc gcc-9-multilib gcc-9-locales gettext-doc libasprintf-dev libgettextpo-dev git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-cvs git-mediawiki git-svn glibc-doc libtool-doc libossp-uuid-perl libscalar-number-perl libstdc++-9-doc libbareword-filehandles-perl libindirect-perl libmultidimensional-perl gfortran | fortran95-compiler gcj-jdk libdevel-lexalias-perl libdevel-stacktrace-perl libxml-sax-expatxs-perl binutils-multiarch libtext-template-perl m4-doc make-doc cowdancer gdebi-core libmail-box-perl python3-breezy-dbg python3-kerberos python-configobj-doc python-gitlab-doc libcurl4-gnutls-dev python-pycurl-doc python3-pycurl-dbg graphviz procmail postfix | exim4 | mail-transport-agent debconf-utils debsums dlocate python3-urwid reportbug-gtk emacs-bin-common claws-mail qemu-user-static wdiff-doc The following NEW packages will be installed: at autoconf automake autopoint autotools-dev binutils binutils-common binutils-x86-64-linux-gnu brz brz-debian build-essential bzr bzr-builddeb dctrl-tools debhelper debian-archive-keyring debian-keyring debootstrap devscripts dh-autoreconf dh-strip-nondeterminism diffstat dpkg-dev dput dwz eatmydata fakeroot g++ g++-9 gcc gcc-9 gettext git git-man intltool-debian libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libarchive-cpio-perl libarchive-zip-perl libarray-intspan-perl libasan5 libasync-mergepoint-perl libatomic1 libb-hooks-endofscope-perl libb-hooks-op-check-perl libbinutils libc-dev-bin libc6-dev libcapture-tiny-perl libclass-method-modifiers-perl libclass-xsaccessor-perl libclone-perl libcommon-sense-perl libconst-fast-perl libcontextual-return-perl libcpanel-json-xs-perl libcroco3 libcrypt-dev libctf-nobfd0 libctf0 libdata-optlist-perl libdebhelper-perl libdevel-callchecker-perl libdevel-size-perl libdigest-bubblebabble-perl libdigest-hmac-perl libdistro-info-perl libdynaloader-functions-perl libeatmydata1 libemail-valid-perl liberror-perl libfakeroot libfile-chdir-perl libfile-find-rule-perl libfile-homedir-perl libfile-stripnondeterminism-perl libfile-which-perl libfl2 libfont-ttf-perl libfuture-perl libgcc-9-dev libgetopt-long-descriptive-perl libgit-wrapper-perl libgitlab-api-v4-perl libhash-fieldhash-perl libhttp-tiny-multipart-perl libimport-into-perl libio-async-loop-epoll-perl libio-async-perl libio-prompter-perl libio-pty-perl libio-string-perl libipc-run-perl libitm1 libjson-maybexs-perl libjson-perl libjson-xs-perl liblinux-epoll-perl liblist-compare-perl liblist-someutils-perl liblist-someutils-xs-perl liblog-any-adapter-screen-perl liblog-any-perl liblsan0 libltdl-dev libmail-sendmail-perl libmodule-implementation-perl libmodule-runtime-perl libmoo-perl libmoox-aliases-perl libmoox-struct-perl libnamespace-clean-perl libnet-dns-perl libnet-dns-sec-perl libnet-domain-tld-perl libnet-ip-perl libnet-libidn-perl libnumber-compare-perl libnumber-range-perl libobject-id-perl libpackage-stash-perl libpackage-stash-xs-perl libparams-classify-perl libparams-util-perl libparams-validate-perl libpath-iterator-rule-perl libpath-tiny-perl libperl4-corelibs-perl libperlio-gzip-perl libpod-constants-perl libquadmath0 libre-engine-re2-perl libre2-5 libreadonly-perl libref-util-perl libref-util-xs-perl libregexp-pattern-license-perl libregexp-pattern-perl librole-tiny-perl libsereal-decoder-perl libsereal-encoder-perl libsereal-perl libsigsegv2 libsort-key-perl libsort-versions-perl libstdc++-9-dev libstrictures-perl libstring-copyright-perl libstring-escape-perl libstring-shellquote-perl libstruct-dumb-perl libsub-exporter-perl libsub-exporter-progressive-perl libsub-identify-perl libsub-install-perl libsub-name-perl libsub-override-perl libsub-quote-perl libsys-cpuaffinity-perl libsys-hostname-long-perl libterm-readkey-perl libtest-fatal-perl libtest-refcount-perl libtext-glob-perl libtext-levenshtein-perl libtool libtsan0 libtype-tiny-perl libtype-tiny-xs-perl libtypes-serialiser-perl libubsan1 libunicode-utf8-perl libvariable-magic-perl libwant-perl libxdelta2 libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-expat-perl libxml-sax-perl libxml-writer-perl libyaml-libyaml-perl licensecheck lintian linux-libc-dev m4 make manpages-dev patchutils pbuilder pbzip2 pixz po-debconf pristine-tar python3-breezy python3-configobj python3-debianbts python3-deprecated python3-dns python3-dulwich python3-fastimport python3-github python3-gitlab python3-gpg python3-magic python3-pycurl python3-pysimplesoap python3-reportbug python3-ubuntutools python3-unidiff python3-wrapt quilt reportbug t1utils ubuntu-dev-tools wdiff xdelta xdelta3 0 upgraded, 219 newly installed, 0 to remove and 0 not upgraded. Need to get 86.4 MB of archives. After this operation, 288 MB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://jp.archive.ubuntu.com/ubuntu focal/main amd64 libfl2 amd64 2.6.4-6.2 [11.5 kB] (snip) Setting up libasync-mergepoint-perl (0.04-2) ... Setting up libstring-escape-perl (2010.002-2) ... Setting up wdiff (1.2.2-2build1) ... Setting up manpages-dev (5.05-1) ... Setting up libfile-which-perl (1.23-1) ... Setting up debootstrap (1.0.118ubuntu1.6) ... Setting up libnumber-range-perl (0.12-1) ... Setting up libunicode-utf8-perl (0.62-1build1) ... Setting up libstruct-dumb-perl (0.09-1) ... Setting up libsys-cpuaffinity-perl (1.12-1build3) ... Setting up libregexp-pattern-perl (0.2.12-1) ... Setting up libwant-perl (0.29-1build4) ... Setting up libdynaloader-functions-perl (0.003-1) ... Setting up libtext-glob-perl (0.10-1) ... Setting up libclass-method-modifiers-perl (2.13-1) ... Setting up liblist-compare-perl (0.53-1) ... Setting up libref-util-xs-perl (0.117-1build2) ... Setting up libio-pty-perl (1:1.12-1) ... Setting up libsort-key-perl (1.33-2build2) ... Setting up libclone-perl (0.43-2) ... Setting up libalgorithm-diff-perl (1.19.03-2) ... Setting up libarchive-zip-perl (1.67-2) ... Setting up libsub-identify-perl (0.14-1build2) ... Setting up libdistro-info-perl (0.23ubuntu1) ... Setting up libcpanel-json-xs-perl (4.19-1build1) ... Setting up liblog-any-perl (1.708-1) ... Setting up libdevel-size-perl (0.83-1build1) ... Setting up libdebhelper-perl (12.10ubuntu1) ... Setting up libpod-constants-perl (0.19-1) ... Setting up libperl4-corelibs-perl (0.004-2) ... Setting up libfuture-perl (0.43-1) ... Setting up libyaml-libyaml-perl (0.81+repack-1) ... Setting up binutils-common:amd64 (2.34-6ubuntu1.3) ... Setting up debian-archive-keyring (2019.1ubuntu2) ... Setting up libtype-tiny-perl (1.008001-2) ... Setting up libtest-fatal-perl (0.014-1) ... Setting up libcommon-sense-perl (3.74-2build6) ... Setting up python3-fastimport (0.9.8-5build1) ... Setting up linux-libc-dev:amd64 (5.4.0-91.102) ... Setting up libxml-namespacesupport-perl (1.12-1) ... Setting up libctf-nobfd0:amd64 (2.34-6ubuntu1.3) ... Setting up libhttp-tiny-multipart-perl (0.08-1) ... Setting up libtext-levenshtein-perl (0.13-1) ... Setting up libsereal-encoder-perl (4.011+ds-1build1) ... Setting up pbzip2 (1.1.13-1build1) ... Setting up libstring-shellquote-perl (1.04-1) ... Setting up libfakeroot:amd64 (1.24-1) ... Setting up libsub-install-perl (0.928-1) ... Setting up libnumber-compare-perl (0.03-1) ... Setting up libio-async-perl (0.75-1) ... Setting up fakeroot (1.24-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Setting up liberror-perl (0.17029-1) ... Setting up patchutils (0.3.4-2) ... Setting up libjson-maybexs-perl (1.004000-1) ... Setting up libxml-sax-base-perl (1.09-1) ... Setting up libio-string-perl (1.08-3) ... Setting up libreadonly-perl (2.050-2) ... Setting up libasan5:amd64 (9.3.0-17ubuntu1~20.04) ... Setting up libpackage-stash-xs-perl (0.29-1build1) ... Setting up autotools-dev (20180224.1) ... Setting up python3-ubuntutools (0.176ubuntu20.04.1) ... Setting up python3-pycurl (7.43.0.2-1ubuntu5) ... Setting up python3-configobj (5.0.6-4) ... Setting up python3-gpg (1.13.1-7ubuntu2) ... Setting up make (4.2.1-1.2) ... Setting up libfile-find-rule-perl (0.34-1) ... Setting up libdigest-hmac-perl (1.03+dfsg-2) ... Setting up libref-util-perl (0.204-1) ... Setting up libstring-copyright-perl (0.003006-1) ... Setting up libnet-domain-tld-perl (1.75-1) ... Setting up libxml-writer-perl (0.625-1) ... Setting up libhash-fieldhash-perl (0.15-1build2) ... Setting up libsigsegv2:amd64 (2.12-2) ... Setting up libnet-libidn-perl (0.12.ds-3build2) ... Setting up t1utils (1.41-3) ... Setting up libquadmath0:amd64 (10.3.0-1ubuntu1~20.04) ... Setting up liblinux-epoll-perl (0.017-1) ... Setting up diffstat (1.63-1) ... Setting up libatomic1:amd64 (10.3.0-1ubuntu1~20.04) ... Setting up libvariable-magic-perl (0.62-1build2) ... Setting up python3-wrapt (1.11.2-2build1) ... Setting up autopoint (0.19.8.1-10build1) ... Setting up libcroco3:amd64 (0.6.13-1) ... Setting up libb-hooks-op-check-perl (0.22-1build2) ... Setting up libipc-run-perl (20180523.0-2) ... Setting up libfl2:amd64 (2.6.4-6.2) ... Setting up libxdelta2 (1.1.3-9.3) ... Setting up libtest-refcount-perl (0.10-1) ... Setting up python3-dns (3.2.1-1) ... Setting up libparams-util-perl (1.07-3build5) ... Setting up libsub-exporter-progressive-perl (0.001013-1) ... Setting up libarray-intspan-perl (2.003-1) ... Setting up libcapture-tiny-perl (0.48-1) ... Setting up python3-pysimplesoap (1.16.2-2) ... Setting up libcontextual-return-perl (0.004014-2) ... Setting up libubsan1:amd64 (10.3.0-1ubuntu1~20.04) ... Setting up libsub-name-perl (0.26-1) ... Setting up libtype-tiny-xs-perl (0.016-1) ... Setting up libtypes-serialiser-perl (1.0-1) ... Setting up dwz (0.13-5) ... Setting up libfile-chdir-perl (0.1008-1) ... Setting up xdelta3 (3.0.11-dfsg-1ubuntu1) ... Setting up python3-dulwich (0.19.15-1build1) ... Setting up libcrypt-dev:amd64 (1:4.4.10-10ubuntu4) ... Setting up libpath-tiny-perl (0.108-1) ... Setting up libarchive-cpio-perl (0.10-1) ... Setting up libeatmydata1:amd64 (105-7) ... Setting up libjson-perl (4.02000-2) ... Setting up liblog-any-adapter-screen-perl (0.140-1) ... Setting up pixz (1.0.6-2build1) ... Setting up librole-tiny-perl (2.001004-1) ... Setting up libre2-5:amd64 (20200101+dfsg-1build1) ... Setting up libsub-override-perl (0.09-2) ... Setting up git-man (1:2.25.1-1ubuntu3.2) ... Setting up python3-unidiff (0.5.5-2) ... Setting up libstrictures-perl (2.000006-1) ... Setting up libsub-quote-perl (2.006006-1) ... Setting up libclass-xsaccessor-perl (1.19-3build3) ... Setting up libsort-versions-perl (1.62-1) ... Setting up libre-engine-re2-perl (0.13-5) ... Setting up libterm-readkey-perl (2.38-1build1) ... Setting up libbinutils:amd64 (2.34-6ubuntu1.3) ... Setting up libc-dev-bin (2.31-0ubuntu9.2) ... Setting up libfont-ttf-perl (1.06-1) ... Setting up libfile-homedir-perl (1.004-1) ... Setting up libnet-ip-perl (1.26-2) ... Setting up python3-magic (2:0.4.15-3) ... Setting up libperlio-gzip-perl (0.19-1build5) ... Setting up libsys-hostname-long-perl (1.5-1) ... Setting up python3-gitlab (1:2.0.1-1) ... Setting up libalgorithm-diff-xs-perl (0.04-6) ... Setting up libsereal-decoder-perl (4.011+ds-1build1) ... Setting up python3-deprecated (1.2.7-1) ... Setting up liblsan0:amd64 (10.3.0-1ubuntu1~20.04) ... Setting up dctrl-tools (2.24-3) ... Setting up libitm1:amd64 (10.3.0-1ubuntu1~20.04) ... Setting up debian-keyring (2020.03.24) ... Setting up libalgorithm-merge-perl (0.08-3) ... Setting up libtsan0:amd64 (10.3.0-1ubuntu1~20.04) ... Setting up libdigest-bubblebabble-perl (0.02-2) ... Setting up libctf0:amd64 (2.34-6ubuntu1.3) ... Setting up libfile-stripnondeterminism-perl (1.7.0-1) ... Setting up libjson-xs-perl (4.020-1build1) ... Setting up eatmydata (105-7) ... Setting up gettext (0.19.8.1-10build1) ... Setting up libio-prompter-perl (0.004015-1) ... Setting up xdelta (1.1.3-9.3) ... Setting up python3-debianbts (3.0.2) ... Setting up at (3.1.23-1ubuntu1) ... Created symlink /etc/systemd/system/multi-user.target.wants/atd.service -> /lib/systemd/system/atd.service. Setting up libobject-id-perl (0.1.2-2ubuntu1) ... Setting up libregexp-pattern-license-perl (3.2.0-1) ... Setting up libpath-iterator-rule-perl (1.014-1) ... Setting up m4 (1.4.18-4) ... Setting up python3-breezy (3.0.2-4ubuntu2) ... Setting up libsereal-perl (4.011-1) ... Setting up quilt (0.65-3) ... Setting up libnet-dns-perl (1.22-1) ... Setting up libdevel-callchecker-perl (0.008-1ubuntu1) ... Setting up libxml-sax-perl (1.02+dfsg-1) ... update-perl-sax-parsers: Registering Perl SAX parser XML::SAX::PurePerl with priority 10... update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... Creating config file /etc/perl/XML/SAX/ParserDetails.ini with new version Setting up dput (1.0.3ubuntu1) ... Setting up brz (3.0.2-4ubuntu2) ... update-alternatives: using /usr/bin/brz to provide /usr/bin/bzr (bzr) in auto mode Setting up libio-async-loop-epoll-perl (0.20-1) ... Setting up intltool-debian (0.35.0+20060710.5) ... Setting up libgcc-9-dev:amd64 (9.3.0-17ubuntu1~20.04) ... Setting up libmail-sendmail-perl (0.80-1) ... Setting up python3-github (1.43.7-1) ... Setting up bzr (2.7.0+bzr6622+brz) ... Setting up libdata-optlist-perl (0.110-1) ... Setting up git (1:2.25.1-1ubuntu3.2) ... Setting up autoconf (2.69-11.1) ... Setting up libxml-libxml-perl (2.0134+dfsg-1build1) ... update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX::Parser with priority 50... update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX with priority 50... update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... Replacing config file /etc/perl/XML/SAX/ParserDetails.ini with new version Setting up libxml-sax-expat-perl (0.51-1) ... update-perl-sax-parsers: Registering Perl SAX parser XML::SAX::Expat with priority 50... update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... Replacing config file /etc/perl/XML/SAX/ParserDetails.ini with new version Setting up dh-strip-nondeterminism (1.7.0-1) ... Setting up libgit-wrapper-perl (0.048-1) ... Setting up libc6-dev:amd64 (2.31-0ubuntu9.2) ... Setting up python3-reportbug (7.6.0ubuntu1) ... Setting up pristine-tar (1.47) ... Setting up libsub-exporter-perl (0.987-1) ... Setting up binutils-x86-64-linux-gnu (2.34-6ubuntu1.3) ... Setting up automake (1:1.16.1-4ubuntu6) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libstdc++-9-dev:amd64 (9.3.0-17ubuntu1~20.04) ... Setting up libemail-valid-perl (1.202-1) ... Setting up po-debconf (1.0.21) ... Setting up libparams-classify-perl (0.015-1build2) ... Setting up libnet-dns-sec-perl (1.15-1) ... Setting up binutils (2.34-6ubuntu1.3) ... Setting up reportbug (7.6.0ubuntu1) ... Setting up dpkg-dev (1.19.7ubuntu3) ... Setting up libltdl-dev:amd64 (2.4.6-14) ... Setting up libmodule-runtime-perl (0.016-1) ... Setting up libconst-fast-perl (0.014-1) ... Setting up gcc-9 (9.3.0-17ubuntu1~20.04) ... Setting up libtool (2.4.6-14) ... Setting up libmodule-implementation-perl (0.09-1) ... Setting up pbuilder (0.230.4) ... Setting up libpackage-stash-perl (0.38-1) ... Setting up libimport-into-perl (1.002005-1) ... Setting up libmoo-perl (2.003006-1) ... Setting up liblist-someutils-perl (0.58-1) ... Setting up gcc (4:9.3.0-1ubuntu2) ... Setting up liblist-someutils-xs-perl (0.58-2) ... Setting up devscripts (2.20.2ubuntu2) ... Setting up g++-9 (9.3.0-17ubuntu1~20.04) ... Setting up g++ (4:9.3.0-1ubuntu2) ... update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode Setting up build-essential (12.8ubuntu1.1) ... Setting up libmoox-aliases-perl (0.001006-1) ... Setting up libparams-validate-perl (1.29-3) ... Setting up libb-hooks-endofscope-perl (0.24-1) ... Setting up ubuntu-dev-tools (0.176ubuntu20.04.1) ... Setting up brz-debian (2.8.32ubuntu1) ... Setting up bzr-builddeb (2.8.12+brz) ... Setting up libnamespace-clean-perl (0.27-1) ... Setting up libgetopt-long-descriptive-perl (0.104-1) ... Setting up libgitlab-api-v4-perl (0.25-1) ... Setting up libmoox-struct-perl (0.017-1) ... Setting up lintian (2.62.0ubuntu2) ... Setting up licensecheck (3.0.45-1) ... Setting up dh-autoreconf (19) ... Setting up debhelper (12.10ubuntu1) ... Processing triggers for systemd (245.4-4ubuntu3.13) ... Processing triggers for man-db (2.9.1-1) ... Processing triggers for install-info (6.7.0.dfsg.2-5) ... Processing triggers for libc-bin (2.31-0ubuntu9.2) ... |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
rootlinks@Ubuntu20:~$ gcc --version gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 Copyright (C) 2019 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. rootlinks@Ubuntu20:~$ make --version GNU Make 4.2.1 Built for x86_64-pc-linux-gnu Copyright (C) 1988-2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. |
Hello world!
1 2 3 4 5 6 7 8 9 10 11 12 13 |
rootlinks@Ubuntu20:~$ vi hello_world.c rootlinks@Ubuntu20:~$ cat hello_world.c /* File name is hello_world.c */ #include <stdio.h> int main(void) { int i; printf("Hello world! (^^v\n"); } rootlinks@Ubuntu20:~$ gcc hello_world.c -o hello_world rootlinks@Ubuntu20:~$ ./hello_world Hello world! (^^v |