


The process is pretty straight forward first add the google PPA, then it updates the 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 Its nothing spectacular just some function abstraction. 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 Next copy the following program from this post into gedit and save it as googGt.cpp 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. Sudo apt-get install google-chrome-stableįollow the instruction for installation with apt-key add:Īdd Key: wget -q -O - | sudo apt-key add. Set repository: echo 'deb stable main' | sudo tee /etc/apt//google-chrome.list Make a keyring for chrome: gpg -no-default-keyring -keyring /etc/apt/keyrings/google-chrome.gpg -import /tmp/google.pub Now that apt-key add is deprecated use this: It does not work in GUI too.Google-chrome-stable is available on a 3rd Party Repository: Google Chrome (for Stable). 141960 files and directories currently installed.) The following package was automatically installed and is no longer required:Ġ upgraded, 0 newly installed, 1 to remove and 0 not upgraded.Īfter this operation, 140 MB disk space will be freed. Rebuilding /usr/share/applications/bamf.index.Įrrors were encountered while processing: Processing triggers for desktop-file-utils. Google-chrome-stable depends on libxss1 however:ĭpkg: error processing google-chrome-stable (-install):ĭependency problems - leaving unconfigured Google-chrome-stable depends on libnss3-1d (>= 3.12.3) however: Google-chrome-stable depends on libgconf2-4 (>= 2.27.0) however: ĭpkg: dependency problems prevent configuration of google-chrome-stable:

141861 files and directories currently installed.)

Selecting previously unselected package google-chrome-stable. Here is the log I got from my terminal when installing Google Chrome.
