OpenBSD 5.8 pkg_add Initialization
Hello OpenBSD User! This Tip shows you Getting-Started Installing New OpenBSD 5.8 Packages with the OpenBSD 5.8 pkg_add First, Configuration.
And with this simple OpenBSD 5.8 pkg_add Initialization you can Getting-Started to Install many Useful New OpenBSD Software.
-
Set OpenBSD Packages Repository URL
vi /etc/pkg.conf
Append:
installpath = http://ftp.eu.openbsd.org/pub/OpenBSD/`uname -r`/packages/`arch -s`/
Eg for 5.8 64-bit:
installpath = http://ftp.eu.openbsd.org/pub/OpenBSD/5.8/packages/amd64/
Type ‘i’ to Start editing in vi
Press ‘esc’ to Stop editing
And finally ‘:wq’ to Write changes and Quit! -
Then to Install Bash Shell.
pkg_add -v bash