Skip to main content

install_essential_packages

Function install_essential_packages 

Source
pub fn install_essential_packages(config: &Config) -> Result<(), Box<dyn Error>>
Expand description

Installs essential packages on the system.

This function installs a predefined list of essential packages using the appropriate package manager for the Linux distribution.

§Arguments

  • config - A reference to the Config struct containing the Linux distribution information

§Returns

Returns Ok(()) if all packages are installed successfully, or an error if installation fails.