Install and Use Flatpak on Linux Mint

Chưa phân loại
In the case of the Linux world, there are so many things going on at the same time that things can become pretty messy.  For example, let’s take the installation of your favorite software. Whenever you’re willing to install it, you have to make sure that the software comes up as the correct bundle/package that your system accepts and treats as installable software. Many Linux distros come up with different installable package types. For example, Debian, Ubuntu and derivatives use DEB packages whereas Fedora, OpenSUSE, CentOS and RHEL etc. use RPM.

Keeping that in mind, a number of software packages that targets the Linux platform offer source codes directly instead of providing individual binaries for each platform. That being said, building from source and installing software can become pretty troublesome in lots of cases. In fact, you may end up with a number of errors and dependency problems. That’s why installing software directly from source can be troublesome for the users.

What to do in such a situation? Well, there are a few projects that are ongoing on the Linux that offers a universal platform – installing, managing and uninstalling software as you like on all the Linux distros. No need to worry about dependencies or others.

Flatpak for Linux

Flatpak is one of the many finest Linux frameworks that offers tremendously valuable service. With all the different Linux distros preferring their own package management and installable file type, grabbing the right software can be a difficult choice for Linux users. Moreover, it also makes the work of a developer much harder as all the different distros have to be covered.

Flatpak is an effort in removing the tyranny of such messes. With one universal platform, both the software developers and the users can benefit. For example, the developer only has to maintain the software in one place without worrying about cross-distro compatibility. Users can also directly install software from one place, on all the supported Linux distros.

For the users, Flatpak automatically keeps all the installed packages up-to-date. In the case of developers, there’s no need to change the code at all for forward-compatibility.

Flatpak on Linux Mint

If you’re new to Linux, then Linux Mint is one of the best places to start. Even for professional usage, Linux Mint offers great value. It’s a mid-weight Linux distro that comes up with some of the coolest desktop environments (Cinnamon, Xfce, and MATE) for Linux.

As a popular distro, Linux Mint also offers support for Flatpak.

Now, in the case of all the “universal” app management systems, it’s necessary to have the client-side software configured. The client-side ensures that the system is ready to accept and enjoy universal packages.

Fire up a terminal and make sure that your system is already up-to-date.

sudo apt update && sudo apt upgrade -y

Install the Flatpak core –

sudo apt install flatpak

Verify the installation of Flatpak –


Flatpak usage

Installing a package

The most basic usage of Flatpak is installing a “flatpak” universal package or uninstalling it. Note that you can get the universal “flatpak” packages directly from a developer or from the Flathub. Flathub is the place where all the official Flatpak apps are available.

For example, let’s install Slack from Flathub.

Click on “Install”. This will download a “flatpakref” file on your system.

Now, run the following command for installing the “flatpakref” –

flatpak install –from com.slack.Slack.flatpakref

You’ll be prompted to allow some actions. Most of them should be “y” (yes) unless you’re sure that you don’t need it.

List installed flatpaks

Flatpak allows you to list all the installed software directly. Just run the following command –

flatpak list

Uninstall a package

Need to uninstall software? Let the flatpak tool handle all by itself!

sudo flatpak uninstall <package_name>

Repairing flatpaks

In cases, you may end up with a corrupted installation of a package. Don’t worry; Flatpak allows you to check for any error and fix it accordingly (if needed).

sudo flatpak repair

All the available options are available on the man page of Flatpak.

man flatpak


ONET IDC thành lập vào năm 2012, là công ty chuyên nghiệp tại Việt Nam trong lĩnh vực cung cấp dịch vụ Hosting, VPS, máy chủ vật lý, dịch vụ Firewall Anti DDoS, SSL… Với 10 năm xây dựng và phát triển, ứng dụng nhiều công nghệ hiện đại, ONET IDC đã giúp hàng ngàn khách hàng tin tưởng lựa chọn, mang lại sự ổn định tuyệt đối cho website của khách hàng để thúc đẩy việc kinh doanh đạt được hiệu quả và thành công.
Bài viết liên quan

Setup NAS Server on Raspberry Pi 3

NAS servers are really costly these days. If you don’t have that much money to spare, then you use Raspberry Pi 3 to set...

Traceroute with Nmap

Brief introduction to Traceroute and Traceroute with Nmap When we interact with other devices within a network, such as...

Oracle Linux vs RedHat

Oracle and Red Hat are big names in the world of enterprise Linux. With more similarities than differences, the choice between...
Bài Viết

Bài Viết Mới Cập Nhật

Lý do tại sao bạn nên sử dụng proxy khi truy cập web đen

Các lỗi thường gặp khi sử dụng proxy và cách khắc phục chúng.

Tác động của việc sử dụng proxy đến tốc độ kết nối internet của bạn.

Các tiện ích và công cụ để quản lý proxy.

Các cách để kiểm tra tốc độ và độ ổn định của proxy.