10/14/2023 0 Comments Centos packagesIn this case we would run: $ rpm -qi gimp For the sake of this example we will work with the “gimp” package, which is already installed in the system. To accomplish this task, all we have to do is to use the -i (or -info) option when invoking rpm in query mode. One of the basic things we may want to do when dealing when an rpm package is to display general information about it. Obtaining general information about a package Let’s see some practical examples of how to retrieve information about a package. rpm file, for example, we have to use the -p ( -package) option, and provide the path of the file as argument. If a package is already installed on our system, all we need to do is to mention it by its name if it is not the case, and we want to query a downloaded. The rpm package manager can be used to modify the status of the system, since it can be used to install, upgrade and remove packages (when invoked with the -i, -U and e options, respectively), or it can run in “query” mode, without the need of administrative privileges, when it is launched with the -q option, which is the short version of -query. $ – requires given linux-commands to be executed as a regular non-privileged user # – requires given linux-commands to be executed with root privileges either directly as a root user or by use of sudo command Requirements, Conventions or Software Version Usedĭistributions which uses the rpm package manager Software requirements and conventions used Software Requirements and Linux Command Line Conventions Category How to query packages information with the rpm package manager
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |