Skip to content

Instantly share code, notes, and snippets.

Last active Mar 20, 2019
What would you like to do?
Some common installation task for Linux after installing OS
sudo apt-get install -y build-essential
sudo apt-get install curl -y
sudo apt-get install libpng-dev libjpeg-dev -y
sudo apt-get install pngquant -y
sudo apt-get install git -y
sudo apt-get install openssh-server -y
sudo apt-get install unrar -y
# Fix local issue:

# installing VIM
sudo apt-get update
sudo apt-get install vim -y

# installing zsh
sudo apt-get update
sudo apt-get install git-core zsh
zsh --version
chsh -s $(which zsh) ============OR=========== chsh -s /bin/zsh
wget --no-check-certificate -O - | sh
vim .zshrc
alias ll='ls -l --color=auto'
alias la='ls -la --color=auto'

# installing SDKMAN -
curl -s "" | bash
source "$HOME/.sdkman/bin/"
sdk version
sdk install java
sdk current java
sdk install maven
sdk current maven

# installing Docker   
sudo ls   
curl | bash   
docker -v
docker-compose -v   
# installing LAMP7 -
sudo apt-get update && sudo apt-get dist-upgrade -y
sudo reboot
sudo apt-get install lamp-server^ -y
xdg-open http://localhost
sudo nano /var/www/html/info.php
sudo service apache2 restart
sudo apt-get install phpmyadmin -y
sudo service apache2 restart
xdg-open http://localhost/phpmyadmin
sudo apt-get install php-intl

#installing Composer
curl -sS | php
sudo mv composer.phar /usr/local/bin/composer
sudo chmod +x /usr/local/bin/composer
composer -V
sudo composer self-update

# installing Spring-STS -

# installing Intellij IDEA -
cd Downloads/
sudo tar xf ideaIU-2017.1.3.tar.gz -C /opt/
cd /opt/idea-IU-171.4424.56/bin

#installing nodejs -
curl -sL | sudo -E bash -
sudo apt-get install -y nodejs
sudo ln -s "$(which nodejs)" /usr/bin/node

# installing yarn -
curl -sS | sudo apt-key add -
echo "deb stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn

# installing JHipster-
sudo npm install --global gulp-cli 
sudo npm install -g bower
sudo npm install -g yo
sudo yarn global add generator-jhipster
# Generating SSH Key
cat .ssh/

sudo apt-get install php-curl
sudo apt-get install poedit

# Installing Zeal
sudo add-apt-repository ppa:zeal-developers/ppa
sudo apt-get update
sudo apt-get install zeal

# Installing WP Cli   
curl -O
chmod +x wp-cli.phar
sudo mv wp-cli.phar /usr/local/bin/wp
wp --info

# Installing PlayOnLinux   
sudo add-apt-repository ppa:noobslab/apps   
sudo apt-get update   
sudo apt-get install playonlinux

sudo apt install gnome-clocks -y

After installing all of these here are some software to be installed from Ubuntu software:

1. Kazam 
2. Kdenlive
3. Skype 
4. Shutter
Copy link

tojibon commented Apr 16, 2017

In case sdkman / $JAVA_HOME not found:

sudo vim .zshrc

Put this lines at the end of profile file:

export SDKMAN_DIR="/home/user/.sdkman"
[[ -s "/home/user/.sdkman/bin/" ]] && source "/home/user/.sdkman/bin/"

Copy link

tojibon commented Jul 3, 2018

#Linux text to voice reading
sudo apt-get install festival
sudo apt-get install xsel
echo "Test to read..." | festival --tts
xsel | festival --tts --pipe
chmod +x

Copy link

tojibon commented Nov 28, 2018

Installing PGAdmin4

docker pull dpage/pgadmin4
docker run -p 8082:80 \
-e "" \
-d dpage/pgadmin4


Copy link

tojibon commented Dec 5, 2018

sudo add-apt-repository ppa:webupd8team/java -y
sudo apt update -y
sudo apt install oracle-java8-installer -y
export JAVA_HOME=/usr/lib/jvm/java-8-oracle/jre
java -version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment