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 Configuration . Set this if pak 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     acl                      2.3.1-1             <chr [0]>
#>  2 ii     adduser                  3.118ubuntu5        <chr [0]>
#>  3 ii     adoptium-ca-certificates 1.0.2-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.11 <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.9   <chr [2]>
#> 10 ii     apache2-bin              2.4.52-1ubuntu4.9   <chr [2]>