: Refresh the pkgin database with the latest version
$ sudo pkgin -y update
: Search for a package. Regular expressions are supported.
$ pkgin search ^ffmpeg[0-9]$
ffmpeg4-4.1.1 Decoding, encoding and streaming software (v4.x)
ffmpeg3-3.4.5 Decoding, encoding and streaming software (v3.x)
ffmpeg2-2.8.14 Decoding, encoding and streaming software (v2.x)
ffmpeg1-1.2.12 Decoding, encoding and streaming software (v1.x)
: Install a package without prompting
$ sudo pkgin -y install ffmpeg4
: List all available packages
$ pkgin avail
: Upgrade all installed packages
$ sudo pkgin -y upgrade
: Remove a package
$ sudo pkgin -y remove ffmpeg4
: Automatically remove orphaned dependencies
$ sudo pkgin -y autoremove