PA
7 0
Asked
Updated
Viewed
13.9k times

I tried to install an RPM and I got the following:

[root@localhost RPMS]# rpm -ivh linuxwacom-0.6.6-5.i386.rpm

warning: waiting for transaction lock on /var/lib/rpm/__db.000
Preparing... ########################################### [100%]
1:linuxwacom ########################################### [100%]

How can I check or verify that the RPM was actually installed? How can I figure out where the RPM installed its files?

add a comment
1

1 Answer

  • Votes
  • Oldest
  • Latest
Answered
Updated

First, you can verify that the RPM package was indeed installed by running the following command from your shell using root privileges:

# rpm -qa | grep linuxwacom

If it is installed you will see output indicating that the RPM package was installed.

Second, you can figure out where the RPM files were installed by running the following command again using root privileges:

# updatedb
# locate linuxwacom

That will first update the search database, and second, it will output all file paths that have the word linuxwacom in the path or filename.

Alternatively you can just run the command to see if it works after you install the package via a regular user:

$ linuxwacom

Or if you were installing a different RPM package you would obviously run a different command there.

add a comment
1