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 man_config_link("Configuration"). Set this if
pkgdepends does not detect your platform correctly.
See also
Other system requirements functions:
sysreqs_check_installed()
,
sysreqs_db_list()
,
sysreqs_db_match()
,
sysreqs_db_update()
,
sysreqs_install_plan()
,
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 7zip 23.01+dfsg-11 <chr [2]>
#> 2 ii 7zip-rar 23.01-4 <chr [0]>
#> 3 ii aardvark-dns 1.4.0-5 <chr [0]>
#> 4 ii acl 2.3.2-1build1.1 <chr [0]>
#> 5 ii adduser 3.137ubuntu1 <chr [0]>
#> 6 ii adoptium-ca-certificates 1.0.4-1 <chr [0]>
#> 7 ii adwaita-icon-theme 46.0-1 <chr [2]>
#> 8 ii ant 1.10.14-1 <chr [0]>
#> 9 ii ant-optional 1.10.14-1 <chr [0]>
#> 10 ii apache2 2.4.58-1ubuntu8.5 <chr [2]>