# Pkg Manager `pkg manager` is a crate that provides a user friendly wrapper to linux package managers. # Support Package Managers there are currently 2 supported package managers, `apt` and `pacman` # what can i do? with this crate, you can install and remove packages! # Starting ```rs use pkg_manager::PkgWrapper; fn main() { let pkg = PkgWrapper::new(); //will autodetect your package manager } ``` ## Installing Packages ```rs use pkg_manager::PkgWrapper; fn main() { let pkg = PkgWrapper::new(true).unwrap(); //will autodetect your package manager, takes a boolean as argument (no_confirm) pkg.install_pkg("pkgname").unwrap(); } ``` ## Uninstalling Packages ```rs use pkg_manager::PkgWrapper; fn main() { let pkg = PkgWrapper::new(true).unwrap(); //will autodetect your package manager, takes a boolean as argument (no_confirm) pkg.uninstall_pkg("pkgname").unwrap(); } ```