![]() ![]() You can replace ‘8’ with the version number of your choice. In this case, it’s the OpenJDK version 8. The openjdk-8-jdk parameter signifies the package to be installed. The apt-get install command is used to install software in Ubuntu. You can do this by running the following command: sudo apt-get install openjdk-8-jdk Once you’ve completely uninstalled OpenJDK, you may want to reinstall it. The apt-get clean command clears out the local repository of retrieved package files left from installing software. ![]() This can be done by running the following command: sudo apt-get clean Cleaning Up Residual FilesĪfter uninstalling OpenJDK, it’s a good practice to clean up any residual files left behind by the uninstallation process. This effectively uninstalls all versions of OpenJDK on your system. The openjdk-* parameter signifies that all packages with names starting with ‘openjdk-‘ should be removed. The apt-get remove command is used to remove software in Ubuntu. If OpenJDK is installed and you wish to remove it, you can do so by running the following command: sudo apt-get remove openjdk-* If OpenJDK is installed, this command will return a list of OpenJDK-related packages. The dpkg -list command lists all the packages installed on your Ubuntu system, and grep -i jdk filters out the packages related to JDK. You can do this by running the following command in your terminal: sudo dpkg -list | grep -i jdk ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |