A command-line search tool for AppImage, Flatpak, and Snap
Rich Harvest
If you are looking for an application in AppImage, Flatpak, or Snap app stores, Chob lets you perform a keyword-based search from the command line.
The alternative package formats AppImage, Flatpak, and Snap can be found in almost all distributions. Some projects even rely entirely, or at least predominantly, on these modern constructs that include most dependencies in the package. For example, Fedora's Silverblue Workstation is completely based on Flatpak; Clear Linux OS supports Flatpaks, as well as in-house bundles. Endless OS is also increasingly taking this path to deliver software. Although Ubuntu mainly uses its Snap format in the cloud, it also offers an increasing number of Snap packages for its desktop versions.
Testing
These new formats are especially useful for testing new software versions. For instance, the LibreOffice developers recommend staying with the previous version and waiting a couple of minor releases before making the final switch for production use.
However, if you want to find out whether the new version fixes a certain bug, trying out a corresponding Flatpak does not conflict with the previously installed, production-use version. In the AppImage format, there are even four different development stages of LibreOffice letting you safely try out new features in advance.
Complex Search
What if you want to find out which applications are available in the new formats for a certain application genre? Until now, you had to manually search each of the app stores. Flathub [1], Snap Store [2], and AppImageHub [3] each offer hundreds or even thousands of apps in their respective formats.
To remedy this, Mohammed Kaplan has developed Chob [4], a command-line search engine that searches these app stores using a keyword. Chob is licensed under Apache v2, builds on Node.js, and is available on GitHub.
On Chob's download page [5], you will find a package in deb format, as well as the executable chob-linux
for other distributions. The source code is also available. You can install the deb package in the usual way with:
dpkg -i chob
After downloading the chob-linux
binary, first make it executable by typing
sudo chmod +x chob-linux
and then launch the tool by entering the program name followed by the search term.
To build the tool yourself, you will need to install at least the latest Node.js LTS version (currently version 10.x). Then drag the software from the repository (Listing 1, line 1) onto your hard disk, change to the newly created directory (line 2), and install the application (line 3).
Listing 1
Building Chob
01 $ git clone https://github.com/MuhammedKpln/chob.git 02 $ cd chob 03 $ npm install && yarn
No Options
Chob is easy to use, because apart from the parameter for the search word, the small tool has no options. If you enter chob music
in a terminal emulator, or (depending on your version) ./chob-linux music
, you will see a list of matches. In a test run, the list contained 15 applications that contained the string music
(Figure 1).
Keeping with the LibreOffice example, searching with a keyword of office
results in the four previously-mentioned development versions of LibreOffice as AppImages, one package each in the Flatpak and Snap formats, as well as other office suite packages (Figure 2).
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Wine 10 Includes Plenty to Excite Users
With its latest release, Wine has the usual crop of bug fixes and improvements, along with some exciting new features.
-
Linux Kernel 6.13 Offers Improvements for AMD/Apple Users
The latest Linux kernel is now available, and it includes plenty of improvements, especially for those who use AMD or Apple-based systems.
-
Gnome 48 Debuts New Audio Player
To date, the audio player found within the Gnome desktop has been meh at best, but with the upcoming release that all changes.
-
Plasma 6.3 Ready for Public Beta Testing
Plasma 6.3 will ship with KDE Gear 24.12.1 and KDE Frameworks 6.10, along with some new and exciting features.
-
Budgie 10.10 Scheduled for Q1 2025 with a Surprising Desktop Update
If Budgie is your desktop environment of choice, 2025 is going to be a great year for you.
-
Firefox 134 Offers Improvements for Linux Version
Fans of Linux and Firefox rejoice, as there's a new version available that includes some handy updates.
-
Serpent OS Arrives with a New Alpha Release
After months of silence, Ikey Doherty has released a new alpha for his Serpent OS.
-
HashiCorp Cofounder Unveils Ghostty, a Linux Terminal App
Ghostty is a new Linux terminal app that's fast, feature-rich, and offers a platform-native GUI while remaining cross-platform.
-
Fedora Asahi Remix 41 Available for Apple Silicon
If you have an Apple Silicon Mac and you're hoping to install Fedora, you're in luck because the latest release supports the M1 and M2 chips.
-
Systemd Fixes Bug While Facing New Challenger in GNU Shepherd
The systemd developers have fixed a really nasty bug amid the release of the new GNU Shepherd init system.