![]() You will now have the scripts 1) the script that adds the googPpa.sh and 2) the script that installs google-chrome (googGt.sh). 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. 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" Select the package which matches your Linux distro, then download. ![]() So for example, for Debian and Ubuntu select DEB and for CentOS or RHEL select RPM package. GoogLst << "# THIS FILE IS AUTOMATICALLY CONFIGURED #" << endl On the page Get Chrome for Linux select a package matching your Linux distribution package management. 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 sudo apt-get install google-chrome-stable. This googGt.cpp is created to install the google-chrome web browserĬout > /etc/apt//google.list\n\n$UPD\n\nexit" << endl Install Google Chrome in Ubuntu Linux with apt-get - installgooglechrome. 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: dpkg -i Downloads/google-chrome-stable_current_i386.Google-chrome-stable is available on a 3rd Party Repository: Google Chrome (for Stable). sudo apt-get update Step 4 » Finally install google chrome sudo apt-get install google-chrome-stable Method 2 : ( Manual installation) Download google-chrome-stable_current_b from official google website ( ). sudo sh -c 'echo "deb stable main" > /etc/apt//google.list' Step 3 » Now update the repository. wget -q -O - | sudo apt-key add - Step 2 » Issue the below command to add chrome repositories. Method 1 Installing google chrome from google official repository. By default ubuntu 14.04 has firefox installed, Just follow the steps to install google chrome on ubuntu 14.04 We can install google chrome in two methods. Google chrome has become most popular browser.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |