LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-11-2003, 07:06 PM   #1
Robin01
Member
 
Registered: Aug 2003
Posts: 104

Rep: Reputation: 15
version question and how to


Hello everybody,

very new.....
how do i figure out if i have something install or not...
and what version an application is

i'm learning to implement apache and php.
according to inst. i need to find what version apache is and if i have php or not.
also,where is a good place to put php?
if you know of any beginner tutorial on this subject please let me know.
i have rh9

http://www10.brinkster.com/ssruprai/...p#introduction
robin
 
Old 09-11-2003, 07:39 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,863

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
"how do i figure out if i have something install or not...
and what version an application is"

Use the rpm command. Some examples are:

rpm -qi apache
rpm -qi php

"if you know of any beginner tutorial on this subject please let me know."

You can read:
man rpm

although the man pages are a reference and not a tutorial.
 
Old 09-11-2003, 08:04 PM   #3
Robin01
Member
 
Registered: Aug 2003
Posts: 104

Original Poster
Rep: Reputation: 15
hello

I tried the "rpm -qi apache" and it returned the following "package apache is not installed"..

but i was able to get access to menu/system settings/ server settings/http server/ and in here the title of the configuration screen is "apache configuration"..
doesn't this mean i have apache installed?
 
Old 09-11-2003, 09:49 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,863

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
"doesn't this mean i have apache installed?"

Yes. But apache was not installed from a rpm package. It was probably installed by compiling from a source package. If you installed from a tarball then the version number will be in the file name i.e.
apache-2.0.2.tar.gz

is version 2.0.2 of apache.

You can find out what directory apache and php are installed in by:
which apache
which php

"where is a good place to put php?"

I would use the default install location that the intall package picks automatically.
 
Old 09-11-2003, 09:55 PM   #5
ehdwuld
Member
 
Registered: Jul 2003
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634

Rep: Reputation: 30
Talking

here

A-Z on RH9
straight from RedHat


http://www.redhat.com/docs/manuals/l...started-guide/

ehd

 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Regarding distribution + kernel version + gcc version + glib version. JCipriani Linux - General 8 04-19-2008 03:54 PM
9.3 Version Question gtkmike SUSE / openSUSE 3 07-13-2005 12:28 PM
KDE version question vbmark Mandriva 2 11-24-2004 09:33 AM
A question about Autoconf version 2.52... Ausar Linux - Newbie 2 08-10-2004 04:44 PM
{version} and {arch} question. zer01 Linux - Newbie 1 06-06-2004 02:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration