How to Install OpenShot on Ubuntu 22.04 or 20.04


OpenShot Video Editor is an easy-to-use free, open-source video editor started in 2008 by Jonathan Thomas and is a favorite among Linux users. The following tutorial will teach how to install OpenShot on Ubuntu 22.04 Jammy Jellyfish or Ubuntu 20.04 Focal Fossa Linux LTS using two different package manager methods with CLI commands: APT with the OpenShot nightly LaunchPAD PPA or the Flatpak with the Flathub repository.

Update Ubuntu

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

Method 1: Install OpenShot – PPA Method

An alternative method is to install OpenShot PPA maintained by the “OpenShot Developers” team.

The following dependencies will need to be installed. Most of these packages are already on your system, but running the command can help ensure they are installed.

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

Next, import the GPG key needed for all the repositories.

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

sudo gpg --no-default-keyring --keyring /usr/share/keyrings/openshot.gpg --keyserver keyserver.ubuntu.com --recv-keys FBA0C227099A5360635E3D9152165BD6B9BA26FA

Example output:

g: keybox '/usr/share/keyrings/openshot.gpg' created
gpg: key 52165BD6B9BA26FA: public key "Launchpad OpenShot Development PPA" imported
gpg: Total number processed: 1
gpg:               imported: 1

Now import using the following command.

echo "deb [signed-by=/usr/share/keyrings/openshot.gpg] https://ppa.launchpadcontent.net/openshot.developers/libopenshot-daily/ubuntu $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/openshot.list

Now, update your repository list to reflect the new additions.

sudo apt update

With the setup complete, execute the installation command to install.

sudo apt install openshot-qt -y

Method 2: Install OpenShot – Flatpak with Flathub Repo

The third option is to use the Flatpak package manager. Flatpak is not installed natively on Ubuntu 22.04, given Canonical is behind both Ubuntu and Snaps, but it is available to install if you so wish.

First, install the Flatpak manager if it was removed previously.

sudo apt install flatpak -y

For users installing Flatpak for the first time, it is often recommended to reboot your system. Failure to do this can occur with odd issues, such as wrong icon paths.

sudo reboot

SKIP THE REBOOT IF FLATPAK IS INSTALLED.

Next, you need to enable Flatpack using the following command in your terminal.

sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

Next, you can install OpenShot Flatpak with the following command.

flatpak install flathub org.openshot.OpenShot -y

Once installed, you can proceed to launch.

Troubleshoot Flatpak OpenShot Installation

First, the most common error when installing a Flatpak from Flathub is the following error output.

"error: Unable to load summary from remote flathub: Can't fetch summary from disabled remote 'flathub,"

The fix is simple, run the following command to enable Flathub.

flatpak remote-modify --enable flathub

This will fix the issue the above issue. The next issue can be access to system files. I would only recommend using the following command if you have access permission with your installation accessing files; use the override command below.

sudo flatpak override org.openshot.OpenShot --filesystem=host

Please do not use this command by default unless it is needed.

How to Launch OpenShot

The best method is to use the following desktop path to launch OpenShot.

Activities > Show Applications > OpenShot Video Editor

Example:

Once you open OpenShot, you can begin using the video editor. I suggest visiting the official website documentation for first-time users to learn how to use the software and handy hints.

See also
How to Install Waterfox Browser on Ubuntu 22.04 or 20.04

Example:

Additional Commands & Tips

How to Update OpenShot

Most users would often update when the desktop GUI notifies them, which is excellent. But I would always recommend updating using the command line terminal with CLI to ensure updates are getting processed.

sudo apt update && sudo apt upgrade

How to Remove (Uninstall) OpenShot

The removal of the OpenShot is straightforward. Use the following command that matches your installation.

For users that are installed using the APT package manager, use the following command.

sudo apt autoremove openshot --purge

Note that this will delete all data, including all database data added with the –purge flag. Do not use the purge end flag if you wish to keep the data.

Users who installed using the PPA and have not installed any other applications can safely remove this repo.

sudo rm /etc/apt/sources.list.d/openshot.list

Lastly, users that installed the Flathub method remove the Flatpack version and run the following command.

flatpak uninstall --delete-data org.openshot.OpenShot -y

Another handy hint can be to use the following command to ensure Flatpak has not left behind any unnecessary packages as it is known to sometimes.

flatpak remove --unused

Conclusion

This small tutorial has demonstrated how to install OpenShot using the official daily PPA repository or the Flatpack with Flathub for the latest versions of the video editor using CLI commands. Overall, you should not have an issue installing either method. For the most part, keeping the PPA method would be best as you will utilize your standard updates, and checking for updates with OpenShot is my advice for newer users.

Leave a Comment

Share to...