Remove duplicates

I read a nice post about removing duplicates from a list, I must say that im stunned that i didn’t think about it. It’s so dead simple.

I post here so I can find it the next time I might need such a little trick :)

Sun JDK on Ubuntu (The multiverse way)

The 6.06 Dapper release includes support for Sun JVMs via the Multiverse repositories.
Add support for multiverse to your /etc/apt/sources.list

deb http://pa.archive.ubuntu.com/ubuntu/ dapper multiverse
deb-src http://pa.archive.ubuntu.com/ubuntu/ dapper multiverse

Do a standard sudo apt-get update , followed by a sudo apt-get install sun-java5-jdk .