I was trying to download java, more specifically, JDK version 16. The right command was sudo apt install openjdk-16-jdk
, but I end up typing sudo apt install open-jdk-11
instead, the funny thing is that the command ran sweet and asked me to give a confirmation if I really wanted to download the package and it gave to me a complete list of what was going to be installed, so I just typed Y
, because who reads this sort of thing anyway?
In the middle of the installation, I noticed the command was misspelled, so I turned down the energy of my computer, so it did not finish the installation.
I tried to search on the internet if anyone already had used this command or advised someone to use it, but the only thing I found was a strange Chinese website with this command in it, which wasn't very comforting to me.
After this frustrating attempt to look for something on the web, I tried to run the same command again. Still, this time don't allow it to be installed by typing N
when apt asked me if I really wanted it to be installed, just to see if the package was installed or not, but nothing happened. It just said to me that the package could not be found.
My question is: Could I just have installed malware, although the installation wasn't completed? Any help will be much appreciated.