Translate

Wednesday, June 12, 2013

Tips and Tricks for NetBSD - Package Management

.: Package Installation on NetBSD :.

If you're new to NetBSD 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/netbsd/NetBSD-5.1/packages/`uname -m`/All/

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

pkg_add -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