FreeBSD Snippets
# Check or install pkgpkg
# Find a packagepkg search curl
# Read the manual page for pkg installpkg help install
# Update the local package repositories catalogues for the Latest branch:pkg update -f
# Install a package like curl and confirm (-y)pkg install -y curl
# Install a package as regular user with doasdoas pkg install ghostty
# Remove a packagepkg remove curl
# Upgrade a packagepkg upgrade <pkgname>
# Upgrade all available packagespkg upgrade
# Audit packages for vulnerabilitiespkg audit -F
# Update ports repository as neededgit -C /usr/ports pullUser Operations
Section titled “User Operations”See FreeBSD virtual machine provisioning scripts at Justin Tung / DevOps Tests - GitLab
# Get root accesssuInstalling FreeBSD using pkg(8)
Section titled “Installing FreeBSD using pkg(8)”Follow Chapter 2. Installing FreeBSD | FreeBSD Documentation Portal
- Use freebsd installer
- Use defaults
- Add local user to
wheelgroup to give them administrative access