Managing Packages Like a Pro: APT Commands You Need

Update Package Lists To update the local package database with the latest available packages from the repositories, use the following command: sudo apt update Upgrade Installed Packages: To upgrade all installed packages to their latest versions, use the following command: sudo apt upgrade Install a Package: To install a package, use the apt install command followed by the package name: sudo apt install package-name Remove a Package: To uninstall a package while keeping its configuration files, use the apt remove command:...

October 17, 2023 · 3 min · 488 words · Saman Wijesinghe