mirror of https://github.com/CrimsonTome/tldr.git
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>pull/23/head
parent
1e4061a495
commit
28a74a924c
|
@ -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`
|
|
@ -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`
|
Loading…
Reference in New Issue