Install HandBrake on Linux: Flatpak, CLI and file access
Get HandBrake installed, opening videos and writing output on Linux. Flatpak scope, distribution packages, file permissions, CLI access and updates explained.
Install HandBrake on Linux through the HandBrake Team's verified Flathub listing, or use the Flatpak bundle linked from the official download page. The current Linux Flatpak is for x86_64 and includes both the graphical app and HandBrakeCLI. I'd choose Flathub for a desktop because it handles the app's runtime dependencies and subsequent updates in one place.
The useful installation check has three parts: HandBrake opens, it can read your video, and it can write a separate output file. An icon in the application menu proves less than that. The steps below cover Ubuntu, Fedora, installation scope, the included CLI and the file-access problems that can make a successful installation look broken.
Choose the package your Linux machine can run
Check the processor architecture before downloading. In a terminal, run:
uname -m
x86_64 matches the official Linux Flatpak. An aarch64 or other ARM result does not. Renaming an x86_64 package won't make it run on ARM; check whether your distribution provides a suitable native build or use the project's source-build instructions.
The current HandBrake support table lists Ubuntu 22.04 LTS and 24.04 LTS, and Fedora 42 and 43, through Flatpak or source. A Flatpak may work on another distribution, but that isn't the same as a configuration the project supports. Ubuntu 20.04 is unsupported; its last listed HandBrake version is 1.9.2. An old package doesn't give an old operating system current support.
| Your situation | Use this route | Check before proceeding |
|---|---|---|
| Ordinary x86_64 Linux desktop | Verified HandBrake app on Flathub | Flatpak installed; Flathub enabled in the intended scope |
| You need a downloadable installer file | Official .flatpak bundle | Correct architecture and matching SHA-256 |
| You prefer distribution-managed software | Your distribution's native package | Version, architecture, maintainer and available features |
| ARM machine or a custom build requirement | Suitable distribution build or source build | Actual architecture and build support; not the x86_64 Flatpak |
Flathub and the official downloads currently offer HandBrake 1.11.2. Ubuntu Noble's Release package list contains 1.7.2+ds1-1build2, including architecture-specific builds, while Arch lists 1.11.2-1. Distribution packages aren't uniformly outdated. They are separately maintained builds, so check the package you're actually installing rather than applying a version claim to Linux as a whole.
Set up Flatpak and the Flathub repository
Flatpak is the packaging system. Flathub is a repository that distributes apps for it. fr.handbrake.ghb is HandBrake's application ID. If the shell says flatpak: command not found, adding a repository or changing the app ID cannot fix the missing Flatpak command.
Ubuntu
Follow Flathub's Ubuntu setup and install Flatpak:
sudo apt install flatpak
This installs the packaging system, not HandBrake. Add Flathub and install the app in the next section. Flathub directs Ubuntu users to restart after the initial setup so the desktop integration is ready. A graphical software-store integration is optional; the terminal route doesn't require an extra store app.
Fedora and other distributions
Fedora Workstation, Silverblue and Kinoite include Flatpak. Enable Flathub through Fedora's third-party repository setup or add it explicitly below. For another Fedora edition or another distribution, use its own setup instructions; Ubuntu's APT command is not a universal Linux command.
Install HandBrake in one consistent scope
A per-user installation is available to your Linux account. A system installation can make the app available to all users and may request administrator authorization. Flatpak supports both scopes; the remote and the app must be available in the scope you choose.
For a personal desktop, I'd use the per-user sequence below because each command explicitly names the same scope. Run the lines separately, review the app, runtime and permission details, and confirm only the intended installation:
flatpak --user remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
flatpak --user install flathub fr.handbrake.ghb
flatpak --user run fr.handbrake.ghb
If the computer is managed for several users, use the system sequence instead:
flatpak --system remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
flatpak --system install flathub fr.handbrake.ghb
flatpak --system run fr.handbrake.ghb
Choose one sequence. You don't need both installations. The --if-not-exists option avoids adding a duplicate remote with the same name; it doesn't prove that an existing remote points to the correct repository. Inspect what is already configured with:
flatpak remotes --show-details
flatpak list --app --show-details
Check the origin URL and installation scope. If Flathub exists only in the system installation, a per-user install from that remote can fail. Add the remote in the intended scope rather than cycling through unrelated PPAs. If two copies of HandBrake appear, launch the intended one with its explicit scope before comparing versions or changing preferences.
When moving from a distribution or third-party HandBrake package, the project's installation guide directs you to remove that package before proceeding. Finish its queue and save custom presets first, then remove it through the package manager that installed it. Deleting a desktop icon is not the same as uninstalling the package.
Verify the app, launcher and command-line tool
For the per-user installation, show the installed version and origin:
flatpak --user info fr.handbrake.ghb
Use --system for a system installation. Then launch HandBrake from the application menu or with the matching flatpak run command. If the terminal launches it but the menu icon is absent, the application itself is installed. Complete the distribution's desktop-integration setup and sign out or restart as its instructions require; reinstalling different copies tends to make the launcher problem harder to diagnose.
The official CLI download page confirms that the Linux GUI Flatpak includes HandBrakeCLI. The command is inside the Flatpak, so a bare HandBrakeCLI command on the host may still return “command not found.” Run the included tool this way:
flatpak --user run --command=HandBrakeCLI fr.handbrake.ghb --help
That requests the installed tool's help; it doesn't start an encode. Replace --help with the appropriate source, destination and preset arguments when you're ready. The Linux DVD command-line guide covers a separate disc workflow for material you are entitled to copy.
If HandBrake can't see your video or save the output
Check the host path before changing sandbox permissions. Open the source in your Linux file manager, confirm the external drive or network share is mounted, and confirm your user can read the file. Select a separate destination folder where your user can create files. A permission override cannot mount a disconnected drive or give your Linux account rights it doesn't have.

The current Flathub package manifest includes --filesystem=host, along with device and desktop permissions. HandBrake therefore isn't an app that always needs a new home-folder grant. Inspect the permissions of your installed copy, including any local changes:
flatpak --user info --show-permissions fr.handbrake.ghb
flatpak --user info --file-access=/absolute/path/to/video.mp4 fr.handbrake.ghb
Replace the second path with the real source path. Check the destination directory separately. Flatpak's info command can report whether a path has access; this helps distinguish a sandbox restriction from an unreadable file, unmounted volume or unsupported source.

Flatpak's filesystem rules also have reserved paths and exceptions: “host access” doesn't mean every host directory is exposed identically inside the sandbox. External drives mount on the host first, commonly under /media or /run/media. Use the path that your file manager actually shows. A file chooser can grant access through a portal, but it won't repair the drive's underlying read or write permissions.
If the installed app really lacks access to a needed folder, add a narrow override. These examples grant read-only source access and writable output access to two example folders:
flatpak override --user --filesystem=/mnt/video-source:ro fr.handbrake.ghb
flatpak override --user --filesystem=/mnt/video-output fr.handbrake.ghb
Substitute your own existing paths and relaunch HandBrake. Always include the app ID: omitting it would apply an override more broadly. These commands add permissions; they do not turn an existing broad grant into read-only access. Don't add --filesystem=host reflexively, and don't reset every custom override merely to undo one folder change.
If HandBrake can read the location but reports an invalid source, the problem has moved beyond installation. Follow the source, log and destination checks for HandBrake errors rather than widening file access again.
Make one small output before queuing a library
- Open a short, ordinary local video that plays correctly in another player. Keep its original file.
- Choose a built-in preset appropriate for the intended player. For a general viewing copy, use an MP4/H.264 preset at a resolution suited to the source and receiver.
- Check the selected audio and subtitles, then choose a new filename in a writable destination folder. Don't use the source path as the output.
- Start the encode. Once it finishes, play the output and check its picture, sound, duration and expected tracks.

This separates an installation problem from a source-specific problem. If the ordinary local file works but a network source fails, investigate that mount or source. If you need a particular upload size, the size-limit guide explains the bitrate budget; installing a different HandBrake package doesn't by itself make a file fit.
Add hardware encoding only when the system supports it
A working CPU encode is enough to verify the basic installation. Hardware encoders depend on the GPU, drivers, runtime components and the features of the installed build. A package compiled with a feature doesn't make that feature available on every machine.
For Intel Quick Sync, HandBrake's QSV support guidance lists 9th-generation Core or newer systems with supported Intel graphics, including HD, Iris Xe and Arc, on supported modern Linux configurations. Older hardware may work but falls outside that stated support range. The Flatpak route has an optional IntelMediaSDK plugin linked from the official downloads and listed as an add-on on Flathub.
Install the plugin in the same scope as the app. In HandBrake, check File > Preferences > Video and the QSV option, then look for a supported QSV encoder in the Video tab. The preference can be disabled on an unsupported system. Don't install random driver scripts or change firmware settings just because an encoder is absent.
Hardware encoding doesn't mean every stage runs on the GPU: filters, audio and other parts of the pipeline can still use the CPU. Treat encoder availability and speed as separate questions. Choose the encoder for the required output and its quality tradeoff, then compare a representative sample on your machine.
Use the direct Flatpak bundle when you need an installer file
The official HandBrake downloads provide a Linux .flatpak bundle. Install Flatpak first. Download the correct bundle, then compare its SHA-256 with the matching filename on the official checksums page.
For the 1.11.2 x86_64 app bundle, run this from the directory containing the download:
sha256sum HandBrake-1.11.2-x86_64.flatpak
Match the complete result, character for character, to that file's published value. A different filename or version has a different checksum. If the value doesn't match, discard the download and obtain it again from the official route. After a match, install the app bundle:
flatpak --user install HandBrake-1.11.2-x86_64.flatpak
The bundle route still needs Flatpak and its required runtimes; a saved file is not a guarantee of a self-contained offline installation. For normal ongoing updates, I'd stay with Flathub. For a custom architecture or build, use the Linux source-build documentation rather than adding an old PPA from a search result. The safe-download guide explains how to identify genuine packages.
Update or remove the installation deliberately
Before upgrading, finish pending queue entries and back up your custom presets and preferences. The HandBrake upgrade notice warns that they may not be compatible across versions. Close the app, then target the installed copy:
flatpak --user update fr.handbrake.ghb
Use --system for a system installation. Review the proposed changes, including dependencies. A bare flatpak update has broader scope and can update other apps and runtimes; it is not a HandBrake-only command. Relaunch the app and verify its version before resuming saved work.
To uninstall the per-user app while ordinarily retaining its app data:
flatpak --user uninstall fr.handbrake.ghb
The --delete-data option is a separate data-removal choice, not a routine troubleshooting step. Save wanted presets and preferences before using it. Neither reinstalling nor uninstalling is a substitute for keeping your original videos and checking the completed encodes.


