Any tutorial for installing "snap" on OpenBSD 5.8?


#1

This is link to it:

Thanks


#2

ftp https://raw.github.com/qbit/snap/master/snap
sudo install -m 755 snap /usr/local/bin

Here you go.


#3

Author of snap here, you can also clone the repo and do a “make install”!


#4

Hi,

Can
you let me know how to upgrade from 5.6 to 5.7 using snap? after
downloading all sets its showing me error path to src is not given.

I also tried sysmerge -S -s /tmp/upgrade/etc56.tgz

Thanks.


#5

Releases are a
little bit more tricky. Lots of changes need to be taken into account
(/var/tmp/ removal for example) before upgrading.

For any upgrade (release or -current) the docs should be referenced:
http://www.openbsd.org/faq/upgrade56.html for 5.6 to 5.7.
http://www.openbsd.org/faq/current.html for current.

All that said, I don’t typically use snap for upgrading releases, and will probably remove that feature set later on.


#6

sudo in base has been replaced with doas(1), sudo is available as a package.source: http://www.openbsd.org/58.html

Use doas after configuring it, install sudo from ports or become root before doing the second step.