LinuxPackage Management BasicsInstall, Remove, and Upgrade PackagesOn this pageInstall, Remove, and Upgrade Packages APT resolves dependencies and manages lifecycle operations. Remove a package Input: sudo apt remove nginx Upgrade installed packages Input: sudo apt upgrade This fetches and applies updated package versions from repositories. References: https://man7.org/linux/man-pages/man8/apt-get.8.html https://man7.org/linux/man-pages/man8/apt.8.html