How to Install Avidemux on Linux Mint 21 LTS

Avidemux is a free, open-source software application for non-linear video editing and transcoding multimedia files. It supports many file types, including AVI, DVD-compatible MPEG files, MP4, and ASF, using a variety of codecs. It is trendy as it allows users to cut, join, split, rotate videos, and add filters. Avidemux has a wide range of features that makes it a popular choice for video editing, including support for most popular video formats, the ability to cutting and joining video files without re-encoding, and power management features allowing you to automatically shutdown your computer when the job is done and much more. If you are looking for an easy-to-use video editor with all the features you need, then Avidemux is the right choice for you.

The following tutorial will teach you how to install Avidemux on Linux Mint 21 LTS using the command line terminal and the LaunchPAD PPA by the XtraDEB team.

Update Linux Mint

Before you begin, update your system to ensure all existing packages are up to date to avoid any conflicts during the installation.

sudo apt update && sudo apt upgrade -y

Import XtraDEB Applications PPA

To install Avidemux, you will need to import the xtradeb applications PPA maintained by the “xtradeb packaging” team.

First, install the following packages that are required. These are most likely installed but run the command to be safe.

sudo apt install dirmngr ca-certificates software-properties-common gnupg gnupg2 apt-transport-https -y

Import the GPG key needed for all the repositories.

sudo gpg --no-default-keyring --keyring /usr/share/keyrings/xtradeb.gpg --keyserver --recv-keys 82BB6851C64F6880 >> /dev/null

If you have issues importing the LaunchPAD GPG key, please see the end section on GPG troubleshooting at the end of the article.

Example output:

gpg: keybox '/usr/share/keyrings/xtradeb.gpg' created
gpg: key 82BB6851C64F6880: public key "Launchpad PPA for xtradeb Ubuntu team" imported
gpg: Total number processed: 1
gpg:               imported: 1

The next task is to import the GPG key needed for all the repositories.

echo 'deb [signed-by=/usr/share/keyrings/xtradeb.gpg] jammy main' | sudo tee -a /etc/apt/sources.list.d/xtradeb.list

Install Avidemux

Before running the installation command, run an apt update to reflect the new imported PPA.

sudo apt-get update

With the PPA added, you can begin the installation using the following command.

sudo apt install avidemux* -y

How to Launch Avidemux

Launching can be done in a few ways now that you have the software installed.

See also
How to Install Beekeeper Studio on Ubuntu 22.04 or 20.04

In your terminal, use the following command.


However, this is not practical for desktop users, and you would use the following path on your desktop. 

Taskbar > Sound & Video > Avidemux


Once opened, you will land at the default landing screen for Avidemux, where you can begin editing your videos.


And that is it, and you have successfully installed the latest version of Avidemux.

How to Update/Upgrade Avidemux

The software should update by itself with your system packages for desktop users using the APT package manager. For users who want to check manually, use the following command in your terminal.

sudo apt update && sudo apt upgrade

How to Remove (Uninstall) Avidemux

Use the following command entirely for users who no longer wish to have Avidemux on their system and want to remove the software.

sudo apt autoremove avidemux* --purge

The above command is a blanket command that will remove all associated unused dependencies along with Avidemux and any saved data created by the software for complete removal.

Lastly, remove the repository but do be mindful that if you have installed other applications from this repository, then do not remove it. If you did it accidentally, re-import it as with the start of the tutorial.

sudo add-apt-repository -r ppa:xtradeb/apps -y

How to Fix Broken LaunchPAD GPG Import

Users that have installed Linux Mint for the first time or have not imported a GPG key before using the command line terminal will often have issues importing GPG keys from LaunchPAD PPAs due to the directories not being created. This is an easy fix. Use the following command that will, in turn, generate the directories.

sudo gpg --list-keys

Example output:

As above, the necessary directories have been created. This can be skipped, and use the following GPG import command below. If you have any issues with directories missing for this and any other PPA GPG key in the future, just run the above command.

Comments and Conclusion

Avidemux is a great, free option for video editing and transcoding. While it doesn’t have all the features of more expensive software, it does allow you to do some basic editing and transcoding without spending any money. If you’re looking for an easy way to make simple changes to your videos or convert them between different formats, Avidemux is an excellent option to consider.

To find out more information about Avidemux, visit the official documentation.

Leave a Comment

Share to...