FreeBSD is not unlike other Unix-like operating systems in how software can be installed https://t.co/fn6mboy3Tc #FreeBSD #Software #Packages pic.twitter.com/uQ76Tl4dPg
— SCM Guru (@TheSCMGuru) January 6, 2021
The command to install a package is pkg. As root, install a package by doing pkg install package
where package is the name of the package that you would like to install.
A common task that a system administrator preforms on an OpenBSD system is adding a user to a group https://t.co/wkDvz5lUoj #OpenBSD #Users #Group pic.twitter.com/EaeeXh0eoV
— SCM Guru (@TheSCMGuru) January 5, 2021
The command to perform tasks on a users account is user. As a super user, add a user to a group by doing user mod -G group user
where group is the group that you would like to add a user to and user is the user that you would like to add to this group.
After installing the OpenBSD PowerPC port on an aluminum Apple PowerBook G4, I had to configure its Open Firmware to autoboot the kernel. This is how I did it https://t.co/XTDjomXpSo #OpenBSD #OpenFirmware #Autoboot #Kernel pic.twitter.com/elMHQKDD37
— SCM Guru (@TheSCMGuru) January 5, 2021
Option, Command, O, and F
keys together.setenv boot-device hd:,ofwboot /bsd
setenv auto-boot? true
reset-all
There are some cases where it makes sense to upgrade to OpenBSD stable from release https://t.co/AzENEjBvpd #OpenBSD #Release #Stable pic.twitter.com/Hec890jqBz
— SCM Guru (@TheSCMGuru) January 5, 2021
As root, do these steps.
user mod -G wsrc user
where user is the user that you would like to add to the wsrc group.cd /usr
chgrp wsrc src
chmod 0775 src
mkdir ports
chgrp wsrc ports
chmod 0775 ports
mkdir xenocara
chgrp wsrc xenocara
chmod 0775 xenocara
As the user that was added to the wsrc group (not root), download the base system, xenocara and ports. Where host is the closest host to you e.g. anoncvs4.usa.openbsd.org and the release_number is the version of the OpenBSD that you have installed e.g. 6_8.
cd /usr
cvs -q -d anoncvs@host:/cvs checkout -r OPENBSD_release_number -P src
cvs -q -d anoncvs@host:/cvs checkout -r OPENBSD_release_number -P xenocara
cvs -q -d anoncvs@host:/cvs checkout -r OPENBSD_release_number -P ports
cd /sys/arch/$(machine)/compile/GENERIC.MP
make obj
make config
make
make install
make clean
cd /usr/src
make obj
make build
sysmerge
cd /dev
./MAKEDEV all
If you're following the stable branch of OpenBSD, it's good to know how to keep it up-to-date https://t.co/x0lZ1Na0xI #OpenBSD #Stable #Update pic.twitter.com/aASei8rqrO
— SCM Guru (@TheSCMGuru) January 5, 2021
As a user that is part of the wsrc group (not root), do these steps.
cd /usr/src
cvs -q up -P -d -r OPENBSD_version_number
cd /usr/xenocara
cvs -q up -P -d -r OPENBSD_version_number
cd /usr/ports
cvs -q up -P -d -r OPENBSD_version_number