DEV Community

Cover image for Basic setup for development
Edson Junior de Andrade
Edson Junior de Andrade

Posted on • Edited on

Basic setup for development

Development

Make

sudo apt-get update

sudo apt-get install make
Enter fullscreen mode Exit fullscreen mode

Git

sudo apt-get install git
Enter fullscreen mode Exit fullscreen mode

PHP 8

sudo apt install software-properties-common

sudo add-apt-repository ppa:ondrej/php

sudo apt update

sudo apt install php8.0 php8.0-intl php8.0-mysql php8.0-sqlite3 php8.0-gd
Enter fullscreen mode Exit fullscreen mode

Composer

sudo apt update

sudo apt install php-cli unzip

cd ~

curl -sS https://getcomposer.org/installer -o composer-setup.php

sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer

# Test composer installation
composer
Enter fullscreen mode Exit fullscreen mode

DBeaver

sudo add-apt-repository ppa:serge-rider/dbeaver-ce

sudo apt-get update

sudo apt-get install dbeaver-ce
Enter fullscreen mode Exit fullscreen mode

Docker

sudo apt update

sudo apt install apt-transport-https ca-certificates curl software-properties-common

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable"

sudo apt update

apt-cache policy docker-ce

sudo apt install docker-ce

# Test the Docker installation
sudo systemctl status docker
Enter fullscreen mode Exit fullscreen mode

Docker permission

sudo usermod -aG docker $(whoami)

sudo usermod -aG docker $USER

newgrp docker
Enter fullscreen mode Exit fullscreen mode

Docker Compose

sudo curl -L "https://github.com/docker/compose/releases/download/1.25.5/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

sudo chmod +x /usr/local/bin/docker-compose

sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose

docker-compose --version
Enter fullscreen mode Exit fullscreen mode

NodeJS

sudo apt update

sudo apt install nodejs

sudo apt install npm
Enter fullscreen mode Exit fullscreen mode

Yarn

curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -

echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list

sudo apt-get update && sudo apt-get install yarn

sudo apt-get install --no-install-recommends yarn

# Test the Yarn version
yarn --version
Enter fullscreen mode Exit fullscreen mode

Browser

Google Chrome

wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb
Enter fullscreen mode Exit fullscreen mode

System custom

Papirus icons

sudo add-apt-repository ppa:papirus/papirus

sudo apt install papirus-icon-theme
Enter fullscreen mode Exit fullscreen mode

Gnome

sudo apt install chrome-gnome-shell gnome-shell-extensions
Enter fullscreen mode Exit fullscreen mode

Extensions for Gnome

Top comments (0)