Wednesday, December 11, 2019

Install git on NetBSD 8.1

I am running NetBSD 8.1 on Virtualbox. Use the following commands to install and configure git on NetBSD if it was not pre-installed.


$ export PKG_PATH="http://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/8.1/All/"
$ su
# echo $PKG_PATH
# pkg_add -v pkgin
# pkg_add -v git
# exit
$ git
$ git config --global user.email "devharsh@live.in"
$ git config --global user.name "Devharsh Trivedi"
$ git config --global http.sslVerify false