sudo apt-get -y install google-chrome-stable code example
Example 1: install google chrome linux
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt install ./google-chrome-stable_current_amd64.deb
Example 2: install chrome ubuntu server
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb