{"id":9996,"date":"2020-04-23T15:52:24","date_gmt":"2020-04-23T15:52:24","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=9996"},"modified":"2024-04-03T07:17:37","modified_gmt":"2024-04-03T07:17:37","slug":"google-chrome-ubuntu-20-04-official-repository","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2020\/04\/google-chrome-ubuntu-20-04-official-repository\/","title":{"rendered":"How to Install Google Chrome in Ubuntu 20.04 via Official Repository"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-9997\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/04\/google-chrome245.png\" alt=\"\" width=\"245\" height=\"250\" \/><\/p>\n<p><b>This quick tutorial shows how to install the latest Google Chrome web browser, and keep it up-to-date, in Ubuntu 20.04 via the official Google repository.<\/b><\/p>\n<p>Note: if you hate Linux command line, you may download and install the <code>.deb<\/code> package from Google Chrome site via a web browser.<\/p>\n<p><b>1.<\/b> Open terminal either by pressing Ctrl+Alt+T on keyboard or by searching for &#8216;terminal&#8217; from system application menu.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-9967\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/04\/terminal-focal-450x235.jpg\" alt=\"\" width=\"450\" height=\"235\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/04\/terminal-focal-450x235.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/04\/terminal-focal.jpg 490w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/p>\n<p><b>2.<\/b> When terminal opens, run command to install the key:<\/p>\n<pre style=\"border: none;\">wget -qO - https:\/\/dl.google.com\/linux\/linux_signing_key.pub | gpg --dearmor | sudo tee \/etc\/apt\/keyrings\/google-chrome.gpg\r\n<\/pre>\n<p><i>Type user password (no asterisk feedback) for sudo prompts and hit Enter. The terminal should output un-readable text, since the key file is dearmored.<\/i><\/p>\n<p>Then add the source repository to your system via command:<\/p>\n<pre style=\"border: none;\">sudo sh -c 'echo \"deb [arch=amd64 signed-by=\/etc\/apt\/keyrings\/google-chrome.gpg] http:\/\/dl.google.com\/linux\/chrome\/deb\/ stable main\" &gt; \/etc\/apt\/sources.list.d\/google-chrome.list'<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/04\/chrome-repo-focal.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-46067\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/04\/chrome-repo-focal-700x318.webp\" alt=\"\" width=\"610\" height=\"277\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/04\/chrome-repo-focal-700x318.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/04\/chrome-repo-focal-300x136.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/04\/chrome-repo-focal-768x349.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/04\/chrome-repo-focal.webp 813w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p><b>3.<\/b> Refresh system package cache and install Google Chrome via commands:<\/p>\n<pre style=\"border: none;\">sudo apt update\r\n\r\nsudo apt install google-chrome-stable<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9999\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/04\/apt-chrome-stable.png\" alt=\"\" width=\"600\" height=\"147\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/04\/apt-chrome-stable.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/04\/apt-chrome-stable-450x110.png 450w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>If a new version is available, you&#8217;ll be able to update the browser via <i>Software Updater<\/i> (Update Manager):<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10000\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/04\/update-googlechrome.png\" alt=\"\" width=\"520\" height=\"362\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/04\/update-googlechrome.png 520w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/04\/update-googlechrome-450x313.png 450w\" sizes=\"auto, (max-width: 520px) 100vw, 520px\" \/><\/p>\n<h4>Uninstall:<\/h4>\n<p>You can remove Google Chrome web browser for any reason by running command in terminal:<\/p>\n<pre style=\"border: none;\">sudo apt remove google-chrome-stable<\/pre>\n<p>And remove the repository by going to <i>Software &amp; Updates -&gt; Other Software<\/i> tab.<\/p>","protected":false},"excerpt":{"rendered":"<p>This quick tutorial shows how to install the latest Google Chrome web browser, and keep it up-to-date, in Ubuntu 20.04 via the official Google repository. Note: if you hate Linux command line, you may download and install the .deb package from Google Chrome site via a web browser. 1. Open terminal either by pressing Ctrl+Alt+T [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[29],"class_list":["post-9996","post","type-post","status-publish","format-standard","hentry","category-howtos","tag-google-chrome"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/9996","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=9996"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/9996\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=9996"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=9996"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=9996"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}