Example installation on Ubuntu 20.04 LTS — Nextcloud latest ...
docs.nextcloud.com › server › latestYou can use .deb packages to install the required and recommended modules for a typical Nextcloud installation, using Apache and MariaDB, by issuing the following commands in a terminal: sudo apt update sudo apt install apache2 mariadb - server libapache2 - mod - php7 .4 sudo apt install php7 .4 - gd php7 .4 - mysql php7 .4 - curl php7 .4 - mbstring php7 .4 - intl sudo apt install php7 .4 - gmp php7 .4 - bcmath php - imagick php7 .4 - xml php7 .4 - zip