Created
January 12, 2017 02:29
-
-
Save bcchenbc/7c6d33945b80a615b754f739fbf014ff to your computer and use it in GitHub Desktop.
substitute chromium of distro with the latest build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Credit goes to saiarcot895: | |
# https://launchpad.net/~saiarcot895/+archive/ubuntu/chromium-dev | |
# Assuming API key has been generated, | |
# http://www.chromium.org/developers/how-tos/api-keys | |
# and (of course), chromium-browser has installed... | |
sudo mv $(which chromium-browser) $(which chromium-browser).backup | |
git clone https://github.com/scheib/chromium-latest-linux.git | |
sudo ln -s $(pwd)/chromium-latest-linux/latest/chrome $(which chromium-browser) | |
echo '# added for using latest chromium-browser' >> ~/.profile | |
echo '# https://launchpad.net/~saiarcot895/+archive/ubuntu/chromium-dev' >> ~/.profile | |
echo 'export GOOGLE_API_KEY="api_key"' >> ~/.profile | |
echo 'export GOOGLE_DEFAULT_CLIENT_ID="client_id"' >> ~/.profile | |
echo 'export GOOGLE_DEFAULT_CLIENT_SECRET="client_secret"' >> ~/.profile | |
nano ~/.profile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment