

We can do this, we just need to specify it. Let's say we wanted to find all packages in the system environment slash shells group. We can also narrow our search based on single attributes. In this information, we see name, version, release, install date, and more.

The dash qi will show information about the package. Again, we haven't specified to query a package or a file, so this information is coming from the database. Now type in rpm space dash qi for query information, space dash and hit Enter. Since we know everyone has Bash installed, let's query that. Type in rpm space dash qa space pipe space sort, and hit Enter. If you'd like to have a sorted list, just type it into sort. We can see from this list that there's a lot of packages installed. Because we haven't specified a package or a file to query, RPM will query the database.

We could specify the two options individually, but we can also place them next to each other as you see here. The dash q option tells RPM to query and dash a means all packages. In a terminal, type in rpm space dash qa and hit Enter. Let's use the RPM command to query the database.

This only works for files that belong to software packages. In reality it's looking through the package database for a reference to the file. We can also query a package directly, even if it isn't installed. Once a package is installed, the RPM package database is updated with the package information. Has anyone encountered this problem, and does anyone have a solution? If it’s helpful, I have also downloaded ROOT through the snap package manager on Ubuntu 22.04, which might be why I’m running into this problem.- RPM is used to install local software packages. I am confused as to why I cannot import the PyTorch package. To see what packages I have installed in the ROOT Notebook’s environment, this is my output Package VersionĪnd torch is a part of this list. I am currently doing this in the Jupyter Notebook for ROOT. However, when I try to do so, I get a ModuleNotFound error. I would like to import torch to do machine learning using TMVA.
