LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 05-25-2004, 04:30 PM   #1
brynjarh
Member
 
Registered: May 2004
Location: Iceland
Distribution: Ubuntu Dapper Drake
Posts: 172

Rep: Reputation: 30
Question Knowing what's installed on my machine..


What's the best way to see if a program is installed on my computer or not? Like now I want to install python but I have no idea if I already have it installed or not, what would I do to find out?

FC2.
 
Old 05-25-2004, 04:36 PM   #2
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
try typing at the terminal:

rpm -qa | grep python

Some distributions are very easy to find out what packages you've installed. Slackware, for example, has a complete list located at /var/log/packages. Redhat should have an equivalent for that, but I don't remember
 
Old 05-25-2004, 04:36 PM   #3
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
With rpm distributions:
rpm -qa | grep python

Last edited by david_ross; 05-25-2004 at 04:38 PM.
 
Old 05-25-2004, 04:42 PM   #4
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
beat ya for 30 second david_ross . Usually it's me who posts a little late
 
Old 05-25-2004, 05:34 PM   #5
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
if you want to see if python or anything that runs is installed, why not just type the program name and see if it runs? Or start typing it, press tab and let autocomplete show you the possibles...
 
  


Reply



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
How to access a printer in a machine with windows installed? ricguitar Mandriva 5 05-03-2006 11:03 AM
Can one have both Wine and Cedega installed on the same machine? tomas412 Linux - Software 2 12-12-2005 08:03 AM
Installed 2.6.7 kernel now<machine is s...l...o...w any ideas? joe83 Slackware 4 07-01-2004 11:34 AM
DRBD on already installed machine TryingHard Linux - Software 4 04-15-2004 09:13 AM
Can linux be installed on apple machine? futurist Linux - Software 5 03-20-2003 03:55 PM

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

All times are GMT -5. The time now is 05:01 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
Open Source Consulting | Domain Registration