简体   繁体   中英

How do I find out w/YUM or RPM what files it installed?

I installed Fedora 16 last night and saw it had NoMachine's NX in the repo. I did a

yum install nx

and it says it installed correctly, but for the life of me I can't find the .service or /etc/init.d file(s) or even the /etc configuration files for any sort of NX server. I do see

nxssh
nxproxy
nxagent

but there aren't even man entries for them.

To be able to figure out what it's done, what I'd like to do is see exactly what files and where it put them.

I've looked and looked-- is there a command I can invoke, either yum or rpm that tells me the files contained in an already-installed RPM? Something like how

rpm -qpl <some rpm>.rpm

lists the files (with directories) packaged in an RPM.

Thanks!

对 rpm 使用 --filesbypkg 参数。

rpm -qi --filesbypkg nx

yum-util repoquery列出已安装的文件,例如,

repoquery --list nx

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM