Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tutorials:openbsd:using_packages_on_openbsd [2023/11/08 19:21] – jhx | tutorials:openbsd:using_packages_on_openbsd [2023/11/08 19:27] (current) – jhx | ||
---|---|---|---|
Line 5: | Line 5: | ||
**Updating all packages:** | **Updating all packages:** | ||
- | pkg_add -u | + | $ doas pkg_add -u |
**Searching packages:** | **Searching packages:** | ||
- | pkg_info -Q PKGNAME | + | $ 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:// | ||
+ | [[https:// | ||
+ | [[https:// | ||