LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 05-12-2003, 04:31 PM   #1
shimsha
LQ Newbie
 
Registered: May 2003
Posts: 2

Rep: Reputation: 0
How to know what is installed on a non-rpm based distribution?


How to know, whether some package is installed or not on a non-rpm based distribution (e.g.Debian)? On a rpm-based distribution, just the rpm -q command gives this information.

-shimsha
 
Old 05-12-2003, 05:08 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Try one of these 3:
find / -name program
locate program
whereis program
 
Old 05-12-2003, 06:08 PM   #3
mister_math
Member
 
Registered: Feb 2003
Location: /USA/IL/Chicago
Distribution: Ubuntu 5.10
Posts: 37

Rep: Reputation: 15
Since this is posted in a *BSD forum, I can give you the answer for FreeBSD (what I use).

Just type pkg_info, it will give you info on all your installed packages. Type 'man pkg_info' for more information.
 
Old 05-17-2003, 12:42 PM   #4
taivu
LQ Newbie
 
Registered: Oct 2002
Location: Spain
Distribution: Ubuntu, Debian Sarge, FreeBSD
Posts: 19

Rep: Reputation: 0
Even this is a *BSD forum, I will reply to the Debian part of your question:

dpkg -l | grep ii will show you all installed packages

dpkg -l <packagename>* shows all packages whose name starts with <packagename> and the status of those packages (installed, not installed etc.)

dpkg -l <packagename>* | grep ii same as the previous one, but show only those whose status is "installed" (this would be pretty much the same as rpm -q <package>, if I am not mistaken).
 
  


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 make Debian based distribution? chrisstooss Debian 6 05-24-2005 12:11 PM
Do DEB-based distros have the dependancy hell like RPM-based ones? manhinli Linux - Newbie 2 04-05-2005 06:08 AM
Floppy based distribution with cdrecord lowlifeish Linux - Distributions 3 11-06-2004 02:26 PM
ports based Linux distribution. jvalentin Linux - Distributions 1 09-21-2004 10:11 PM
Custom distribution based on RedHat RKolbi Linux - Distributions 1 03-10-2002 10:55 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 11:17 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