LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-09-2003, 01:43 AM   #1
pcdebb
Member
 
Registered: Aug 2003
Location: Brandon, FL
Distribution: Mageia 2
Posts: 81

Rep: Reputation: 15
Question what do i have here?


how can i see what things I have available to me? such as if i have php, mysql, etc and what versions? just kinda curious so I know what to do
 
Old 09-09-2003, 01:48 AM   #2
joseph
Member
 
Registered: Jun 2003
Location: Batam
Distribution: Ubuntu 10 And Linux Mint
Posts: 414

Rep: Reputation: 30
what do you mean?
 
Old 09-09-2003, 01:53 AM   #3
pcdebb
Member
 
Registered: Aug 2003
Location: Brandon, FL
Distribution: Mageia 2
Posts: 81

Original Poster
Rep: Reputation: 15
i want like a snapshot of the packages I have installed. I dont know if i have php or mysql installed, for example, and I'd like to see if I do.
 
Old 09-09-2003, 02:06 AM   #4
joseph
Member
 
Registered: Jun 2003
Location: Batam
Distribution: Ubuntu 10 And Linux Mint
Posts: 414

Rep: Reputation: 30
rpm -qa |grep 'xxx'
where xxx is the packages that you want to know whether yuou have installed it or not.
 
Old 09-09-2003, 02:21 AM   #5
pcdebb
Member
 
Registered: Aug 2003
Location: Brandon, FL
Distribution: Mageia 2
Posts: 81

Original Poster
Rep: Reputation: 15
rpm -qa |grep 'mysql'
mysql-server-3.23.56-1.9
mysql-3.23.54a-11
mod_auth_mysql-1.11-12
mysql-3.23.56-1.9
php-mysql-4.2.2-17.2

rpm -qa |grep 'php'
php-4.2.2-17.2
php-imap-4.2.2-17.2
php-ldap-4.2.2-17.2
php-odbc-4.2.2-17.2
php-4.2.2-17
php-mysql-4.2.2-17.2


pretty cool! I'm learning!
 
Old 09-09-2003, 02:38 AM   #6
joseph
Member
 
Registered: Jun 2003
Location: Batam
Distribution: Ubuntu 10 And Linux Mint
Posts: 414

Rep: Reputation: 30
Good Luck
 
  


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



LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:53 PM.

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
Open Source Consulting | Domain Registration