How to set default programs using the Debian alternatives system

How to set default programs using update-alternatives on Debian-based distributions

More often than not, on our Linux system, we can find two or more applications of the same type installed: it is typically the case of text editors, but we can also have multiple web browsers, for example. Setting the default application used to perform a specific task system-wide, however, can sometimes be problematic. To solve this problem, on Debian and Debian-based Linux distributions, we can use the alternatives system and the “update-alternatives” tool.

Read more

How to Create a Flatpak Application from Scratch

How to Create a Flatpak Application from Scratch

Application developers will often choose Flatpak as a medium for packaging and distributing their software. Flatpak allows developers to make their software available across all types of Linux systems without having to publish individual installers to satisfy the requirements of each distribution. App developers can also utilize Flatpak’s distribution system which relies on software repositories; it is rather easy to host your own or upload your work to a renowned Flatpak remote.

Read more

Fixing the Error creating sandbox error in Flatpak

Fixing the Error creating sandbox error in Flatpak

One of Flatpak’s most fundamental features is that it runs all applications in their own sandbox. If Flatpak runs into an issue with creating a sandboxed environment for an application, it will issue the Error creating sandbox in your terminal. This may occur either when installing, updating, or running a Flatpak application, since these events trigger Flatpak to attempt to create a new sandbox for the app.

Read more

How to fix the Error updating application in Flatpak

How to fix the Error updating application in Flatpak

Flatpak normally does a good job of keeping apps up to date by querying your configured remotes for new versions of installed apps. However, if Flatpak runs into trouble during an update, you may receive the Error updating application message in your terminal. This could occur for a variety of reasons, but usually just means that Flatpak can’t access the remote repository to install a needed update.

Read more

What to do if you encounter a Checksum mismatch error in Flatpak

What to do if you encounter a Checksum mismatch error in Flatpak

The Checksum mismatch error may occur in Flatpak when installing or updating an application. The error indicates that the checksum of what it downloaded is different from what was expected – in other words, the download is probably corrupted or incomplete. Flatpak is smart enough to avoid installing the app or update when it can’t verify the integrity of the files it retrieved, and will issue an error message instead.

Read more

Resolving the Dependency not found error in Flatpak

Resolving the Dependency not found error in Flatpak

You might receive the Dependency not found error in Flatpak whenever an application that you are trying to run or install has a dependency that can’t be currently found on your Linux system. Ordinarily, Flatpak will automatically download all necessary dependencies when it installs an application, but this does not always work perfectly in practice. The fix for this error usually involves identifying the missing dependency, and then installing it.

Read more

Setting Up a Flatpak Remote Repository to Make Installing Apps Easier

Setting Up a Flatpak Remote Repository to Make Installing Apps Easier

Flatpak provides developers and administrators with a lot of flexibility in how they decide to distribute applications. Flatpak can query online repositories (or “remotes”) for software to download and for new updates to already installed applications. Developers can choose to host their own repo and share it with users that wish to download their software, or submit their work to a well known online repo like FlatHub.

Read more

How to Create and Publish Flatpak Packages

How to Create and Publish Flatpak Packages

As an application developer, you may be interested in packaging and distributing your work through Flatpak. Lots of developers choose to use Flatpak because it allows them to deploy their application across a variety of different Linux system, without needing to worry about individual dependencies and differences between distributions. There are also many public software repositories, like FlatHub, where you can upload your work and not need to worry about hosting it yourself.

Read more

Snapd vs Flatpak vs Appimage: Cons and Pros review

Snapd vs Flatpak vs Appimage: Cons and Pros review

When it comes to software installation on Linux, package management systems like Snapd, Flatpak, and AppImage are frequently mentioned and compared. All three of them are distribution independent package managers, meaning that they can be used on any Linux system regardless of what distribution you are running. In this tutorial, we will look at the differences between these three tools and discuss their pros and cons to help you decide which one would serve you best.

Read more