How do I download and install Handbrake?
I'm new at Ubuntu so I don't know very well how to use the terminal in order to download and install programs that aren't in the software center. I've tried without success downloading and installing Handbrake.
Could anybody help me, guiding me through the downloading and installation of Handbrake?
Solution 1:
There are two official HandBrake PPAs, ppa:stebbins/handbrake-releases
and ppa:stebbins/handbrake-git-snapshots
.
The former contains stable releases, which are updated about once a year. These releases tend to be rather out-dated when their end-of-life is approaching. The current stable version (0.9.8) was released on 2012-07-18.
The latter contains nightly builds, which are updated daily (or nightly, as it were). These are of course less stable, and undocumented to boot, but they are good software nonetheless. Additionally, as the stable release ages, the developers tend to start recommending users to try the nightly builds instead.
To add one of these to your sources, simply run:
sudo add-apt-repository ppa:stebbins/handbrake-releases
or
sudo add-apt-repository ppa:stebbins/handbrake-git-snapshots
depending on which you want. To install HandBrake with the GUI, run:
sudo apt-get update
sudo apt-get install handbrake
Alternatively, if you would prefer the CLI (command-line interface) over the GUI, replace the last line with:
sudo apt-get install handbrake-cli
Solution 2:
The handbrake ppa has been updated with the latest version of handbrake.
PPA
To install copy/paste the next lines of codes one by one in your gnome-terminal
sudo add-apt-repository ppa:stebbins/handbrake-releases
sudo apt-get update
sudo apt-get install handbrake-cli handbrake-gtk
Currently supports: Raring (13.04), Quantal (12.10), Precise (12.04), Oneiric (11.10), Natty (11.04), Maverick (10.10), Lucid (10.04), Karmic (9.10).
Note: You can still install the latest version of handbrake on Ubuntu 13.10, by manually downloading the appropriate .deb
files:
handbrake-cli_0.9.9ppa1~quantal1_amd64.deb
handbrake-gtk_0.9.9ppa1~quantal1_amd64.deb
I managed to install them on my Ubuntu 13.10 amd64 without issues
From source
If you want to compile it from source, here is what worked for me:
first install dependencies.
sudo apt-get install bzr subversion yasm build-essential \
autoconf libtool zlib1g-dev libbz2-dev libfribidi-dev \
intltool libglib2.0-dev libdbus-glib-1-dev libgtk2.0-dev \
libgudev-1.0-dev libwebkit-dev libnotify-dev \
libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev
Then download and compile
bzr branch lp:handbrake
cd handbrake
./configure
cd ./build
sudo make
sudo make install
Source:
- How to compile HandBrake from source - EuroBytes
Solution 3:
HandBrake is available in the Ubuntu Software Center, search for it
If you have not made any changes to your Software Sources, you should be directed to an install page instead of what is in the above image. To add the "universe" source to your sources, go to Edit>Software Sources and check under the tab Ubuntu Software the "Community-maintained free and open-source software (universe)" and close.
Or just click the button to use that source.
Solution 4:
Handbrake doesn't have any ppa support in 12.04. If you've tried adding the PPA's and still get the error, this solution resolved the problem for me
sudo rm /etc/apt/sources.list.d/stebbins-handbrake-*
sudo apt-get update
sudo apt-add-repository ppa:stebbins/handbrake-snapshots
sudo apt-get update
sudo apt-get install handbrake-gtk handbrake-cli
You need to do the update process twice, first time to remove the invalid ppas from the hit list, and the second time adds the correct PPA.