Check out example codes for "sudo apt-install chrome". It will help you in understanding the concepts better.

Code Example 1

wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

Code Example 2

sudo apt install ./google-chrome-stable_current_amd64.deb

Learn ReactJs, React Native from akashmittal.com