How to install multimedia support in Ubuntu, Linux Mint, Fedora and Flatpak
April 19, 2024
0
One of the first obstacles encountered by users who start using it Linux It supports multimedia and some compressed file formats. Here the situation varies depending on the
One of the first obstacles encountered by users who start using it Linux It supports multimedia and some compressed file formats. Here the situation varies depending on the distribution and its approach, but one reason that can be more or less generalized is the fact that certain sectors are dominated by proprietary and/or proprietary formats, which can make it difficult to pre-install certain components.
Although Linux still has a reputation in many circles as a system focused on advanced profiles, the reality is that for some time now most of the people who use it are nothing more than home users who use it for common tasks such as office, Internet browsing, consumption multimedia and even video games, despite the disadvantages it brings to online gaming due to how the devices are implemented and work. anticheats.
Aside from the philosophical and conceptual issues, when push comes to shove, many don’t care about the issue of free and proprietary formats, and moreover, the dominance of proprietary and/or proprietary formats in certain sectors means that many followers of free software install adequate support so that you have a fully functional computer.
Fortunately to have necessary support for multimedia, 7Zip (which is free but often not preinstalled) and RAR It’s something that can be easily fixed in most distros, but with the latter, the easy installation in many cases only involves the UNRAR decompressor, while the RAR compressor has to be obtained from the official site and probably paid for. This is because the free redistribution of UNRAR is allowed, which leads to it being implemented in tools like PeaZip, while using RAR requires the paper to go through the RARLAB box.
Here I will insert some command lines that will allow you to have the necessary support in Ubuntu, Linux Mint, Fedora and the Flatpak universal package format in a few steps.
Installing multimedia support in Ubuntu and Linux Mint
Ubuntu and Linux Mint have an option in their respective installers that allows you to get third-party codecs, with the result that the system is better prepared from the start to reproduce video and audio formats that are proprietary and/or proprietary. The step I am referring to is as follows:
Future Ubuntu 24.04 LTSwhose release is coming soon, the missing packages are as follows:
Fedora is a community distribution sponsored by Red Hat that serves as a testbed for technologies that will be implemented in Red Hat Enterprise Linux (RHEL). Its popularity has grown in recent years due to its commitment to more neglected use through automation, its focus on the latest software, and to a lesser extent its strong commitment to open source, as nothing proprietary or patent-offending from their official repositories is useful beyond hardware support.
Due to its strong commitment to open source, Fedora does not provide codecs from its repositories for formats such as H.264/x264, H.265/x265/HEVC, and RAR, so must be provided through RPM Fusion, a third-party repository based in France that provides codecs, drivers, Steam, UNRAR and various multimedia applications. Given these circumstances, the first step is to configure the complete RPM Fusion repositories, which are divided into free and non-free branches:
After configuring the repositories, you need to enter the following commands to get the components I mentioned earlier for Ubuntu and Linux Mint, albeit with things customized for Fedora:
If you are using a proprietary and official NVIDIA driver, it might be interesting to install the unofficial VA-API support for it, which consists of a wrapper around NVENC:
sudo dnf install nvidia-vaapi-driver
When the user starts installing things from RPM Fusion, they will be asked if accepts the keys of the listed repositories. Obviously you have to answer yes here by typing “s”.
How to install multimedia support in Flatpak
Flatpak has become a universal package format that is preinstalled in multiple distributions, although the most popular, Ubuntu, is not one of them. Currently, most Ubuntu derivatives pre-install Flatpak, and there are systems such as Fedora Silverblue and openSUSE MicroOS that promote its use as a way to decouple applications from the system, thereby improving mechanisms that prevent system crashes.
All technical equipment aside, Flatpak can be thought of as a general framework for Linux applications, so the steps are the same for all distributions. Of course, you need to make sure that Flathub storage is configured first.
Configuring multimedia support in Flatpak is simple and may not even be necessary because the package we will install ffmpeg-full, is considered a dependency by many applications. Despite this, I will explain the steps.
The first thing you need to do is enter the installation command ffmpeg-full:
A list of versions will then appear. ffmpeg-full available. It is best to install the last two here, which are currently 22.08 and 23.08. Yeah, you have to go through the installation process twicein case it wasn’t clear.
As for compressor support, you can use PeaZip, which is one of the best third-party compression tools, it’s free software and its Flatpak version is also verified.
flatpak install flathub io.github.peazip.PeaZip
Conclusion
And these are the steps to follow to have basic multimedia support and at least decompress RAR files in Linux.
Command lines are a little scary, but as I’ve explained on other occasions, they end up being much faster to use than viewing windows, which can also easily lead to errors due to the large amount of detail in them. the ones you have to watch.
Donald Salinas is an experienced automobile journalist and writer for Div Bracket. He brings his readers the latest news and developments from the world of automobiles, offering a unique and knowledgeable perspective on the latest trends and innovations in the automotive industry.