Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
tutorials:openbsd:using_packages_on_openbsd [2023/11/08 19:17] – created jhxtutorials:openbsd:using_packages_on_openbsd [2023/11/08 19:27] (current) jhx
Line 1: Line 1:
-===== Using Packages on OpenBSD =====\\ +===== Using Packages on OpenBSD =====
-<code>\\ +
- <font inherit/monospace;;inherit;;#000000background-color:#ffffff;>puffy$ doas pkg_add -u</font> \\ +
-quirks-6.159 signed on 2023-11-08T16:43:05Z\\ +
-quirks-6.159: ok \\+
  
-</code>+===== Using Packages on OpenBSD ===== 
 + 
 +**Updating all packages:** 
 + 
 +$ doas pkg_add -u 
 + 
 +**Searching packages:** 
 + 
 +$ pkg_info -Q **PKGNAME** 
 + 
 +**Installing packages:** 
 + 
 +$ doas pkg_add vim 
 + 
 +**Hint: **If there are multiple packages you can select one by number! 
 + 
 +**Show all installed packages:** 
 + 
 +$ pkg_info 
 + 
 +**Package count:** 
 + 
 +$ pkg_info | wc -l 
 + 
 +Deleting a package: 
 + 
 +$ doas pkg_delete **PKGNAME** 
 + 
 +**__Further reading:__ ** 
 + 
 +[[https://man.openbsd.org/pkg_add|pkg_add]]\\ 
 +[[https://man.openbsd.org/pkg_info|pkg_info]]\\ 
 +[[https://man.openbsd.org/pkg_delete|pkg_delete]]