When you first install openbsd you are give 4 pkg utilities;
- pkg_add : add a package
- pkg_delete : remove a package
- pkg_info : information about an installed package
- pkg_create: used for creating packages.
But what if you wanted to search for a package? Well never fear, openbsd has a utility for that also. However we must first install that utility which happens to be called pkglocatedb. You can accomplish this by typing in
Now that you have the utility installed you are given a new utility called pkg_locate. This utility will search the repositories for keywords or even filenames. An example search could be
This search will bring up all packages with vim in the name, description, or contains a file with the name vim in it.
I hope this short tutorial helps those new to openbsd.