Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

install java 17 ubuntu

sudo apt update && sudo apt upgrade -y
sudo add-apt-repository ppa:linuxuprising/java -y
sudo apt update
sudo apt-get install oracle-java17-installer oracle-java17-set-default

java -version #To Test
Comment

install java 16 ubuntu

# Open terminal and run command to add the PPA:
sudo add-apt-repository ppa:linuxuprising/java
# After adding PPA, refresh system package cache and install the script:
sudo apt update
sudo apt install oracle-java16-installer
Comment

PREVIOUS NEXT
Code Example
Shell :: ubuntu remove temp files 
Shell :: install material ui 
Shell :: clear npm logs 
Shell :: copy ssh key ubuntu 
Shell :: get script dir bash 
Shell :: install vlc in ubuntu 20.04 terminal 
Shell :: reinit gitignore 
Shell :: nvm ubuntu 
Shell :: get ip mac terminal 
Shell :: Job for mongod.service failed because the control process exited with error code. See "systemctl status mongod.service" and "journalctl -xeu mongod.service" for details. 
Shell :: install yarn globally 
Shell :: run redis-server in background 
Shell :: get my ssh key 
Shell :: install putty on ubuntu 
Shell :: install docker compose homebrew 
Shell :: shutdown pc in 10 min run command 
Shell :: git change default editor 
Shell :: adb clear app data 
Shell :: conda install librosa 
Shell :: command ng not foudn 
Shell :: uninstall foxit reader ubuntu 18.04 
Shell :: GIT - Cleaning ignored file when .gitignore added after changes 
Shell :: git disable ssl cert 
Shell :: docker remove all untagged images 
Shell :: see uid user linux 
Shell :: linux install figlet 
Shell :: commit no verify 
Shell :: git credential cache 
Shell :: install vscode centos 7 
Shell :: bash: cmake: command not found 
ADD CONTENT
Topic
Content
Source link
Name
8+9 =