mirror of https://github.com/CrimsonTome/tldr.git
29 lines
395 B
Markdown
29 lines
395 B
Markdown
# 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`
|