Skip to content

List installed system packages

Usage

sysreqs_list_system_packages()

Value

Data frame with columns:

  • status. two or three characters, the notation of dpkg on Debian based systems. "ii" means the package is correctly installed. On RPM 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.

Examples

sysreqs_list_system_packages()[1:10,]
#> # A data frame: 10 × 4
#>    status package                  version         provides 
#>  * <chr>  <chr>                    <chr>           <list>   
#>  1 ii     3cpio                    0.14.0-1ubuntu1 <chr [0]>
#>  2 ii     7zip                     26.00+dfsg-1    <chr [2]>
#>  3 ii     7zip-rar                 26.00+ds-1      <chr [0]>
#>  4 ii     aardvark-dns             1.16.0-3        <chr [0]>
#>  5 ii     acl                      2.3.2-2         <chr [0]>
#>  6 ii     adduser                  3.153ubuntu1    <chr [0]>
#>  7 ii     adoptium-ca-certificates 1.0.6-1         <chr [0]>
#>  8 ii     adwaita-icon-theme       50.0-1          <chr [2]>
#>  9 ii     ant                      1.10.15-1build1 <chr [0]>
#> 10 ii     ant-optional             1.10.15-1build1 <chr [0]>