tldr/pages/freebsd/pkg.md

29 lines
395 B
Markdown
Raw Normal View History

# 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`