I've to install the RPI.GPIO library on my raspberry pi 3, on the other hand, I don´t have acess to the internet in this. I'd already download the library in another computer and put this in my USB flash driver. What I don't know is where I put the zip file in my raspberry and what command I've to run to install it. Could someone help me, please?
Arguably, the best way is to use the package manager still (downloading the packages manually), because the installation process will keep track of the dependencies for you.
First, you will need to download the package. You can do it either using the browser from
http://archive.raspbian.org/raspbian/pool/, or by adding the content of Raspbian's
sources.list to another Debian computer and running
sudo apt-get download package-name:armhf
In your specific case, you likely want either
The links will expire with the next package update, but browsing from the
pool/ folder will get you there. The package name is what comes before the underscore, that is
Either way, you will get a
package-name_version.deb which you will need to transfer to the RPi.
On the RPi side, you will need to install the package with
sudo dpkg -i package-name_version.deb sudo apt-get install -f
There is a chance that the second command will complain about missing dependencies. In that case, note their names, and download the relevant packages as above, then install them too.