Haruna is an open source and free video player for Linux built with Qt/QML and libmpv that acts as a front-end to mpv along with the ability to use youtube-dl which allows playing online videos from over 1000 websites such as YouTube and PeerTube. By default, the software will reproduce the best possible video and audio quality.
It is not limited to video playback. As an audio player, its performance is also satisfactory. Haruna has support for Lua scripting, and it can even encode files from one format/codec to another. It’s an simple and useful GUI on top libmpv. The user interface is easy to get used to and offers some important customization options as well.
Key Features of Haruna Video Player
- Play online videos, through youtube-dl
- Hardware decoding supported
- Supports youtube playlists
- Plenty of keyboard shortcuts
- Configurable shortcuts and mouse buttons
- Auto skip chapter containing certain words
- Quick jump to next chapter by middle click on progress bar
- Option to add primary and secondary subtitle
- Toggle playlist with mouse-over, playlist overlays the video
This article explains two methods of installing Haruna Video Player on Ubuntu 20.04.
Choose the installation method that is most appropriate for your environment.
Method 1: Installing Haruna as a Snap Package
The easiest way to install Haruna Video Player on Ubuntu 20.04 is by using the snap packaging system.
A snap package is a type of universal Linux package that you can enjoy irrespective of the distro. Its an self-contained software packages that include the binary all dependencies needed to run the application.
All you need is the snap service pre-configured, In the case of Ubuntu 20.04, it comes with snap pre-installed.
If snapd package is not already installed then you can install it by running following command.
$ sudo apt install snapd
Note: Snap packages can be installed from either the command-line or via the Ubuntu Software application.
This is actually the Snap version of the Haruna Video Player. It can be used on any Linux distribution that has Snap support.
Open your terminal (
Ctrl+Alt+T) and type the following command to install the Haruna package.
$ sudo snap install haruna --candidate
At this step, you have successfully installed Haruna Video Player on Ubuntu 20.04 system.
Type the following command to update Haruna package.
$ sudo snap refresh haruna
Method 2: Installing Haruna Video Player via Flatpak
Before installation let’s understand what is Flatpak.
What is Flatpak?
Flatpak is basically a framework for the applications on Linux. With the different distributions preferring their own package management, Flatpak aims at providing a cross-platform solution with other benefits.
It makes the work for developers even easier. A single application build can be used in almost all the Linux distribution (that support Flatpak) without any modification to the bundle.
Ubuntu has Flatpak supported by default. However, you can verify it by trying to install Flatpak again.
$ sudo apt install flatpak
You can also use the official PPA to install Flatpak. Open a terminal and use the commands below.
$ sudo add-apt-repository ppa:alexlarsson/flatpak $ sudo apt update $ sudo apt install flatpak
Once Flatpak is installed type the following command to install Haruna Video Player.
$ flatpak install flathub org.kde.haruna
Then execute the below command to run the Haruna application.
$ flatpak run org.kde.haruna
Starting Haruna Video Player
In the Activities search bar type “Haruna” and click on the icon to launch the application.
Haruna User Interface:
How to Uninstall Haruna from Ubuntu 20.04
For some reason, If you want to uninstall Haruna, refer following methods.
If you have installed Haruna Video Player via Snap type the following command:
$ sudo snap remove haruna
If you have installed the application via Flatpak run the below command:
$ flatpak uninstall org.kde.haruna
I hope that now you have a good understanding of How to install Haruna Video Player on Ubuntu 20.04 LTS Focal Fossa.
If anyone does have any questions about what we covered in this guide then feel free to ask in the comment section below and I will do my best to answer those.