Thursday, July 25, 2013

Installing JDK on Ubuntu / Linux Mint

Here is what you need to do to install Oracle JDK on Ubuntu / Linux Mint

sudo add-apt-repository ppa:webupd8team/java
sudo apt-fast update
sudo apt-fast install oracle-jdk7-installer
sudo update-alternatives --config java

Faster install using apt-fast on Ubuntu / Linux Mint

apt-fast for faster download/install

Normally you would use "sudo apt-get package-name" to install a package on LINUX MINT or UBUNTU

But, "apt-fast" would make it even faster !

Here is what you need to do to install apt-fast:

sudo add-apt-repository ppa:apt-fast/stable
sudo apt-get update
sudo apt-get install apt-fast

So in the future, you can use "apt-fast" instead of "apt-get" to download packages from the repositories even faster

Example:

apt-fast install vim terminator gedit