- Forums
- Linux Hosting
- Where Is The Installed Apache PHP MySQL Named BIND Linux Redhat Fedora
This Page Contains information about Where Is The Installed Apache PHP MySQL Named BIND Linux Redhat Fedora By wallpaperama in category Linux Hosting with 0 Replies. [413], Last Updated: Sun Jun 14, 2020
wallpaperama
Mon Feb 26, 2007
0 Comments
1160 Visits
where is apache installed in fedora 5? or 4,3,2,1?? or redhat 7.8.9?
this is a question many of you may have. the only way i know of is with this command:
for MYSQL PHP
CODE:
rpm -qa *apache* *mysql*
For a list of all installed packages use this
CODE:
rpm -qa
you might get something like this:
QUOTE:
[
[email protected] ~]# rpm -qa *apache* *mysql*
ant-apache-resolver-1.6.5-2jpp.2
koffice-kexi-driver-mysql-1.6.1-4.fc6
mysql-server-5.0.27-1.fc6
ant-apache-log4j-1.6.5-2jpp.2
mysql-bench-5.0.27-1.fc6
mysql-connector-odbc-3.51.12-2.2
apachetop-0.12.6-2.fc6
ant-apache-oro-1.6.5-2jpp.2
ant-apache-regexp-1.6.5-2jpp.2
mod_auth_mysql-3.0.0-3.1
libdbi-dbd-mysql-0.8.1a-1.2.2
mysql-5.0.27-1.fc6
php-mysql-5.1.6-3.3.fc6
ruby-mysql-2.7.1-2.fc6
ant-apache-bcel-1.6.5-2jpp.2
mysql-devel-5.0.27-1.fc6
now that you know which package version you have you can run this command: (example: ant-apache-bcel)
CODE:
rpm -ql ant-apache-bcel
To see what files are in a specifig package
QUOTE:
[
[email protected] ~]# rpm -ql ant-apache-bcel
/etc/ant.d/apache-bcel
/usr/lib/gcj/ant
/usr/lib/gcj/ant/ant-apache-bcel-1.6.5.jar.db
/usr/lib/gcj/ant/ant-apache-bcel-1.6.5.jar.so
/usr/share/java/ant/ant-apache-bcel-1.6.5.jar
/usr/share/java/ant/ant-apache-bcel.jar
/usr/share/java/ant/ant-jakarta-bcel.jar
now you should know which directory your program is installed on