How to OpenBSD 6 pkg_add Initialization

November 2, 2017 | By the+gnu+linux+evangelist | Filed in: Tutorial.

OpenBSD 6 pkg_add Initialization

Hello OpenBSD User! This Tip Shows You Getting-Started Installing New OpenBSD 6 Packages with the OpenBSD 6 pkg_add First, Configuration.

Especially relevant: from OpenBSD 6.1 there has been a Semplification in the pkg_add First, Configutation Setup.

How to OpenBSD 6 pkg_add Initialization - Featured
  1. Set OpenBSD Packages Repository URL

    • For 6.0 and below:

      vi /etc/pkg.conf


      installpath =`uname -r`/packages/`arch -s`/

      Eg for 5.9 64-bit:

      installpath =
    • Instead, for 6.1+:

      vi /etc/installurl

      And Add:

    Type ‘i’ to Start editing in vi
    Press ‘esc’ to Stop editing
    And finally ‘:wq’ to Write changes and Quit!

  2. Then to Install Bash Shell

    pkg_add -v bash


QuickChic Theme • Powered by WordPress