Skip to main content

install_hint

Function install_hint 

Source
pub fn install_hint(dependency: &str, distro: LinuxDistro) -> Option<String>
Expand description

A ready-to-run install command for one dependency, e.g. pacman -S libayatana-appindicator.

None when the distribution is unidentified or the dependency is not a system package; callers fall back to PackageNames::generic prose.