sudo apt-get update sudo apt-get upgrade
apt/Advanced Packaging Tools is the name of the package that contains a set of tools used by Ubuntu (along with other variants of Debian Linux) to handle software installation and removal. The command update re-syncs the package files with its sources (links to software repositories). The upgrade process then continues, installing any new package files that are discovered during the sync operation performed earlier.
Step 2: oun the following command to install the LAMP stack: