<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Biswajyoti Chowdhury</title>
    <description>The latest articles on DEV Community by Biswajyoti Chowdhury (@babs232).</description>
    <link>https://dev.to/babs232</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F553819%2F6d0aa76f-3be2-42d3-8b33-64af563d42a1.png</url>
      <title>DEV Community: Biswajyoti Chowdhury</title>
      <link>https://dev.to/babs232</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/babs232"/>
    <language>en</language>
    <item>
      <title>How to install/update Go development Tools using apt on Ubuntu</title>
      <dc:creator>Biswajyoti Chowdhury</dc:creator>
      <pubDate>Mon, 09 Jan 2023 09:12:19 +0000</pubDate>
      <link>https://dev.to/babs232/how-to-installupdate-go-development-tools-using-apt-on-ubuntu-k7h</link>
      <guid>https://dev.to/babs232/how-to-installupdate-go-development-tools-using-apt-on-ubuntu-k7h</guid>
      <description>&lt;p&gt;The default way of installing Go development tools via apt is to use the below command&lt;/p&gt;

&lt;p&gt;&lt;code&gt;sudo apt install golang&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;This installation, in most cases, will contain a slightly older version of the Go development tools. If we want to update to the latest version of Go, then we can use the &lt;a href="https://launchpad.net/~longsleep/+archive/ubuntu/golang-backports" rel="noopener noreferrer"&gt;Golang Backports&lt;/a&gt; PPA which hosts the latest versions of Go.&lt;/p&gt;

&lt;p&gt;Below is how we can use the &lt;a href="https://launchpad.net/~longsleep/+archive/ubuntu/golang-backports" rel="noopener noreferrer"&gt;Golang Backports&lt;/a&gt; PPA&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Add the repository&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;sudo add-apt-repository ppa:longsleep/golang-backports&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Update apt&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;sudo apt update&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Install Go&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;sudo apt install golang-go&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Alternatively, we can provide specific versions as well&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;sudo apt install golang-1.19&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;The above-mentioned method works for both standalone and WSL installations of Ubuntu (tested with Ubuntu 22.04 on WSL2).&lt;/p&gt;

</description>
      <category>softwaredevelopment</category>
      <category>career</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
