Avidemux is a free, open-source software program designed specifically for non-linear video editing and transcoding. The following tutorial will teach you how to install Avidemux on Ubuntu 22.10 Kinetic Kudu, Ubuntu 22.04 Jammy Jellyfish LTS, or Ubuntu 22.04 Focal Fossa LTS Linux using the command line terminal the LaunchPAD PPA by the XtraDEB team.
What is Avidemux? What does it do?
Avidemux is a versatile, easy-to-use tool for non-linear video editing and transcoding multimedia files. It is a powerful program proficient at cutting and joining video clips, applying filters, stabilizing shaky footage, and more. The software supports various output formats, enabling users to quickly convert the source material into the desired file type without compromising quality. It offers detailed information concerning the duration of clips and their frame rate, making it an excellent choice for professionals in film or other media-centric industries. Additionally, its lightweight design can be a user-friendly option for simple video editing tasks such as creating short videos for social media. Overall, Avidemux is a comprehensive and highly beneficial solution for creating or changing audio/video content in any form.
Note about the Tutorial
The following tutorial was done with a Ubuntu 22.10 release, and example images were taken. Still, it was tested on Ubuntu 20.04 and Ubuntu 22.04. In the future, if Ubuntu makes any changes to break the tutorial for one of the distribution versions, please place a comment for me to investigate so I can update the tutorial.
Recommended Steps Before Installation
Before you begin, run an update on your system to ensure all packages are up-to-date to avoid any conflicts during the installation.
sudo apt update
Optionally, you can list the updates for users who require review or are curious.
sudo apt --list upgradable
Proceed to upgrade any outdated packages using the following command.
sudo apt upgrade
Install Avidemux on Ubuntu Linux
The first task in installing Avidemux is to import the xtradeb applications PPA maintained by the “xtradeb packaging” team, as explained at the start of the tutorial. This PPA has been around for a long time and supports other unique packages.
First, install the following packages that are required. These are most likely installed but run the command to be safe.
sudo apt install dirmngr lsb-release ca-certificates software-properties-common gnupg gnupg2 apt-transport-https -y
For users who have not previously imported a GPG key from the Ubuntu keyserver, the command line terminal will often have issues importing GPG keys from LaunchPAD PPAs because the directories are not created. This is an easy fix. Use the following command that will, in turn, generate the directories.
sudo gpg --list-keys
gpg: directory '/root/.gnupg' created gpg: keybox '/root/.gnupg/pubring.kbx' created gpg: /root/.gnupg/trustdb.gpg: trustdb created
This can be skipped, but if you encounter an issue, just run the command and re-try.
The next task is to import the GPG key needed.
sudo gpg --no-default-keyring --keyring /usr/share/keyrings/xtradeb.gpg --keyserver keyserver.ubuntu.com --recv-keys 82BB6851C64F6880 > /dev/null
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
With the GPG key now imported, you can import the LaunchPAD PPA. Remember, match the command to the version of Ubuntu you are utilizing, or the installation will likely fail with errors.
Please note at the time of this tutorial, only Ubuntu 22.10, 22.04, and 20.04 is supported by the PPA and tested. In the future, if I have not updated the tutorial, check the PPA and see if a newer version is supported, as the command below will match any Ubuntu system, but again this does not mean it will be kept.
echo "deb [signed-by=/usr/share/keyrings/xtradeb.gpg] https://ppa.launchpadcontent.net/xtradeb/apps/ubuntu $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/xtradeb.list
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.
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, do not forget to right-click and add as a favorite if you will access this application a lot.
Activities > Show Applications > 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.
Additional Commands & Tips
How to Update Avidemux
The software should update 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
This is fine and standard for users who prefer updating with the GUI. Still, I recommend using the cli commands to ensure your packages are updated and familiarize yourself with users porting from Windows.
How to Remove 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 be mindful that if you have installed other applications, do not remove it. If you did it accidentally, re-import it at the tutorial’s start.
Note, if you have installed other applications from this PPA, do not remove them, or else you will fail to get updates in the future for those other applications.
sudo rm /etc/apt/sources.list.d/xtradeb.list
To find out more information about Avidemux, visit the official documentation.
The tutorial taught you how to install Avidemux from a LaunchPAD PPA on Ubuntu Linux. The tutorial has also demonstrated how to fix importing a GPG key for the first time using cli commands with the command line terminal.