So, I upgraded one of my Ubuntu boxes to 12.04 recently and have been using it daily to do my work. Yesterday, I decided to convert one of my home videos that was taken with an iPhone into a compatible format that would work on my other devices. Since I have been using HandBrake in previous versions of Ubuntu, I decided to install it in 12.04 but found out that a version for 12.04 wasn’t available to install, at least as of yesterday. I found a way to install it anyway, and this brief tutorial is going to show you how I did it.

Objectives:

  • Install HandBrake 0.9.6 in Ubuntu 12.04 (Precise Pangolin)
  • Enjoy!

To get started, press Ctrl – Alt – T on your keyboard to open Terminal. When it opens run the commands below to add its PPA repository key.

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 816950D8

 

handbrake_precise_3

 

After that, type the commands below to create a repository file in Ubuntu.’

sudo gedit /etc/apt/sources.list.d/handbrake.list

 

handbrake_precise

 

Then copy and paste the lines below into the file and save it.

deb http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu oneiric main 
deb-src http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu oneiric main

 

handbrake_precise_1

 

Finally, run the commands below to install it.

sudo apt-get update && sudo apt-get install handbrake-gtk

 

handbrake_precise_2

 

Enjoy!

 

If you notice, we’re temporarily using Ubuntu 11.10 (Oneiric) repository to install it. It’s no big deal using 11.10 repository to install 12.04 packages.