mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 11:24:58 +00:00

The "dependency" lines really belong to the main port entry, it doesn't make sense logically to represent them separately and handling them together will also allow easier dependency management later on. This commit greatly simplifies the port database parsing to facilitate this, and removes the -d option from the command line. Instead, ports are listed with their dependencies, if they have any.
999 B
999 B
Name
pkg - Package Manager
Synopsis
$ pkg [-l] [-u] [-v] [-q package]
Description
This program can list installed packages and query for available packages. The Ports for SerenityOS website has more detailed information about available packages.
It does not currently support installing and uninstalling packages. To install third-party software use the Ports system.
Options
-l
,--list-manual-ports
: Show all manually-installed ports-u
,--update-ports-database
: Sync/Update ports database-v
,--verbose
: Verbose output-q
,--query-package
: Query the ports database for package name
Arguments
package
: The name of the package you want to query
Example
# Query the ports database for the serenity-theming package
$ pkg -q serenity-theming