As a practical method, I suggest you remove Google Chrome which is causing problems and use Chromium instead.
It's simply "the open-source project behind the Google Chrome browser" with the same features minus Google's branding, the built-in PDF viewer, the built-in Flash Player and access to some user data.
As explained here: www.webupd8.org/2012/09/new-chromium-stable-and-development.html
You can add the stable PPA and install Chromium using the following commands:
sudo add-apt-repository ppa:a-v-shkop/chromium
sudo apt-get update
sudo apt-get install chromium-browser
Or, if you want the latest dev builds, use the following commands:
sudo add-apt-repository ppa:a-v-shkop/chromium-dev
sudo apt-get update
sudo apt-get install chromium-browser
Only if you still experience similer problems persist, you might need to go into some more technical stuff.
When you install Google Chrome, it automatically adds its software source to your list of software sources.
This causes Ubuntu's package manager to automatically upgrade Google Chrome when a new version comes out.
If you want to stop this from happening, you can disable that software source.
The Graphical Way
Open the Software Sources window. One way to do this is to start typing Software Sources in the the Unity dash search box, then click on the Software Sources icon when it appears; another is to open the Update Manager (called the Software Updater in later versions of Ubuntu) and click Settings...
Click the Other Software tab. In the list, find the entry that says:
http://dl.google.com/linux/chrome/deb/ stable main
Uncheck the box to the left of it, to disable that entry. Now Google Chrome will not be automatically updated.
Alternatively, you may remove the entry (by selecting it and clicking Remove). Disabling it by unchecking the box is just as effective at preventing Google Chrome from being automatically updated, however.
The Manual / Command-Line Way
When you installed the google-chrome-stable
package (after downloading it from Google), it enabled its software source for updates on your machine by creating a file called google-chrome.list
in the directory /etc/apt/sources.list.d
.
If you rename that file to google-chrome.list.save
, the software source will be disabled (like unchecking it in Software Sources, as described above).
If you delete the file, it will be removed entirely (though disabling it is sufficient for preventing Google Chrome from being automatically updated.
You can rename or delete it in the Terminal or with the GUI (Nautilus, the file browser). To rename it in the Terminal, run:
cd /etc/apt/sources.list.d
mv google-chrome.list google-chrome.list.save
To delete it in the Terminal, run:
cd /etc/apt/sources.list.d
rm google-chrome.list
However you remove it, you may have to remove it again later.
If you install a newer version of Google Chrome, it will probably re-add its software source, and enable it. So no matter what method you used to disable it, Google Chrome will typically be automatically upgraded if you then subsequently manually upgrade it by manually installing the .deb
package for a newer version.
Why does Google Chrome add its software source?
Because many updates to web browsers including Google Chrome include fixes for security vulnerabilities. Running a web browser with known vulnerabilities is unsafe. Many security exploits these days, like cross-site scripting exploits, don't depend on what operating system you run. Running Ubuntu instead of Windows does not protect you very much from many browser security bugs.
Since it is usually dangerous to run an old version of Google Chrome, installing Google Chrome also enables its software source so that it is automatically updated.
Therefore, you may wish to reconsider if you really want to prevent Google Chrome from being automatically upgraded when a new version comes out.
Best Answer
I guess without
sudo
you cannot install google chrome. Because google chrome will try to install it in directory/opt
and few other root directory, which needssudo
privilege.But the alternative way is to install the chrome portable app. But to run a portable app you must have RUNZ framework
Follow the procedures in this link to install google chrome portable.
But I would recommend you to install the Google chrome with sudo permissions using the below commands
Add PPA to
Install Google chrome
Hope this helps