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.
System Administration
How to remove NGINX from Ubuntu
In this tutorial, we’ll be going over the step by step instructions to remove NGINX web server and reverse proxy server from Ubuntu Linux. Ubuntu offers us two options for uninstalling the software, either “remove” or “purge.” Read on to learn the difference and find out how to perform either function.
How to find a string or text in a file on Linux
On a Linux system, the need to find a string in a file can arise quite often. On the command line, the grep command has this function covered very well, but you’ll need to know the basics of how to use it. On GUI, most text editors also have the ability to search for a particular string.
How to save and exit file using nano editor in Linux
In this tutorial, you will learn how to save a file in the Linux nano editor. The nano editor is one of the most popular ways to edit files via the command line on Linux systems. There are plenty of others, like vim and emacs, but nano is praised for its ease of use.
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.
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.
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.
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.
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.
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.
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.
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.