Basically, this is real easy. I got tired of having to use Ubuntu's packaging for Chromium, so I did this myself via bash scripts, as it's much more up-to-date, and quicker.
NOTE THIS MUST BE ON A DEBIAN/DERIVED SYSTEM
AFAIK the only packages needed are the ones in firefox then unzip.
MAKE SURE you have unzip (Synaptic it, it's the same everywhere)
On Debian:
On Derived:
Then, copy+paste this inside of it:
Then, you're going to want to create a launcher:
On Debian:
On Derived:
Now, when you want to update chrome, type
Debian:
Derived:
Now, to set it as your default browser, (at least in gnome) head to System->Preferences->Default Applications (Might be preferred applications)
and change web browser to:
Like so:
Then it should be your default browser.
All you need to do is edit your already existing shortcuts like on your desktop to the Chromium icon and to launch /usr/bin/chrome. That varies greatly from system to system, but is one google search away.
NOTE THIS MUST BE ON A DEBIAN/DERIVED SYSTEM
AFAIK the only packages needed are the ones in firefox then unzip.
MAKE SURE you have unzip (Synaptic it, it's the same everywhere)
On Debian:
Code:
su
gedit /usr/bin/chromeupdate
chmod a+x /usr/bin/chromeupdate
On Derived:
Code:
sudo gedit /usr/bin/chromeupdate
sudo chmod a+x /usr/bin/chromeupdate
Then, copy+paste this inside of it:
Code:
#! /bin/sh
ARCH="`uname -m`"
if [ $ARCH == "x86_64" ];
then
CHROME_URL="http://build.chromium.org/buildbot/snapshots/chromium-rel-linux-64"
else
CHROME_URL="http://build.chromium.org/buildbot/snapshots/chromium-rel-linux"
fi
export CHROME_URL
#="http://build.chromium.org/buildbot/snapshots/chromium-rel-linux-64"
export CUR_DIR="`date "+%Y-%m-%d-%M"`"
export CHROME_DIR=/usr/lib/chromium
#Does the folder not exist? THAT BASTARD! Create this homosexual.
#You can never avoid a bash script. That's like trying to avoid Dick Cheney's gun.
if [ ! -x $CHROME_DIR ];
then
mkdir $CHROME_DIR;
fi
#Create the new folder in /tmp
#Remember, Linux wipes this everytime your computer is rebooted :)
mkdir /tmp/`echo $CUR_DIR`
cd /tmp/`echo $CUR_DIR`
#Do the voodoo inside it
wget "`echo $CHROME_URL`/LATEST"
wget "`echo $CHROME_URL`/`cat LATEST`/chrome-linux.zip"
unzip chrome-linux.zip > /dev/null
cp -rf chrome-linux/* $CHROME_DIR/
#Allow the files to exec
chmod -R a+x $CHROME_DIR/chrome*
Then, you're going to want to create a launcher:
On Debian:
Code:
su
echo "#! /bin/bash
/usr/lib/chromium/chrome --enable-plugins $@ &> /dev/null" > /usr/bin/chrome
chmod a+x /usr/bin/chrome
On Derived:
Code:
sudo echo "#! /bin/bash
/usr/lib/chromium/chrome --enable-plugins $@ &> /dev/null" > /usr/bin/chrome
sudo chmod a+x /usr/bin/chrome
Now, when you want to update chrome, type
Debian:
Code:
su
chromeupdate
Derived:
Code:
sudo chromeupdate
Now, to set it as your default browser, (at least in gnome) head to System->Preferences->Default Applications (Might be preferred applications)
and change web browser to:
Code:
/usr/bin/chrome "%s"
Like so:
Then it should be your default browser.
All you need to do is edit your already existing shortcuts like on your desktop to the Chromium icon and to launch /usr/bin/chrome. That varies greatly from system to system, but is one google search away.