What happens to the installed RPM packages?
Hi everybody,
My question is as well as simple and newbie - what happens to the installed RPM packages? I mean do they get inserted into the linux kernel like common modules? Or the wait to be referenced untill they are needed? And if so, how can one access the functionality provided by the module? Well, it is not one question actually. I'm in the following situation: I have to write a simple programm which accesses VME bus and does some read/write and checks of the boards on the VME bus. But I cannot come up with as to how to reference the VME bus in my programm. There are a lot of packages already installed on the system related to VME (after all the whole filesystem is mounted on a SCSI hard drive which is on the VME bus) but how do I get use of their functionality in a custom program? Here is what I got: Code:
[root@host root]# rpm -qa | grep vme |
Hello, halturata.
Perhaps you should have a look at http://www.linux.com/howtos/VME-HOWTO-3.shtml About the kernel question, the ksyms and nm commands could help you. try man ksyms and man nm. Does ksyms -a | grep vme and then nm vme_stuff.o provide useful information? |
When you install an rpm package, it copies files included in the rpm on to your system in the locations specified by the packager writer.
Also information about the package are inserted into a package database, which you can query to find out which versions of packages are installed, which files are owned by which packages and other assorted info. Once package is installed you can run the application just by typing the command's name. I am not sure on the specifics of the packages you have mentioned, but once it is installed you can access the documentation/ man pages etc. |
Quote:
Quote:
Thank you guys. |
to find what files were installed by the package run
rpm -ql packagename |
When I do the nm, I get the following:
Code:
[root@host misc]# nm vmemod.o These are memory locations I guess? Where the values of the variables on the right are stored? And when I do an rpm -ql mcg-vme-1.0-1, I get the following: Code:
[root@host vme]# rpm -ql xxx-vme-1.0-1 |
All times are GMT -5. The time now is 03:13 PM. |