This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
fuss:debian [2018/07/24 17:42] – [Reload LUKS Encrypted Drives Without Restarting] office | fuss:debian [2019/07/27 02:58] – [Reinstall Package and All Dependencies] office | ||
---|---|---|---|
Line 317: | Line 317: | ||
md5sum $(find * -type f -not -path ' | md5sum $(find * -type f -not -path ' | ||
</ | </ | ||
+ | |||
+ | ====== Reinstall Package and All Dependencies ====== | ||
+ | |||
+ | The following command will reinstall a package along with all its dependencies and additionally create any new configuration files: | ||
+ | <code bash> | ||
+ | apt-cache depends PACKAGE | grep '[ |]Depends: [^< | ||
+ | </ | ||
+ | where: | ||
+ | * '' | ||
+ | |||
+ | ====== Execute Java Program under Different JDK Version ====== | ||
+ | |||
+ | Execute the command: | ||
+ | <code bash> | ||
+ | update-java-alternatives -l | ||
+ | </ | ||
+ | |||
+ | to list the available JDKs. | ||
+ | |||
+ | Issue: | ||
+ | <code bash> | ||
+ | update-java-alternatives -s java-1.8.0-openjdk-amd64 | ||
+ | </ | ||
+ | where: | ||
+ | * '' | ||
+ | |||
+ | to set the java JDK version to be used. | ||
+ | |||