current position:Home>Linux checks where the software is installed and what files are installed

Linux checks where the software is installed and what files are installed

2022-01-27 04:07:10 qq_ eight hundred and sixty-three thousand nine hundred and nine

1.ubuntu System

perform dpkg -L Package name command
for example :

[email protected]:~$ dpkg -L exfat-fuse
/.
/sbin
/sbin/mount.exfat-fuse
/usr
/usr/share
/usr/share/man
/usr/share/man/man8
/usr/share/man/man8/mount.exfat-fuse.8.gz
/usr/share/doc
/usr/share/doc/exfat-fuse
/usr/share/doc/exfat-fuse/copyright
/usr/share/doc/exfat-fuse/changelog.Debian.gz
/sbin/mount.exfat
/usr/share/man/man8/mount.exfat.8.gz

1.radhat System

perform rpm -ql Package name command
for example :

[email protected]:~$ rpm -ql expat-devel
/usr/include/expat.h
/usr/include/expat_config.h
/usr/include/expat_external.h
/usr/lib64/libexpat.a
/usr/lib64/libexpat.la
/usr/lib64/libexpat.so
/usr/lib64/pkgconfig/expat.pc

copyright notice
author[qq_ eight hundred and sixty-three thousand nine hundred and nine],Please bring the original link to reprint, thank you.
https://en.cdmana.com/2022/01/202201270407062417.html