Translate

Thursday, June 13, 2013

Tips and Tricks for OpenBSD - Package ManagementTips and Tricks for OpenBSD -

.: Package Installation on OpenBSD :.

If you're new to OpenBSD and is a regular Linux user you might feel a little confused when it comes to install additional packages after the system installation. I hope this very quick guide can help you.

Well, all you have to do is to point your PKG_PATH environment variable to the right server and you're set!

export PKG_PATH=http://mirror.lncc.br/openbsd/4.9/packages/`machine -a`/

Now you just have to type the installation command and wait for the package to be downloaded and installed. Some useful tips:

pkg_add -i -v package : installs a package
pkg_delete package : removes a package
pkg_info | grep package_name : shows information about a installed packaged

I hope you enjoyed it! Take care! ;-)

No comments:

Post a Comment