michalbartnicki
5/6/2018 - 1:46 PM

ubuntu after install

#install jdk
Update repository:

sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
Run the following command in Terminal:

sudo apt-get install openjdk-8-jdk
sudo apt-get install openjdk-8-source #this is optional, the jdk source code
Type commandline as below...

apt-cache search jdk
(Note: openjdk-8-jdk is symbolically used here. You can choose the JDK version as per your requirement.)

For "JAVA_HOME" (Environment Variable) type command as shown below, in "Terminal" using your installation path...

export JAVA_HOME=/usr/lib/jvm/java-8-openjdk
(Note: "/usr/lib/jvm/java-8-openjdk" is symbolically used here just for demostration. You should use your path as per your installation.)

For "PATH" (Environment Variable) type command as shown below, in "Terminal" using your installation path...

export PATH=$PATH:/usr/lib/jvm/java-8-openjdk/bin
(Note: "/usr/lib/jvm/java-8-openjdk" is symbolically used here just for demostration. You should use your path as per your installation.)

Check for "open jdk" installation, just type command in "Terminal" as shown below

javac -version







# MS Designer Mouse
#https://www.ianthurston.com/fixes/ubuntu-designer-mouse-inspiron/
#on ubuntu 18 this should be enought
sudo apt-get install bluez blueman

# Cacher
sudo dpkg -i cacher_1.4.5_amd64.deb
sudo apt --fix-broken install

# Docker
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
# instead of lsb_release use just "xenial"
sudo add-apt-repository \
   "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
   $(lsb_release -cs) \
   stable"
sudo apt-get update
sudo apt-get install docker-ce
# check version first https://github.com/docker/compose/releases
sudo curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
sudo usermod -aG docker $USER

#nodejs
# start with nvm
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
command -v nvm
#now restart terminal
nvm install lts/carbon
# after this you will get nodejs v8.11.1

#install ms ttf fonts
sudo apt install ttf-mscorefonts-installer