HOWTO manage OpenBSD packages
Sync and Install a new package with the interactive mode (-i) (eg. pkg_add -i vim)# export PKG_PATH=http://mirror.switch.ch/ftp/pub/OpenBSD/4.3/packages/`machine -a`/{insert the previous line into /root/.profile to save the variable}# pkg_add -i [package]
List the packages that are installed into the system
# pkg_info
Install a package that was partially downloaded/installed
# pkg_info {you can see the partial-* package name}
# pkg_delete partial-....
# pkg_add -i [package]
or
# pkg_add -i -r -F conflicts [package]
Upgrade the packages into the system
# pkg_add -iu

0 Comments:
Post a Comment
<< Home