Updated the package manager to use apt, added commands to update all packages to their latest version, remove useless packages from the cache, and remove dependencies that are no longer required. This should improve the overall efficiency of the setup process.