<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Hombrew Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/hombrew/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Tue, 29 Jun 2021 17:16:16 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.13</generator>
	<item>
		<title>Install the latest version of GCC on Ubuntu 20.04?</title>
		<link>https://www.osradar.com/install-the-latest-version-gcc-ubuntu-debian/</link>
					<comments>https://www.osradar.com/install-the-latest-version-gcc-ubuntu-debian/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Wed, 30 Jun 2021 23:53:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[focal]]></category>
		<category><![CDATA[Focal Fossa]]></category>
		<category><![CDATA[GCC]]></category>
		<category><![CDATA[Hombrew]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=29702</guid>

					<description><![CDATA[<p>Hello, friends. For many people installing the latest version of GCC can be quite important for daily work. So in this post, you will learn how to do it so that it can also help you with your tasks. If you didn’t know, GCC is the compiler for the C language provided by the GNU [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-the-latest-version-gcc-ubuntu-debian/">Install the latest version of GCC on Ubuntu 20.04?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello, friends. For many people installing the latest version of GCC can be quite important for daily work. So in this post, you will learn how to do it so that it can also help you with your tasks.</p>



<p>If you didn’t know, <a href="https://gcc.gnu.org/" target="_blank" rel="noreferrer noopener">GCC is the compiler for the C language provided by the GNU project.</a> With GCC we can use the C language on our computer but also with it we can create or run other applications like libraries.</p>



<p>The mythical GCC is one of the basic tools for compiling and building packages. Present in almost every Linux distribution out there, it is the basis for many processes in building a distribution.</p>



<p>Some people need for whatever reason to have the latest stable version of GCC. That is why we have prepared this post as simple as possible so that anyone can do it.</p>



<h2 id="install-the-latest-version-of-gcc-using-homebrew"><a href="#install-the-latest-version-of-gcc-using-homebrew" name="install-the-latest-version-of-gcc-using-homebrew"></a>Install the latest version of GCC using Homebrew</h2>



<p>Of all the ways we have to achieve this goal, maybe Homebrew is the one that makes it the easiest. So let’s take advantage of this extraordinary tool to achieve our goal.</p>



<p>The first step then is to <a href="https://www.osradar.com/install-homebrew-ubuntu-20-04-debian-10/" target="_blank" rel="noreferrer noopener">install Homebrew on Ubuntu 20.04 / Debian 10</a> after that we can continue without any problems.</p>



<p>The next step is to simply run the <code>brew</code> command to install GCC, the latest version of which is 11.1.</p>



<pre class="wp-block-preformatted">brew install gcc</pre>



<p>Then the whole download and installation process will start. If everything went well, you will see the following output on the screen.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="384" src="https://www.osradar.com/wp-content/uploads/2021/05/Captura-1024x384.png" alt="1.- Install GCC on Ubuntu 20.04 / Debian 10" class="wp-image-31061" srcset="https://www.osradar.com/wp-content/uploads/2021/05/Captura-1024x384.png 1024w, https://www.osradar.com/wp-content/uploads/2021/05/Captura-300x112.png 300w, https://www.osradar.com/wp-content/uploads/2021/05/Captura-768x288.png 768w, https://www.osradar.com/wp-content/uploads/2021/05/Captura-696x261.png 696w, https://www.osradar.com/wp-content/uploads/2021/05/Captura-1068x400.png 1068w, https://www.osradar.com/wp-content/uploads/2021/05/Captura.png 1118w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>1.- Install GCC on Ubuntu 20.04 / Debian 10</figcaption></figure>



<p>To check that GCC is installed, you can display the version.</p>



<pre class="wp-block-preformatted">gcc-11 --version</pre>



<p>In case you already have GCC installed globally, then you can go to the folder where the binary is and run</p>



<pre class="wp-block-preformatted">cd /home/linuxbrew/.linuxbrew/Cellar/gcc/11.1.0_1/bin
./gcc-11 --version</pre>



<p>Sample Output</p>



<pre class="wp-block-preformatted">gcc-11 (Homebrew GCC 11.1.0_1) 11.1.0
Copyright (C) 2021 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.</pre>



<p>So, enjoy it.</p>



<h2 id="conclusion"><a href="#conclusion" name="conclusion"></a>Conclusion</h2>



<p>GCC is so common that sometimes we overlook it, but it is always good to have the latest stable version that can get us out of trouble at any time.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-the-latest-version-gcc-ubuntu-debian/">Install the latest version of GCC on Ubuntu 20.04?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/install-the-latest-version-gcc-ubuntu-debian/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
