Please revert your VM to a clean state, then download Ghidra (follow the next video). Note that Ghidra needs the JDK which should already be installed on your VM for PortexAnalyzer.

Take a snapshot after installing Ghidra.