Update 11.25.08: Handbrake 0.93 is out with GUI. You can grab it here.
What is Handbrake?
If you didn’t know, Handbrake is DVD love. HandBrake is a software application that can convert MPEG video (including DVD video) into a MPEG-4 video file in .mp4, .avi, .ogm, or .mkv containers. If you have a large collection of DVDs, you should definitely check out this app.
When you visit the download section of the handbrake site, the first thing you will notice if you are a linux user is that there is no gui readily available for us. The command line is great but I wanted the GUI on my Hardy. So the instructions below will help you get there. Take your time and do not rush. Locate your terminal in applications-accessories and launch it. In the terminal do the following line by line:
- sudo apt-get remove ffmpeg
Then enter
- sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.list
Then enter
- sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update
Then enter
- sudo apt-get install ffmpeg
Now its time for the dependencies and gtk gui
- sudo apt-get install automake build-essential jam libdvdcss2-dev libtool subversion zlib1g-dev libbz2-dev dvdbackup xmlto texinfo g77 gfortran libgtk2.0-dev nasm doxygen libsdl1.2-dev gfortran-multilib gcc-multilib g++-multilib libesd0-dev libgtk1.2-dev libfftw3-dev electric-fence libx264-dev libx264-57 x264 libtheora-dev intltool gettext libgtk2.0-dev libglib2.0-dev libhal-storage1 libhal-storage-dev libhal-dev
It is at this point that we also install yasm but not the one in the repositories (that one is old). Grab yasm from here and install it before continuing.
Now its time to install and build Handbrake.svn and gtk GUI. The following lines are entered separately. Be patient, this will take time to build, again I say be patient. Also if you have moblocker or something along those lines running, turn it off before going any further:
- svn co svn://svn.handbrake.fr/HandBrake/trunk HandBrake
- cd HandBrake
- ./configure
- jam
- cd $HOME/HandBrake/gtk
- ./autogen.sh
- make
- sudo make install
Once you are done, HandBrake should be located in Applications-Sound & Video. Though I’ve been using the command line version, I actually compiled and built it today. Here is a screenshot of my HandBrake:
This could be you! Not sure why we didn’t get the GUI from the getgo but if you want it, follow the steps outline above.

ubun2Junky
August 30, 2008 at 4:43 AM
Sweet tutorial. Very nicely done! Would you mind if I take your tutorial and translate it to spanish and post it on my blog? I run a english/spanish ubuntu site with hints and tips. I found this very valuable and I know other people in spanish community will also benefit from it. Please let me know!
Andrew Alliance
August 30, 2008 at 5:21 PM
Sure. Just trackback if you could. Glad you like the tutorial.
mac
September 7, 2008 at 2:45 AM
thanks dude, you’re the man
KRavEN
September 7, 2008 at 4:18 AM
Instructions were flawless. For people running 64bit ubuntu, you can get the 0.7.1 version of yasm here: http://ubuntu2.cica.es/ubuntu/ubuntu/pool/universe/y/yasm/
Andrew Alliance
September 8, 2008 at 2:06 AM
I’m glad its working out for you guys, enjoy!!!
Jbeck
September 9, 2008 at 4:38 AM
Just found these instructions and it worked flawlessly. Thanks!!
Peter
September 9, 2008 at 7:10 PM
Great tutorial. Was using the command line but, being a former windows user, I appreciate GUI’s a lot more. Thanks for the help!
Andrew Alliance
September 9, 2008 at 7:12 PM
No problem.
jared
September 11, 2008 at 3:00 AM
still works, thanks!
Macboy
September 11, 2008 at 8:55 AM
Nice work, I’ve always used OSX for HB due to Windoze making the whole process so difficult. Now I can enjoy Ubuntu once again and actually use my C2Q for something..
Andrew
September 11, 2008 at 2:24 PM
I saw a need for this via the web couldn’t find it readily available; though it was available and buried in a forum. I would like to thank fenian for this tutorial. I just cleaned it up a little and found a working link for the yasm file. I’m glad that you guys/gals are benefiting from it. I’m glad this blog is serving some kind of purpose especially with this post.
All the best,
Andrew
vukodlak75
September 11, 2008 at 7:01 PM
OK, I got to “# svn co svn://svn.handbrake.fr/HandBrake/trunk HandBrake”
but it does not do anything. I type this (copy and paste i mean) to terminal, right?
vukodlak75
September 11, 2008 at 7:02 PM
User problem, sorry. I got it to work. Great tutorial, thanks a bunch.
Andrew
September 11, 2008 at 7:16 PM
You’re welcome.
vukodlak75
September 11, 2008 at 8:15 PM
One question:
Can I delete the Handbrake folder in my “home folder”? I’m assuming Handbrake was put somewhere else on my system and the folder was just used to make/build it.
Thanks
Robbie9
September 11, 2008 at 11:57 PM
Patient??? it worked great… took 1/2 hr…. thank you for the guide.. good thing a had a fresh supply of beer…
Andrew
September 12, 2008 at 1:05 AM
My Pleasure.
Andrew
September 12, 2008 at 1:14 AM
@ vukodlak75: I left mine. That looks like the main folder but I may be wrong. I left it to be on the safe side.
Ande
September 14, 2008 at 1:54 PM
Awesome 🙂
Do you know why the Handbrake crew don´t provide a .deb w/GUI from the website ?
Ande
September 14, 2008 at 2:40 PM
Oh BTW … Thank You …
🙂
Andrew
September 15, 2008 at 2:14 AM
Dunno, but if you do let me know. you’re welcome.
freddy
October 5, 2008 at 2:53 AM
Thanks a lot…..
vukodlak75
October 12, 2008 at 2:25 PM
I left mine to. Easy to update:
svn update
cd HandBrake
make
cd $HOME/HandBrake/gtk
./autogen.sh
make
sudo make install
With the new svn, We no longer need to use jam.
freddy
October 15, 2008 at 6:26 PM
can someone put the list of dependencies for intrepid ibex (8.10) please..
freddy
October 16, 2008 at 3:38 AM
nevermind, i figure out the dependencies, if anyone is interested:
sudo apt-get install automake build-essential jam libdvdcss-dev libtool subversion zlib1g-dev libbz2-dev dvdbackup xmlto texinfo gfortran libgtk2.0-dev nasm doxygen libsdl1.2-dev gfortran-multilib gcc-multilib g++-multilib libesd0-dev libgtk1.2-dev libfftw3-dev electric-fence libx264-dev libx264-59 x264 libtheora-dev intltool gettext libgtk2.0-dev libglib2.0-dev libhal-storage1 libhal-storage-dev libhal-dev
Chris S
November 1, 2008 at 4:40 PM
If you are having this error:
checking for GHB… configure: error: Package requirements (gtk+-2.0 >= 2.8 gio-2.0 hal hal-storage) were not met:
No package ‘hal’ found
No package ‘hal-storage’ found
add these:
sudo apt-get install libgtk2.0-dev libglib2.0-dev libhal-storage1 libhal-storage-dev libhal-dev
T-Rex
November 9, 2008 at 7:21 PM
Thanks freddy, I was missing some of those. Got it working fine now, thanks to that little bit of info. Tool me an hour though… but I’ve never built an app from code before in Linux. Should be quicker next time, I hope.
T-Rex
November 9, 2008 at 7:28 PM
Oh, but I did have to cd /home/myname/HandBrake and run make from here in order to get it to build.
John
November 12, 2008 at 2:40 AM
Can you help? I get up to the very last step… sudo make install… and then i get this
make: *** No rule to make target `install’. Stop.
John
November 12, 2008 at 4:30 PM
This worked ok for a while now I cannot remove it. Any idea as to how to totally uninstall it
John
November 13, 2008 at 3:00 AM
I found out what the problem was…. hopefully I can help someone else get through this.
BTW, the guide is great!
After running the make command I got this error:
/usr/bin/ld: cannot find -lbz2
After some googling I found that it actually was referring to libbz2, When I tried to install this package I was told it was out of date and replaced with bzip2. I tried to install this package but soon realized I already had it installed.
I then fired up Synaptic Package Manger and searced for libbz2, libbz2-1.0 was already installed so I figured I’d try installing libbz2-dev
I went back to the terminal window where i ran make…. and then make install, this time with no errors.
Robert P
November 18, 2008 at 5:01 AM
I got this error message too. I’m running gOS3. Any thoughts?
Robert P
November 18, 2008 at 5:02 AM
By this message I mean
”
make: *** No rule to make target `install’. Stop.
“
Freddy
November 18, 2008 at 1:45 PM
these are the dependencies for ubuntu 8.10 cli + gtk:
* subversion
* jam
* yasm
* build-essential
* autogen
* autoconf
* intltool
* libtool
* zlib1g-dev
* libbz2-dev
* libglib2.0-dev
* libgtk2.0-dev
* libhal-dev
* libhal-storage-dev
* libgtkhtml3.14-dev
sudo apt-get install subversion jam yasm build-essential autogen autoconf intltool libtool zlib1g-dev libbz2-dev libglib2.0-dev libgtk2.0-dev libhal-dev libhal-storage-dev libgtkhtml3.14-dev
also install libdvdcss-dev
vukodlak75
November 23, 2008 at 3:01 AM
Does anyone know a similar how to for openSUSE 11?
vukodlak75
November 25, 2008 at 12:26 PM
OK, v0.9.3 has been released and now comes with a GUI for Ubuntu 😀
_http://handbrake.fr/?article=download
Andrew
November 25, 2008 at 2:53 PM
Thanks for the info.
torbenh
November 25, 2008 at 7:58 PM
i’ve just downloaded the gui version for my kubuntu 8.10 and installed it but everytime when i want it to start it quit himself without any message. can anyone help me?
vukodlak75
December 4, 2008 at 11:04 AM
I think it might only run under Gnome.
vukodlak75
December 4, 2008 at 11:05 AM
Just confirmed, you’ll need to build it yourself and use the Qt4 GUI option.
torbenh
December 5, 2008 at 7:15 PM
thanks a lot. has anyone informations about pre compiled rpm packages for mandriva? to compile the source did not work.
pimpaulogy
December 17, 2008 at 8:43 PM
Installing on Ubuntu 8.10
Follow instructions all the way.
Get to
make
step and get
make: *** No targets specified and no makefile found. Stop.
I have not idea how to proceed from here. Any help would be greatly appreciated.
Andrew
December 17, 2008 at 9:15 PM
For 8.10 I would just use the link on the handbrake site.
http://handbrake.fr/rotation.php?file=HandBrake-0.9.3-Ubuntu_GUI_i386.deb
I tried that one for 8.04 and it didn’t work, Im gonna remove it and install the one that I have here.
Ghanah
January 30, 2009 at 3:21 PM
[ubuntu 8.04]
f followed your good instruction,
but “make” and “make install” work.
I get:
… :/home/HandBrake/gtk$ make
make: *** Keine Targets angegeben und keine »make«-Steuerdatei gefunden. Schluss.
… :/home/HandBrake/gtk$ sudo make install
make: *** Keine Regel, um »install« zu erstellen. Schluss.
Its German – sorry. If i trie to translate it:
make: *** No Targets given and no >>make<>install>. Finished
What did wrong?
Thanks
Dominic
April 28, 2009 at 2:48 PM
Hi, This is just what I want. However, I am a Linux noob, and I am running intrepid. Can you tell me what I have to change in your tutorial for it to work with intrepid?
Dominic
April 28, 2009 at 2:56 PM
OK, never mind, I see that they have released a .deb gui install from their website. Thanks anyway! 🙂
Andrew
April 29, 2009 at 1:26 AM
Sorry it took me a while to reply but I will replay anyhow:
The deb on their site woks on 8.10 and 9.04 – all dependencies are good to go.
Hamid
November 6, 2009 at 6:39 PM
I am new to Ubuntu. I am using the latest version, I have done those terminals codes but can you tell me where do i have to run these files?
* svn co svn://svn.handbrake.fr/HandBrake/trunk HandBrake
* cd HandBrake
* ./configure
* jam
* cd $HOME/HandBrake/gtk
* ./autogen.sh
* make
* sudo make install
da5id
November 7, 2009 at 11:55 AM
Hi and thanks a lot for the install tutorial.
I tried to install it on hardy heron 8.04, but when it comes to “jam” I get the errormessage
~/HandBrake$ jam
Jamfile: No such file or directory
…found 7 target(s)…
What can I do here?
dominik
November 20, 2009 at 10:01 PM
today I have to install aditionally on hardy:
yasm (http://archive.ubuntu.com/ubuntu/pool/universe/y/yasm/yasm_0.8.0-1_i386.deb)
libgstreamer0.10-dev
libgstreamer-plugins-base0.10-dev
libnotify-dev
libwebkitgtk-dev