List installed system packages
Value
Data frame with columns:
status
. two or three characters, the notation ofdpkg
on Debian based systems."ii"
means the package is correctly installed. OnRPM
based systems it is always"ii"
currently.package
: name of the system package.version
: installed version of the system package.capabilities
: list column of character vectors, the capabilities provided by the package.
Details
This function uses the sysreqs_platform
configuration option,
see Configuration
. Set this if
pak does not detect your platform correctly.
See also
Other system requirements functions:
pkg_sysreqs()
,
sysreqs_check_installed()
,
sysreqs_db_list()
,
sysreqs_db_match()
,
sysreqs_db_update()
,
sysreqs_is_supported()
,
sysreqs_platforms()
Examples
sysreqs_list_system_packages()[1:10,]
#> # A data frame: 10 × 4
#> status package version provides
#> * <chr> <chr> <chr> <list>
#> 1 ii acl 2.3.1-1 <chr [0]>
#> 2 ii adduser 3.118ubuntu5 <chr [0]>
#> 3 ii adoptium-ca-certificates 1.0.3-1 <chr [0]>
#> 4 ii adwaita-icon-theme 41.0-1ubuntu1 <chr [0]>
#> 5 ii alsa-topology-conf 1.2.5.1-2 <chr [0]>
#> 6 ii alsa-ucm-conf 1.2.6.3-1ubuntu1.12 <chr [0]>
#> 7 ii ant 1.10.12-1 <chr [0]>
#> 8 ii ant-optional 1.10.12-1 <chr [0]>
#> 9 ii apache2 2.4.52-1ubuntu4.12 <chr [2]>
#> 10 ii apache2-bin 2.4.52-1ubuntu4.12 <chr [2]>