Posted by: jasonk2600 | November 26, 2009

FreeBSD Tip – Installed Ports

To determine whether or not a certain port has been installed or not use the following command:

pkg_info -Ix port_name

For example, to check if the openssl port has been installed run the following:

# pkg_info -Ix openssl
openssl-0.9.81     SSL and crypto library

To see a complete list of all installed ports run the pkg_info command without any options.

# pkg_info
joe-3.7,1           Joe's Own Editor
libiconv-1.13.1     A character set conversion library
libtool-2.2.6a_1    Generic shared library support script
m4-1.4.13,1         GNU m4
makedepend-1.0.1,1  A dependency generator for makefiles
openssl-0.9.8l      SSL and crypto library
   ...

 

  [EoF]
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: