This tutorial will assist those new to the Ubuntu environment in configuring the following:
- Composer
- Docker
- Laravel
- WordPress
First, open the Terminal in Ubuntu by searching for it or by pressing Ctrl + Alt + T.
If you don’t want to use the keyword “sudo
,” type “sudo su
” instead. This is how it will appear.

NOTE: Simply copy and paste the code below into your terminal.
Composer
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" php -r "if (hash_file('sha384', 'composer-setup.php') === '55ce33d7678c5a611085589f1f3ddf8b3c52d662cd01d4ba75c0ee0459970c2200a51f492d557530c71c15d8dba01eae') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" php composer-setup.php php -r "unlink('composer-setup.php');" mv composer.phar /usr/local/bin/composer
docker
apt install docker.io
Laravel
apt install curl curl -s https://laravel.build/example-app | bash
WordPress
curl -O https://wordpress.org/latest.tar.gz tar xzvf latest.tar.gz
I hope this was helpful. Thank you very much!