wiringPi
sudo apt-get install wiringpi
wget https://project-downloads.drogon.net/wiringpi-latest.deb
sudo dpkg -i wiringpi-latest.deb
gpio -v
#See gpio version: 2.52, indicating that the installation was successful
Python
sudo apt-get update
sudo apt-get install python-pip
sudo pip3 install RPi.GPIO
Download GPIO_Test.py to Raspberry Pi
sudo python GPIO_Test.py
Phenomenon: The power indicator LED is always on, the GPIO connection LED lights up in sequence and then goes out in sequence, and the cycle continues.