How do I run apt install openjdk-8-jdk in a shell script code example Example: sudo apt install openjdk-14-jdk $ apt search openjdk