Set up a local development Drupal site on the latest Ubuntu LTS version and more
LAMP stack setup (Linux, Apache, MySQL, and PHP) installing packages separately on Ubuntu on a local development environment.
The recommended Drupal local development environment for Linux, macOS, and Windows is DDEV. Follow the instructions to install Drupal using DDEV for local development.
How to set up a Drupal development environment on Linux.
Local installation of a LAMP stack is done with your preferred package manager.
Guidance is based on Ubuntu. Installation using other flavors of Linux is similar, but the syntax of the package manager and the version numbers of the packages may vary.
LAMP stack setup (Linux, Apache, MySQL, and PHP) installing packages separately on Ubuntu on a local development environment.