Discover out what packages are put in in your Fedora system

By | August 13, 2021

When you’re interested by what number of packages are put in in your Fedora system or how one can verify on them, you may be shocked at how a lot data you will have at your fingertips. With just some instructions, you could find out absolutely anything you may want learn about packages and the repositories they got here from.

To get began, a Linux bundle is just a group of information that performs some explicit duties. For instance, the favored image-editing program GIMP is put in as a bundle, and it contains the entire information that you could do some spectacular picture modifying. You may simply ask if GIMP is put in with a command like this:

Then again, you may also ask about GIMP with a command like this and uncover extra particulars:

This command offers extra particulars on the bundle together with its bundle title and that it is the 64-bit model of the x86 instruction set.

As you would possibly know, dnf changed yum some years in the past. Even if you happen to sort “yum” on the command line nowadays, you are in all probability utilizing dnf. The command under reveals that yum is just a symbolic hyperlink to dnf.

 

 

 

In case you are questioning, dnf additionally factors to dnf-3 (the present model of dnf).

To search out out about the entire packages that comprise GIMP, use a command like this:

The output above lists two GIMP packages. The second comprises the libraries. That “2.10.24” within the center fields signifies the discharge that’s put in, which is the most recent steady model of this instrument. The “fc34” string signifies that these packages are meant for Fedora 34.

To record extra put in packages, you may run a command like this:

This show lists the packages and launch data and, on the far proper, it references the repositories from which these packages have been derived or final up to date.

When you’re interested by what number of packages will likely be listed whenever you run the command with out piping its output to the head command, do that:

This reveals you that, on this technique, 1900 packages are put in (1901 contains the “Put in Packages” heading).

To get a really feel for what number of repositories are concerned and what number of packages/updates are related to every, you may attempt a command like this:

The traces present bundle counts by supply repository. It’s also possible to get an inventory of data on repositories like this:

The primary line reveals the headings for the record. When you add a -v (e.g., sudo dnf repolist -v), you will see much more element on every repository. The command under offers particulars for the primary listed repository.

To get extra data on a particular repository, you may run a command like this one:

The “Whole packages” depend on the backside refers back to the repository, not the system that the command is operating on.

To record packages that are put in in your system, however not related to any repository listed within the config file, use a command like this:

To record all out there packages in enabled repositories, do that:

Evaluating these numbers can level out how few packages are put in in comparison with what number of can be found.

Linux distributions embody hundreds of packages with many hundreds extra out there. On Fedora and associated distros, the dnf command can present quite a lot of element on the packages put in in your system and the repositories in use.