It's best to get the last build of the day (or night)
2. Copy chrome-linux.zip to /opt
3.
Code: Select all
# cd /opt
Code: Select all
unzip -o chrome-linux.zip
5. Remove unnecessary locales (US English was used in this example)
Code: Select all
# mv /opt/chrome-linux/locales/en-US.pak /opt/chrome-linux/en-US.pak
# rm -vf /opt/chrome-linux/locales/*
# mv /opt/chrome-linux/en-US.pak /opt/chrome-linux/locales/en-US.pak
Code: Select all
# chown -R root:users /opt/chrome-linux
# find /opt/chrome-linux/ -type f -exec chmod 644 {} \; && find /opt/chrome-linux/ -type d -exec chmod 755 {} \;
# chmod 755 /opt/chrome-linux/chrome
# chmod 755 /opt/chrome-linux/chrome-wrapper
# chmod 4755 /opt/chrome-linux/chrome_sandbox
# chmod 750 /opt/chrome-linux
Code: Select all
# usermod -a -G users username
Code: Select all
# ln -s /opt/chrome-linux/chrome-wrapper /usr/bin/chrome-wrapper
9. Done
10. To install a new version:
Code: Select all
# rm -rf /opt/chrome-linux*
# rm /usr/bin/chrome-wrapper
Add a shortcut menu:
1. Create chromium-browser.desktop file
Code: Select all
# touch /usr/share/applications/chromium-browser.desktop
Code: Select all
# nano /usr/share/applications/chromium-browser.desktop
Code: Select all
[Desktop Entry]
Version=1.0
Name=Chromium Web Browser
GenericName=Web Browser
Comment=Access the Internet
Exec=/usr/bin/chrome-wrapper %U
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=/opt/chrome-linux/product_logo_48.png
Categories=Network;WebBrowser;
MimeType=text/html;text/xml;application/xhtml_xml;x-scheme-handler/http;x-scheme-handler/https;
StartupWMClass=Chromium-browser
StartupNotify=true