A note after Install Ubuntu

Linux Ubuntu

December 09, 2019

So, you already install fresh ubuntu then what to install next. This is my collection about installing some application that maybe useful for you.

Update and Upgrade package

This my take a while.

sudo apt update 
sudo apt upgrade

Install google chrome

We love using google chrome to browse in the internet.

# Downdload
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

sudo dpkg -i google-chrome-stable_current_amd64.deb

Install Terminator

Default ubuntu terminal is not have good feature, so we going to use terminator.

sudo apt install terminator

Install Code Editor

Because we are programmer we need code editor.

Visual Studio Code

google-chrome https://code.visualstudio.com/docs/?dv=linux64_deb
sudo dpkg -i code_1.40.2-1574694120_amd64.deb

Sublime Text

wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
sudo apt install apt-transport-https
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list

sudo apt-get update
sudo apt-get install sublime-text

Atom

wget https://atom.io/download/deb
mv deb atom.deb
sudo dpkg -i atom.deb
sudo apt install -f

Install Docker

Docker is live saver we need to install it.

sudo apt-get remove docker docker-engine docker-ce docker.io

sudo apt-get update

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

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

sudo apt-key fingerprint 0EBFCD88

sudo add-apt-repository \
   "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
   $(lsb_release -cs) \
   stable"

# For linux mint
sudo add-apt-repository \
    "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
    bionic \
    stable"

sudo apt-get update

sudo apt-get install docker-ce docker-ce-cli containerd.io

sudo usermod -aG docker <your-user>

Installing programming language

This is mostly what programming languague i use.

Go

wget https://dl.google.com/go/go1.13.5.linux-amd64.tar.gz
sha256sum go1.13.5.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.13.5.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin
export GOPATH=$HOME/go

Rust

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Ocaml

sudo apt install -y ocaml

Pip for Python

sudo apt install -y python3-pip
sudo apt install -y python-pip

Nodejs

sudo apt install nodejs
sudo apt install npm
sudo npm -g install n
sudo n lts

# 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 update && sudo apt install yarn

PHP 7.3

sudo apt install software-properties-common
sudo add-apt-repository ppa:ondrej/php
sudo apt update
sudo apt install php7.3-fpm
sudo apt install php7.3-common php7.3-mysql php7.3-xml php7.3-xmlrpc php7.3-curl php7.3-gd php7.3-imagick php7.3-cli php7.3-dev php7.3-imap php7.3-mbstring php7.3-opcache php7.3-soap php7.3-zip php7.3-intl -y

Composer

curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer\n

Installing Database

Mysql

sudo apt install mysql-server -y
sudo mysql_secure_installation

Configuring mysql

sudo mysql
SELECT user,authentication_string,plugin,host FROM mysql.user;
SET GLOBAL validate_password_length = 6;
SET GLOBAL validate_password_number_count = 0;
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'secret';

Installing other tools

Postman

# Download
https://dl.pstmn.io/download/latest/linux64

Inkscape

sudo add-apt-repository ppa:inkscape.dev/stable
sudo apt-get update
sudo apt install inkscape

PUP

Commandline html parser.

go get github.com/ericchiang/pup

JQ

Commandline json processor.

wget https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64
sudo chmod +x jq-linux64
sudo mv jq-linux64 /usr/loca/bin/jq

Httpie

sudo apt install httpie

Subscribe to My Newsletter

Thank you for your interest in my blog. Sign up to my newsletter to stay current on the latest news and information me and to be the first to see new blog posts.