How to find our what version of ports your running?

Lowell Gilbert freebsd-questions-local at
Wed Nov 12 07:25:41 PST 2003

"Paul Hamilton" <paul at> writes:

> Is there a way to find out the ports version, from a CD upgrade?  i.e..
> initial install was 4.2 then a 4.6 upgrade, then a 4.7 and then a 4.8
> upgrade.  Hmm, was the ports tree upgraded along with main upgrades or not?

Ports are not updated along with the base system.  You can do that
separately, but usually don't need to.  You can determine the versions
of the ports installed on your system with the pkg_version(1) command.

More information about the freebsd-questions mailing list