How to Install Ghidra
Link: https://ghidra-sre.org/
Browse to the github repository and download the zip file
Link: https://github.com/NationalSecurityAgency/ghidra/releases
Move the ghidra zip file to the /opt/ directory
*mv ghidra_10.2.3_PUBLIC_20230208.zip /opt/
Here you can unzip the file and then remove the zip version
*sudo unzip ghidra_10.2.3_PUBLIC_20230208.zip
*sudo rm -r ghidra_10.2.3_PUBLIC_20230208.zip
Then rename the the unzipped directory to ghidra
*sudo mv ghidra_10.2.3_PUBLIC ghidra
Now cd into the ghidra directory
*cd ghidra
Try running ghidra
*./ghidraRun
You may see an issue with the version of java. With Kali I ran into this issue but didn’t have the same issue installing on MacOS.
If you run into the issue of ghidra not running then you’ll need to install the correct version of java to work with Ghidra
*sudo apt install openjdk-17-jdk
Once this version of java is installed then run ./ghidraRun again and you should see the following
Then you will see a popup open and Ghidra will start running.
Now enjoy using Ghidra. Tons of videos on YouTube to watch for learning.