Application Center is an old GUI program for managing installed software that was used in Ubuntu until 16.04. Later it was decided to abandon its further development in favor of the Application Manager from the Gnome project. Ubuntu comes with a highly modified version, since the internal architecture of this program is designed for this. She herself is written in C and works quite quickly (unlike the previous application center in Python), has a developed system of plug-ins.
However, these programs are fundamentally different in their approach. The Gnome Application Manager (and Ubuntu) uses AppStream as a source of software information — a database with metadata about program components in the open source ecosystem. Apt regularly downloads it from the update mirror using the apt update command or automatically. Debian-based distributions use the DEP-11 format.
For some reason, currently, this database mainly contains information about programs that have a graphical user interface. And due to the fact that for the most part this database is built by an automated appstream-generator tool based on .desktop files, the implication is valid: "If a package with a program installs a .desktop file with an icon for a menu, this application can be found in the AppStream."
But in fact, in the application manager , a filter is still applied — it displays only programs with a GUI in the list, that is, those marked with type=desktop-application . It is assumed that if you need a console program, it is much easier to put it directly with Apt.
findings
The application manager uses AppStream - a distribution-independent list of applications in the world of Linux and open source software. However, the packages are installed from their usual repositories that Apt uses.
The application center uses the Debian or Ubuntu archive infrastructure directly, without resorting to an AppStream or DEP-11.
Utility
You can access the AppStream database stored on your computer from the command line using the appstreamcli utility from the appstream package.
The lists themselves in the DEP-11 format are stored in the /var/lib/app-info/yaml .
However, user reviews you will not find there (there are only descriptions). Estimates of programs are downloaded from the server reviews.ubuntu.com once every three months, immediately all available, comments - when you open the page with the application. The plugin /usr/lib/gs-plugins-9/libgs_plugin_ubuntu-reviews.so is responsible for /usr/lib/gs-plugins-9/libgs_plugin_ubuntu-reviews.so .
As for gksu: I have the Debian unstable repository connected, and gksu.desktop is listed in yaml from there , so the Application Manager finds it in the search. However, it is worth refraining from using this utility - it is recognized as obsolete and will be removed in the future.