Skip to main content

install_named_packages

Function install_named_packages 

Source
pub async fn install_named_packages(
    host: &Host,
    packages: &[&'static str],
) -> Result<(), LinuxPackageManagerError>
Expand description

Install named packages with the detected Linux package manager.

ยงErrors

Returns an error when no supported package manager is available, or when installation fails.