How to Install Ghidra

Justin H. Hooper
2 min readMar 7, 2023

--

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.

--

--

Justin H. Hooper

Working to start a career in the cyber security field. I enjoy learning more about various tech, attacks, etc. Writing a blog here to share what I’ve learned.