mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-06 08:58:31 +00:00
Update cheatsheets
This commit is contained in:
33
freebsd/pkg
Normal file
33
freebsd/pkg
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, freebsd]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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`
|
||||
Reference in New Issue
Block a user