Thanks to everyone who has replied in helping me. I have read up on the man pages and I understand what I need; it is:
1) I want to install some packages on OpenBSD 6.0 which I have operational on a Parallels VM on my precious MacBookPro High Sierra. 2) I want to set a environmental variable PKG_PATH to the ftp site to get packages. 2.a) I am trying to set it to https://ftp.openbsd.org/pub/OpenBSD/6.3/packages/i386/ <https://ftp.openbsd.org/pub/OpenBSD/6.3/packages/i386/>, which has an index of packages I might want to get. I will later put that PKG_PATH in the start up file so it is always set each time I boot up OpenBSD. 3) My PKG_PATH string [ https://ftp.openbsd.org/pub/OpenBSD/6.3/packages/i386/ <https://ftp.openbsd.org/pub/OpenBSD/6.3/packages/i386/> ] does not seem to work. An example I refer to includes some wild cards, “%”, which I can’t seem to get right.k The example I am working from is at: https://linux-audit.com/updating-all-openbsd-packages-with-pkg_add/ <https://linux-audit.com/updating-all-openbsd-packages-with-pkg_add/> and one example it uses is passing a variable for name and arch -s, which I have not set. My reference document ------------------------ Option 2: PKG_PATH The first thing to do is defining your PKG_PATH. This will usually be the address of a FTP or HTTP server, which has the latest packages available. To have this variable set every time you log in, use the file .profile in your home directory (e.g. /root/.profile). Add the full export line below: export PKG_PATH=”http://ftp.openbsd.org/pub/OpenBSD/$(uname -r)/packages/$(arch -s)/” Since it won’t be active the first time you added it, execute the command, so the variable PKG_PATH will be set. Tip: use a mirror to improve your performance and reduce load on the main systems. ------------------------------------------------------ 4) What is a correct string i should use to set my PKG_PATH variable to get packages from location at 2a above? Thanks Michael Ayres Michael Ayres, MS, CISSP, CSEP, CSM, PMI-ACP, PMP | www. <http://www.mace-associates.com/>mace-associates.com San Francisco, CA. | 415.999.2049 https://www.linkedin.com/in/michaelmaceayres

