How to update chrome in ubuntu using terminal

0

 


To update the google chrome there are multiple ways but here we will tal about how we can update our google chrome using terminal.

To do this you have to open your terminal and run these commands :

sudo apt-get update  

sudo apt-get --only-upgrade install google-chrome-stable


Now you have to open a new window or restart your system and you can see that your chrome is updated .


But...

If is not updated then you have to make some changes in a file. Now run a command.

cat /etc/apt/sources.list.d/google-chrome.list


It will return some output. If  it looks like this


### THIS FILE IS AUTOMATICALLY CONFIGURED ###

# You may comment out this entry, but any other modifications may be lost.

# deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main


Then in that case you have to remove the # from the last line. So it looks like this


### THIS FILE IS AUTOMATICALLY CONFIGURED ###

# You may comment out this entry, but any other modifications may be lost.

 deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main


Once you do this now run :


sudo apt-get update 

sudo apt-get --only-upgrade install google-chrome-stable


Restart your system now and your chrome will be working fine now.


Post a Comment

0Comments
Post a Comment (0)

#buttons=(Accept !) #days=(20)

Our website uses cookies to enhance your experience. Learn More
Accept !