# Openbsd Packages If you are unfamiliar with [OpenBSD's package system](/https://www.openbsd.org/faq/faq15.html), please read the FAQ first. To install a package (like nvi): $ doas pkg_add nvi To delete a package: $ doas pkg_delete nvi To delete unused dependencies: $ doas pkg_delete -a To find a package from repositories: $ doas pkg_info -Q nvi To learn more about a package: $ doas pkg_info nvi ## Troubleshooting ### /etc/installurl On occasion, you may encounter errors: $ doas pkg_add package https://cdn.openbsd.org/pub/OpenBSD/7.1/packages-stable/amd64/: ftp: cdn.openbsd.org: no address associated with name https://cdn.openbsd.org/pub/OpenBSD/7.1/packages/amd64/: ftp: cdn.openbsd.org: no address associated with name https://cdn.openbsd.org/pub/OpenBSD/7.1/packages/amd64/: empty Can't find package In the above, your system can't [resolve the name](dns/overview) `cdn.openbsd.org`. This could be due to your [[local nameservers](/https://man.openbsd.org/resolv.conf), or it could be due to a mirror having issues. In the above, your system can't [resolve the name](dns/overview) `cdn.openbsd.org`. This could be due to your [[local nameservers](/https://man.openbsd.org/resolv.conf), or it could be due to a mirror having issues. To change the mirror, edit `/etc/installurl` to use a different mirror from the list of [OpenBSD mirrors](/https://openbsd.org/ftp.html). If the issue is your local nameservers, you may want to configure [unbound](/unbound/configure).