{"id":505,"date":"2017-02-15T13:41:02","date_gmt":"2017-02-15T13:41:02","guid":{"rendered":"https:\/\/www.linuxcloudvps.com\/blog\/?p=505"},"modified":"2018-01-31T08:56:22","modified_gmt":"2018-01-31T14:56:22","slug":"install-gcc-on-an-ubuntu-vps","status":"publish","type":"post","link":"https:\/\/www.linuxcloudvps.com\/blog\/install-gcc-on-an-ubuntu-vps\/","title":{"rendered":"Install GCC on an Ubuntu VPS"},"content":{"rendered":"<p>GCC (GNU Compiler Collection) is a compiler system produced by the GNU Project supporting various programming languages such as C, C++, Objective-C, Fortran, Java etc&#8230; GCC is a key component of the GNU toolchain and the standard compiler for most Unix-like Operating Systems. It has played an important role in the growth of free software, as both a tool and an example.<\/p>\n<p><!--more--><\/p>\n<h2>Requirements<\/h2>\n<p>We will be using our <a href=\"https:\/\/www.linuxcloudvps.com\/cloud-vps.html\">LC VPS-1 Linux Cloud VPS hosting plan running Ubuntu 16.04<\/a><\/p>\n<h2>Log in to your server via SSH<\/h2>\n<pre># ssh root@server_ip<\/pre>\n<p>You can check whether you have the proper Ubuntu version installed on your server with the following command:<\/p>\n<pre># lsb_release -a<\/pre>\n<p>You should get this output:<\/p>\n<pre>Distributor ID: Ubuntu\r\nDescription:    Ubuntu 16.04.1 LTS\r\nRelease:        16.04\r\nCodename:       xenial<\/pre>\n<h2>Update the system<\/h2>\n<p>Make sure your server is fully up to date using:<\/p>\n<pre># apt update &amp;&amp; apt upgrade<\/pre>\n<h2>Install GCC<\/h2>\n<p>It&#8217;s actually very easy to install GCC on Ubuntu. Once you update the package index you only need to run the below command:<\/p>\n<pre># apt-get install gcc<\/pre>\n<p>In case you want to install a specific version of GCC use:<\/p>\n<pre># apt-get install gcc=VERSION<\/pre>\n<p>Once the installation is completed, you can check which version of GCC you have:<\/p>\n<pre># gcc -v\r\n\r\nUsing built-in specs.\r\nCOLLECT_GCC=gcc\r\nCOLLECT_LTO_WRAPPER=\/usr\/lib\/gcc\/x86_64-linux-gnu\/5\/lto-wrapper\r\nTarget: x86_64-linux-gnu\r\nConfigured with: ..\/src\/configure -v --with-pkgversion=&#039;Ubuntu 5.4.0-6ubuntu1~16.04.4&#039; --with-bugurl=file:\/\/\/usr\/share\/doc\/gcc-5\/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=\/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=\/usr\/lib --without-included-gettext --enable-threads=posix --libdir=\/usr\/lib --enable-nls --with-sysroot=\/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=\/usr\/lib\/jvm\/java-1.5.0-gcj-5-amd64\/jre --enable-java-home --with-jvm-root-dir=\/usr\/lib\/jvm\/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=\/usr\/lib\/jvm-exports\/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=\/usr\/share\/java\/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu\r\nThread model: posix\r\ngcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4)<\/pre>\n<p>Another way to check which GCC packages are installed including dependencies is the below command:<\/p>\n<pre># dpkg -l &#039;gcc*&#039; | grep ^i\r\n\r\nii  gcc                4:5.3.1-1ubuntu1       amd64        GNU C compiler\r\nii  gcc-4.7-base:amd64 4.7.4-3ubuntu12        amd64        GCC, the GNU Compiler Collection (base package)\r\nii  gcc-5              5.4.0-6ubuntu1~16.04.4 amd64        GNU C compiler\r\nii  gcc-5-base:amd64   5.4.0-6ubuntu1~16.04.4 amd64        GCC, the GNU Compiler Collection (base package)\r\nii  gcc-6-base:amd64   6.0.1-0ubuntu1         amd64        GCC, the GNU Compiler Collection (base package)<\/pre>\n<p>To further understand GCC and its use you can check the respective MAN page. Below is a part of the GCC MAN page:<\/p>\n<pre>GCC(1)                                                                                               GNU                                                                                               GCC(1)\r\n\r\nNAME\r\n       gcc - GNU project C and C++ compiler\r\n\r\nSYNOPSIS\r\n       gcc [-c|-S|-E] [-std=standard]\r\n           [-g] [-pg] [-Olevel]\r\n           [-Wwarn...] [-Wpedantic]\r\n           [-Idir...] [-Ldir...]\r\n           [-Dmacro[=defn]...] [-Umacro]\r\n           [-foption...] [-mmachine-option...]\r\n           [-o outfile] [@file] infile...\r\n\r\n       Only the most useful options are listed here; see below for the remainder.  g++ accepts mostly the same options as gcc.\r\n\r\nDESCRIPTION\r\n       When you invoke GCC, it normally does preprocessing, compilation, assembly and linking.  The &quot;overall options&quot; allow you to stop this process at an intermediate stage.  For example, the -c option\r\n       says not to run the linker.  Then the output consists of object files output by the assembler.\r\n\r\n       Other options are passed on to one stage of processing.  Some options control the preprocessor and others the compiler itself.  Yet other options control the assembler and linker; most of these are\r\n       not documented here, since you rarely need to use any of them.\r\n\r\n       Most of the command-line options that you can use with GCC are useful for C programs; when an option is only useful with another language (usually C++), the explanation says so explicitly.  If the\r\n       description for a particular option does not mention a source language, you can use that option with all supported languages.\r\n\r\n       The gcc program accepts options and file names as operands.  Many options have multi-letter names; therefore multiple single-letter options may not be grouped: -dv is very different from -d -v.\r\n\r\n       You can mix options and other arguments.  For the most part, the order you use doesn&#039;t matter.  Order does matter when you use several options of the same kind; for example, if you specify -L more\r\n       than once, the directories are searched in the order specified.  Also, the placement of the -l option is significant.\r\n\r\n       Many options have long names starting with -f or with -W---for example, -fmove-loop-invariants, -Wformat and so on.  Most of these have both positive and negative forms; the negative form of -ffoo\r\n       is -fno-foo.  This manual documents only one of these two forms, whichever one is not the default.\r\n\r\nOPTIONS\r\n   Option Summary\r\n       Here is a summary of all the options, grouped by type.  Explanations are in the following sections.\r\n\r\n       Overall Options\r\n           -c  -S  -E  -o file  -no-canonical-prefixes -pipe  -pass-exit-codes -x language  -v  -###  --help[=class[,...]]  --target-help --version -wrapper @file -fplugin=file -fplugin-arg-name=arg\r\n           -fdump-ada-spec[-slim] -fada-spec-parent=unit -fdump-go-spec=file\r\n\r\n       C Language Options\r\n           -ansi  -std=standard  -fgnu89-inline -aux-info filename -fallow-parameterless-variadic-functions -fno-asm  -fno-builtin  -fno-builtin-function -fhosted  -ffreestanding -fopenacc -fopenmp\r\n           -fopenmp-simd -fms-extensions -fplan9-extensions -trigraphs -traditional -traditional-cpp -fallow-single-precision  -fcond-mismatch -flax-vector-conversions -fsigned-bitfields  -fsigned-char\r\n           -funsigned-bitfields  -funsigned-char\r\n\r\n       C++ Language Options\r\n           -fabi-version=n  -fno-access-control  -fcheck-new -fconstexpr-depth=n  -ffriend-injection -fno-elide-constructors -fno-enforce-eh-specs -ffor-scope  -fno-for-scope  -fno-gnu-keywords\r\n           -fno-implicit-templates -fno-implicit-inline-templates -fno-implement-inlines  -fms-extensions -fno-nonansi-builtins  -fnothrow-opt  -fno-operator-names -fno-optional-diags  -fpermissive\r\n           -fno-pretty-templates -frepo  -fno-rtti -fsized-deallocation -fstats  -ftemplate-backtrace-limit=n -ftemplate-depth=n -fno-threadsafe-statics  -fuse-cxa-atexit -fno-weak  -nostdinc++\r\n           -fvisibility-inlines-hidden -fvtable-verify=[std|preinit|none] -fvtv-counts -fvtv-debug -fvisibility-ms-compat -fext-numeric-literals -Wabi=n  -Wabi-tag  -Wconversion-null  -Wctor-dtor-privacy\r\n           -Wdelete-non-virtual-dtor -Wliteral-suffix -Wnarrowing -Wnoexcept -Wnon-virtual-dtor  -Wreorder -Weffc++  -Wstrict-null-sentinel -Wno-non-template-friend  -Wold-style-cast -Woverloaded-virtual\r\n           -Wno-pmf-conversions -Wsign-promo<\/pre>\n<p>That&#8217;s it. GCC is installed on your server and ready for use.<\/p>\n<p>Of course, if you use one of our <a href=\"https:\/\/www.linuxcloudvps.com\/ubuntu-cloud-vps.html\" target=\"_blank\">Ubuntu Cloud VPS Hosting<\/a> services, all you have to do is ask our expert Linux admins to install GCC or offer some advice on how to use it. They are available 24\u00d77 and will take care of your request immediately.<\/p>\n<p><span style=\"color: #ff0000;\">PS.<\/span> If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>GCC (GNU Compiler Collection) is a compiler system produced by the GNU Project supporting various programming languages such as C, C++, Objective-C, Fortran, Java etc&#8230; GCC is a key component of the GNU toolchain and the standard compiler for most Unix-like Operating Systems. It has played an important role in the growth of free software, &#8230; <a title=\"Install GCC on an Ubuntu VPS\" class=\"read-more\" href=\"https:\/\/www.linuxcloudvps.com\/blog\/install-gcc-on-an-ubuntu-vps\/\" aria-label=\"More on Install GCC on an Ubuntu VPS\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":506,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[98,132,47],"class_list":["post-505","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-gcc","tag-linuxcloudvps","tag-ubuntu"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Install GCC on an Ubuntu VPS | LinuxCloudVPS Blog<\/title>\n<meta name=\"description\" content=\"GCC (GNU Compiler Collection) is a compiler system produced by the GNU Project supporting various programming languages such as C, C++, Objective-C,\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.linuxcloudvps.com\/blog\/install-gcc-on-an-ubuntu-vps\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Install GCC on an Ubuntu VPS | LinuxCloudVPS Blog\" \/>\n<meta property=\"og:description\" content=\"GCC (GNU Compiler Collection) is a compiler system produced by the GNU Project supporting various programming languages such as C, C++, Objective-C,\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.linuxcloudvps.com\/blog\/install-gcc-on-an-ubuntu-vps\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxCloudVPS Blog\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/www.facebook.com\/LinuxCloudVPS\" \/>\n<meta property=\"article:published_time\" content=\"2017-02-15T13:41:02+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-01-31T14:56:22+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2017\/02\/gcc-ubuntu.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@LinuxCloudVPS\" \/>\n<meta name=\"twitter:site\" content=\"@LinuxCloudVPS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/install-gcc-on-an-ubuntu-vps\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/install-gcc-on-an-ubuntu-vps\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/person\\\/ed907227ee7d151c617e6d0fe74f531a\"},\"headline\":\"Install GCC on an Ubuntu VPS\",\"datePublished\":\"2017-02-15T13:41:02+00:00\",\"dateModified\":\"2018-01-31T14:56:22+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/install-gcc-on-an-ubuntu-vps\\\/\"},\"wordCount\":305,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/install-gcc-on-an-ubuntu-vps\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/02\\\/gcc-ubuntu.jpg\",\"keywords\":[\"gcc\",\"linuxcloudvps\",\"ubuntu\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/install-gcc-on-an-ubuntu-vps\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/install-gcc-on-an-ubuntu-vps\\\/\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/install-gcc-on-an-ubuntu-vps\\\/\",\"name\":\"Install GCC on an Ubuntu VPS | LinuxCloudVPS Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/install-gcc-on-an-ubuntu-vps\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/install-gcc-on-an-ubuntu-vps\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/02\\\/gcc-ubuntu.jpg\",\"datePublished\":\"2017-02-15T13:41:02+00:00\",\"dateModified\":\"2018-01-31T14:56:22+00:00\",\"description\":\"GCC (GNU Compiler Collection) is a compiler system produced by the GNU Project supporting various programming languages such as C, C++, Objective-C,\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/install-gcc-on-an-ubuntu-vps\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/install-gcc-on-an-ubuntu-vps\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/install-gcc-on-an-ubuntu-vps\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/02\\\/gcc-ubuntu.jpg\",\"contentUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/02\\\/gcc-ubuntu.jpg\",\"width\":1200,\"height\":600,\"caption\":\"install gcc on ubuntu\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/install-gcc-on-an-ubuntu-vps\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Install GCC on an Ubuntu VPS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\",\"name\":\"LinuxCloudVPS\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\",\"name\":\"LinuxCloudVPS\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/logo.png\",\"width\":217,\"height\":25,\"caption\":\"LinuxCloudVPS\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"http:\\\/\\\/www.facebook.com\\\/LinuxCloudVPS\",\"https:\\\/\\\/x.com\\\/LinuxCloudVPS\",\"http:\\\/\\\/www.linkedin.com\\\/company\\\/linuxcloudvps-com\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/person\\\/ed907227ee7d151c617e6d0fe74f531a\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"http:\\\/\\\/www.linuxcloudvps.com\\\/\"],\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/author\\\/r0s3admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Install GCC on an Ubuntu VPS | LinuxCloudVPS Blog","description":"GCC (GNU Compiler Collection) is a compiler system produced by the GNU Project supporting various programming languages such as C, C++, Objective-C,","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.linuxcloudvps.com\/blog\/install-gcc-on-an-ubuntu-vps\/","og_locale":"en_US","og_type":"article","og_title":"Install GCC on an Ubuntu VPS | LinuxCloudVPS Blog","og_description":"GCC (GNU Compiler Collection) is a compiler system produced by the GNU Project supporting various programming languages such as C, C++, Objective-C,","og_url":"https:\/\/www.linuxcloudvps.com\/blog\/install-gcc-on-an-ubuntu-vps\/","og_site_name":"LinuxCloudVPS Blog","article_publisher":"http:\/\/www.facebook.com\/LinuxCloudVPS","article_published_time":"2017-02-15T13:41:02+00:00","article_modified_time":"2018-01-31T14:56:22+00:00","og_image":[{"width":1200,"height":600,"url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2017\/02\/gcc-ubuntu.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@LinuxCloudVPS","twitter_site":"@LinuxCloudVPS","twitter_misc":{"Written by":"admin","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.linuxcloudvps.com\/blog\/install-gcc-on-an-ubuntu-vps\/#article","isPartOf":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/install-gcc-on-an-ubuntu-vps\/"},"author":{"name":"admin","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/person\/ed907227ee7d151c617e6d0fe74f531a"},"headline":"Install GCC on an Ubuntu VPS","datePublished":"2017-02-15T13:41:02+00:00","dateModified":"2018-01-31T14:56:22+00:00","mainEntityOfPage":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/install-gcc-on-an-ubuntu-vps\/"},"wordCount":305,"commentCount":0,"publisher":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/install-gcc-on-an-ubuntu-vps\/#primaryimage"},"thumbnailUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2017\/02\/gcc-ubuntu.jpg","keywords":["gcc","linuxcloudvps","ubuntu"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.linuxcloudvps.com\/blog\/install-gcc-on-an-ubuntu-vps\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.linuxcloudvps.com\/blog\/install-gcc-on-an-ubuntu-vps\/","url":"https:\/\/www.linuxcloudvps.com\/blog\/install-gcc-on-an-ubuntu-vps\/","name":"Install GCC on an Ubuntu VPS | LinuxCloudVPS Blog","isPartOf":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/install-gcc-on-an-ubuntu-vps\/#primaryimage"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/install-gcc-on-an-ubuntu-vps\/#primaryimage"},"thumbnailUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2017\/02\/gcc-ubuntu.jpg","datePublished":"2017-02-15T13:41:02+00:00","dateModified":"2018-01-31T14:56:22+00:00","description":"GCC (GNU Compiler Collection) is a compiler system produced by the GNU Project supporting various programming languages such as C, C++, Objective-C,","breadcrumb":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/install-gcc-on-an-ubuntu-vps\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.linuxcloudvps.com\/blog\/install-gcc-on-an-ubuntu-vps\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.linuxcloudvps.com\/blog\/install-gcc-on-an-ubuntu-vps\/#primaryimage","url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2017\/02\/gcc-ubuntu.jpg","contentUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2017\/02\/gcc-ubuntu.jpg","width":1200,"height":600,"caption":"install gcc on ubuntu"},{"@type":"BreadcrumbList","@id":"https:\/\/www.linuxcloudvps.com\/blog\/install-gcc-on-an-ubuntu-vps\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.linuxcloudvps.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Install GCC on an Ubuntu VPS"}]},{"@type":"WebSite","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#website","url":"https:\/\/www.linuxcloudvps.com\/blog\/","name":"LinuxCloudVPS","description":"","publisher":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.linuxcloudvps.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization","name":"LinuxCloudVPS","url":"https:\/\/www.linuxcloudvps.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/08\/logo.png","contentUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/08\/logo.png","width":217,"height":25,"caption":"LinuxCloudVPS"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["http:\/\/www.facebook.com\/LinuxCloudVPS","https:\/\/x.com\/LinuxCloudVPS","http:\/\/www.linkedin.com\/company\/linuxcloudvps-com"]},{"@type":"Person","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/person\/ed907227ee7d151c617e6d0fe74f531a","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","caption":"admin"},"sameAs":["http:\/\/www.linuxcloudvps.com\/"],"url":"https:\/\/www.linuxcloudvps.com\/blog\/author\/r0s3admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/505","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/comments?post=505"}],"version-history":[{"count":1,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/505\/revisions"}],"predecessor-version":[{"id":507,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/505\/revisions\/507"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/media\/506"}],"wp:attachment":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/media?parent=505"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/categories?post=505"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/tags?post=505"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}