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.




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!
Sure. Just trackback if you could. Glad you like the tutorial.
thanks dude, you’re the man
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/
I’m glad its working out for you guys, enjoy!!!
Just found these instructions and it worked flawlessly. Thanks!!
Great tutorial. Was using the command line but, being a former windows user, I appreciate GUI’s a lot more. Thanks for the help!
No problem.
still works, thanks!
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..
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
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?
User problem, sorry. I got it to work. Great tutorial, thanks a bunch.
You’re welcome.
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
Patient??? it worked great… took 1/2 hr…. thank you for the guide.. good thing a had a fresh supply of beer…
My Pleasure.
@ vukodlak75: I left mine. That looks like the main folder but I may be wrong. I left it to be on the safe side.
Awesome
Do you know why the Handbrake crew don´t provide a .deb w/GUI from the website ?
Oh BTW … Thank You …
Dunno, but if you do let me know. you’re welcome.
Thanks a lot…..
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.
can someone put the list of dependencies for intrepid ibex (8.10) please..
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
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
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.
Oh, but I did have to cd /home/myname/HandBrake and run make from here in order to get it to build.
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.
This worked ok for a while now I cannot remove it. Any idea as to how to totally uninstall it
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.
I got this error message too. I’m running gOS3. Any thoughts?
By this message I mean
”
make: *** No rule to make target `install’. Stop.
“
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
Does anyone know a similar how to for openSUSE 11?
OK, v0.9.3 has been released and now comes with a GUI for Ubuntu
_http://handbrake.fr/?article=download
Thanks for the info.
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?
I think it might only run under Gnome.
Just confirmed, you’ll need to build it yourself and use the Qt4 GUI option.
thanks a lot. has anyone informations about pre compiled rpm packages for mandriva? to compile the source did not work.
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.
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.
[ubuntu 8.04]
f followed your good instruction,
but “make” and “make install” work.
I get:
home/HandBrake/gtk$ make
home/HandBrake/gtk$ sudo make install
…
make: *** Keine Targets angegeben und keine »make«-Steuerdatei gefunden. Schluss.
…
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
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?
OK, never mind, I see that they have released a .deb gui install from their website. Thanks anyway!
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.