This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -eo pipefail | |
cd /usr/lib/jvm/java-11-openjdk-amd64 | |
sudo ./bin/jlink --output ./jre --compress=2 --no-header-files --no-man-pages --module-path ./jmods --add-modules java.base,java.compiler,java.datatransfer,java.desktop,java.instrument,java.logging,java.management,java.management.rmi,java.naming,java.net.http,java.prefs,java.rmi,java.scripting,java.se,java.security.jgss,java.security.sasl,java.smartcardio,java.sql,java.sql.rowset,java.transaction.xa,java.xml,java.xml.crypto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -eo pipefail | |
# Purge existing drivers first if needed | |
sudo apt-get purge --auto-remove -y "nvidia*" | |
sudo ubuntu-drivers autoinstall | |
sudo apt-mark manual nvidia-prime nvidia-settings libnvidia-compute-440:i386 libnvidia-decode-440:i386 libnvidia-encode-440:i386 libnvidia-gl-440:i386 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -eo pipefail | |
# Purge existing drivers first if needed | |
sudo apt-get purge --auto-remove -y "nvidia*" | |
sudo ubuntu-drivers autoinstall | |
sudo apt-mark manual nvidia-prime nvidia-settings libnvidia-compute-440:i386 libnvidia-decode-440:i386 libnvidia-encode-440:i386 libnvidia-gl-440:i386 |