Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Thread Tools Display Modes
  #1   (View Single Post)  
Old 8th June 2009
cyril cyril is offline
Real Name: Cyril
New User
Join Date: May 2009
Posts: 3
Default Listing of installed packages

Hello all,

Do you know how getting the listing of every installed packages on an OpenBSD system, using pkg_add command?

The road is long, but the way is free.
Reply With Quote
  #2   (View Single Post)  
Old 8th June 2009
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223

You don't, you use pkg_info(1) instead.. or you can just look in /var/db/pkg/.
Reply With Quote
  #3   (View Single Post)  
Old 9th June 2009
ocicat ocicat is offline
Join Date: Apr 2008
Posts: 3,287

Originally Posted by BSDfan666 View Post
...you use pkg_info(1) instead.. or you can just look in /var/db/pkg/.
To further clarify BSDfan666's correct answer, all applications vetted through the OpenBSD project -- whether installed directly as a package or compiled as a port -- go through the intermediate stage of being a package before being installed. pkg_info(1) doesn't differentiate between sources. It merely tracks what packages have been installed.

If you download source to an application from the Internet which is not of OpenBSD's packages/ports system, you are on your own, unless you create your own package. pkg_info(1) will track installations through custom packages as well.
Reply With Quote

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pre-installed Groups: What are they for? Greg_Morgan OpenBSD General 5 11th October 2009 01:05 AM
How to copy FBSD installation from one which is already installed on a HDD? padmanabh FreeBSD Installation and Upgrading 2 7th October 2008 04:09 AM
Installed 4.3 & No GUI warriors OpenBSD General 24 14th August 2008 11:28 AM
Has anyone installed mod_perl erehwon OpenBSD Packages and Ports 5 23rd June 2008 08:11 PM
Command to list all installed ports? windependence FreeBSD Ports and Packages 2 13th May 2008 11:10 AM

All times are GMT. The time now is 05:09 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick