Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

freebsd, netbsd: add directory; pkg, pkgin: add page #11313

Merged
merged 4 commits into from
Oct 29, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions pages/freebsd/pkg.md
kbdharun marked this conversation as resolved.
Show resolved Hide resolved
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>.

- Upgrade all packages:

`pkg upgrade`

- Search for a package:

`pkg search {{keyword}}`

- Install a new package:

`pkg install {{package}}`

- Delete a package:

`pkg delete {{package}}`

- 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.
acuteenvy marked this conversation as resolved.
Show resolved Hide resolved
> More information: <https://pkgin.net/#usage>.

- Upgrade all packages:

`pkgin full-upgrade`

- Search for a package:

`pkgin search {{keyword}}`

- Install a package:

`pkgin install {{package}}`

- Remove a package and its dependencies:

`pkgin remove {{package}}`

- List installed packages:

`pkgin list`

- Remove unneeded dependencies:

`pkgin autoremove`