Reputation: 141
Can someone please list out the directories where the Apache RPM install files. I searched over Internet but was not able to find any proper solution
Upvotes: 1
Views: 443
Reputation: 10381
You can use the query files list option of rpm
command to find out the directory.
If you have installed the package
rpm -ql <package-name>
and if you have the rpm file
rpm -qlp <package-name>.rpm
You will get something like this(the sample is for httpd
)
/etc/httpd
/etc/httpd/conf
/etc/httpd/conf.d
/etc/httpd/conf/extra/httpd-autoindex.conf
/etc/httpd/conf/extra/httpd-dav.conf
/etc/httpd/conf/extra/httpd-default.conf
/etc/httpd/conf/extra/httpd-info.conf
/etc/httpd/conf/extra/httpd-languages.conf
//
//Output truncated
The sample output shows /etc/httpd
is a folder that httpd
creates/installs to
Upvotes: 3
Reputation: 3461
Add the very verbose flag to the rpm command line to see all it does. E.g.:
rpm -Ivv <packagefile.rpm>
Upvotes: 0