How to OpenBSD 5 pkg_add Initialization Quick Start Guide

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

OpenBSD 5 pkg_add Initialization

Hello OpenBSD User! This Tip shows you Getting-Started Installing New OpenBSD 5 Packages with the OpenBSD 5 pkg_add First, Configuration.

And with this simple OpenBSD 5 pkg_add Initialization you can Getting-Started to Install many Useful New OpenBSD Software.

How to OpenBSD 5 pkg_add Initialization - Featured
  1. 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.9:

    installpath = http://ftp.eu.openbsd.org/pub/OpenBSD/5.9/packages/amd64/

    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

Tags: ,

QuickChic Theme • Powered by WordPress