HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

pkgin — Manage `pkgsrc` binary packages on NetBSD. More information: <https://pkgin.net/#usage>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandnetbsdclimanagepkginpkgsrcbinarypackages

Problem

How to use the pkgin command: Manage pkgsrc binary packages on NetBSD. More information: <https://pkgin.net/#usage>.

Solution

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

Code Snippets

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

Context

tldr-pages: netbsd/pkgin

Revisions (0)

No revisions yet.