'wiringPi installation issue

I am trying to stall wiringpi in the raspberry for using the GPIO in C but the message says that:

"Package wiringpi is not available but is referred to by another package. This may mean that the package is missing, has been obsolited , or is only available from nother source"

Does anyone knows why this is happening? I already check some similiar issues and nothing. The upgrade is already done . Or which apt does substitute wiringpi (I am using the raspberry pi4)

Thanks a lot and have great day!!



Solution 1:[1]

I aleady found a solution!! thanks anyway here is the link just in case anyone has te same problem

http://wiringpi.com/download-and-install/

$ git clone git://git.drogon.net/wiringPi

$ cd ~/wiringPi

$ git pull origin

$ ./build

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 emmanuel