Skip to content

Commit

Permalink
freebsd, netbsd: add directory; pkg, pkgin: add page (#11313)
Browse files Browse the repository at this point in the history
* freebsd: add directory; pkg: add page

* netbsd: add directory; pkgin: add page

* pkg, pkgin: move install and remove examples to the top

* pkgin: add backticks `pkgsrc`

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
  • Loading branch information
acuteenvy and kbdharun authored Oct 29, 2023
1 parent 1e4061a commit 28a74a9
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
28 changes: 28 additions & 0 deletions pages/freebsd/pkg.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# pkg

> FreeBSD package manager.
> More information: <https://man.freebsd.org/cgi/man.cgi?query=pkg&sektion=8>.
- Install a new package:

`pkg install {{package}}`

- Delete a package:

`pkg delete {{package}}`

- Upgrade all packages:

`pkg upgrade`

- Search for a package:

`pkg search {{keyword}}`

- List installed packages:

`pkg info`

- Remove unneeded dependencies:

`pkg autoremove`
28 changes: 28 additions & 0 deletions pages/netbsd/pkgin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# pkgin

> Manage `pkgsrc` binary packages on NetBSD.
> More information: <https://pkgin.net/#usage>.
- Install a package:

`pkgin install {{package}}`

- Remove a package and its dependencies:

`pkgin remove {{package}}`

- Upgrade all packages:

`pkgin full-upgrade`

- Search for a package:

`pkgin search {{keyword}}`

- List installed packages:

`pkgin list`

- Remove unneeded dependencies:

`pkgin autoremove`

0 comments on commit 28a74a9

Please sign in to comment.