in message <[EMAIL PROTECTED]>,
wrote Mark-Nathaniel Weisman thusly...
>
> Is there a command that I can check to see if a particular package was
> installed in the kernel the way it was supposed to?

on way is to check if the supposedly installed files actually
exists.  sometimes they do not.  try (assuming bourne like shell)...

  #  given a package name, see if files exists
  #  if they do not, ls will complain; only errors will be
  #  shown
  pkg_info -L <name> | xargs ls -l > /dev/null


> Or maybe a list of all installed packages?

this can be accomplished by pkg_info.  personally i prefer the
following (note: self promotion:)...

  perl program:
    http://www103.pair.com/parv/comp/unix/bin/listpkg.perl

  pod (plain old documentation):
    http://www103.pair.com/parv/comp/unix/doc/doc.bin/listpkg.perl.text

  a shell script which i no longer develop:
    http://www103.pair.com/parv/comp/unix/bin/listpkg


  - parv

-- 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to