1

I installed OpenBSD into a Virtualbox using the install58.iso and installing all sets. Now I want to install more packages via pkg_add which is not in the users nor roots path. How do I get pkg_add? What am I missing?

2

I don’t know what shell you are using, but this is in the default PATH:

$ echo $PATH
/home/[user]/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/games:.
$ which pkg_add
/usr/sbin/pkg_add
  • I reinstalled the VM in the mean time and have it in the path now, too. Thanks for your time, though. – hennr Nov 11 '15 at 14:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.