How to add official Chromium-browser PPA repository to Linux Mint 15 and install the latest stable build

Here’s the official Chromium-browser PPA repo: https://launchpad.net/~chromium-daily/+archive/stable

To install latest stable build follow 3 simple steps:

Step 1:
add “deb http://ppa.launchpad.net/chromium-daily/stable/ubuntu raring main” to /etc/apt/sources.list

Step 2:
add repo’s pub key so that we can avoid problems like the one below:

W: GPG error: http://ppa.launchpad.net raring Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5A9BF3BB4E5E17B5
sudo gpg --keyserver hkp://keys.gnupg.net:80 --recv 5A9BF3BB4E5E17B5
sudo gpg --export FBEF0D696DE1C72BA5A835FE5A9BF3BB4E5E17B5 | sudo apt-key add -

btw. using hkp://keys.gnupg.net:80 will work even if you’re behind a firewall or proxy 🙂

Step 3:
Update package list and install Chromium

sudo apt-get update
sudo apt-get install chromium-browser

Step 4:
Happy browsing 🙂

How to install Groovy on Ubuntu, Linux Mint and other similar distros

A short tutorial how to install Groovy on Ubuntu, Linux Mint and other similar distros.

Download lastest Groovy build @ http://groovy.codehaus.org/Download and upack it

First create a groovy folder in /usr/lib

sudo mkdir /usr/lib/groovy

Then move the unpacked groovy folder to it

sudo mv groovy-1.8.6/ /usr/lib/groovy/

Our next step is to use update-alternatives to add a group of alternatives to the system

sudo update-alternatives --install "/usr/bin/groovy" "groovy" "/usr/lib/groovy/groovy-1.8.6/bin/groovy" 1
sudo update-alternatives --install "/usr/bin/groovyc" "groovyc" "/usr/lib/groovy/groovy-1.8.6/bin/groovyc" 1
sudo update-alternatives --install "/usr/bin/groovyConsole" "groovyConsole" "/usr/lib/groovy/groovy-1.8.6/bin/groovyConsole" 1
sudo update-alternatives --install "/usr/bin/groovysh" "groovysh" "/usr/lib/groovy/groovy-1.8.6/bin/groovysh" 1
sudo update-alternatives --install "/usr/bin/java2groovy" "java2groovy" "/usr/lib/groovy/groovy-1.8.6/bin/java2groovy" 1

Then to check if everything is fine:

sudo update-alternatives --config groovy

and finally

groovy -v

should give you:

Groovy Version: 1.8.6 JVM: 1.6.0_27 Vendor: Sun Microsystems Inc. OS: Linux

Lastly try groovyConsole for evaluating your Groovy script:

groovyConsole

ps. I used this tutorial how to install oracle java 7 as a basis for this one 🙂

Ta-dah! you’re done 🙂