-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
freebsd, netbsd: add directory; pkg, pkgin: add page (#11313)
* 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
Showing
2 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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` |