You will now have the scripts 1) the script that adds the googPpa.sh and 2) the script that installs google-chrome (googGt.sh). The process is pretty straight forward first add the google PPA, then it updates the software sources, then it installs google-chrome, and last but not least it comments out the google-chrome.list url addresses so it doesn't update the 32 bit version as well as 64 bit on subsequent apt-get updates. Next gain root privledges and execute the program.Įxecuting the newly created binary: :~#. This create an a.out in the working directory. Once you've copied and saved the program compile from command line: :~$ g googGt.cpp In Fedora you will find that Ubuntu or Debian packages are selected as the Chrome packages. Choosing Debian/Ubuntu for your apt3 or Ubuntu distribution will take you there. Its nothing spectacular just some function abstraction. Install Google Chrome on Linux Mint Log on to your computer’s Google Chrome page. GoogLst << "# You may comment out this entry, but any other modifications" GoogLst << "# THIS FILE IS AUTOMATICALLY CONFIGURED #" << endl GoogGtr << "$APUPD\n\n$APGTN google-chrome-stable -y\n" << endl GoogGtr << "APUPD=\"apt-get update\"\nUPD=\"updatedb\"\n" << endl GoogGtr << "#! /bin/bash\n\nAPGTN=\"apt-get install\"" << endl ![]() This googGt.cpp is created to install the google-chrome web browserĬout > /etc/apt//google.list\n\n$UPD\n\nexit" << endl ![]() If you do not already have build-essential installed as dependency, or c (g ) development you must install it first: :~$ sudo apt-get install build-essential -y ![]() I usually write programs to handle anything, that I think I might have to do again in the future! Consequently installing google-chrome is something I've done many times. ![]() Hello people of the Ubuntu Universe, I wrote a c program for installing google chrome 64 bit, Pandya's answer is very similiar.
0 Comments
Leave a Reply. |