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
Best Answer
Installing ALSA Development Kit
The OSS sound API is very old and not well supported. It is recommended that you use the ALSA sound API. The PortAudio configure script will look for the ALSA SDK. You can install the ALSA SDK on Ubuntu using:
You might need to use yum, or some other package manager, instead of apt-get on your machine. If you do not install ALSA then you might get a message when testing that says you have no audio devices.
You can find out more about ALSA here: http://www.alsa-project.org/
Configuring and Compiling PortAudio
You can build PortAudio in Linux Environments using the standard configure/make tools:
That will build PortAudio using Jack, ALSA and OSS in whatever combination they are found on your system. For example, if you have Jack and OSS but not ALSA, it will build using Jack and OSS but not ALSA. This step also builds a number of tests, which can be found in the bin directory of PortAudio. It's a good idea to run some of these tests to make sure PortAudio is working correctly.
Using PortAudio in your Projects
To use PortAudio in your apps, you can simply install the .so files:
Projects built this way will expect PortAudio to be installed on target systems in order to run. If you want to build a more self-contained binary, you may use the libportaudio.a file:
On some systems you may need to use:
You may also need to copy portaudio.h, located in the include/ directory of PortAudio into your project. Note that you will usually need to link with the approriate libraries that you used, such as ALSA and JACK, as well as with librt and libpthread. For example:
Reference