blob: 8e0c43cf3994eab0b51fe83854ca624058331215 [file] [log] [blame]
Gordon Henderson3fbc5642013-03-24 20:04:07 +00001
2How to install wiringPi
3=======================
4
5The easiest way is to use the supplied 'build' script:
6
7 ./build
8
9that should do a complete install or upgrade of wiringPi for you.
10
11That will install a dynamic library.
12
13Some distributions do not have /usr/local/lib in the default LD_LIBRARY_PATH. To
14fix this, you need to edit /etc/ld.so.conf and add in a single line:
15
16 /usr/local/lib
17
18then run the ldconfig command.
19
20 sudo ldconfig
21
22If you want to install a static library, you may need to do this manually:
23
24 cd wiringPi
25 make static
26 sudo make install-static
27
28
29To un-install wiringPi:
30
31 ./build uninstall
32
Gordon Henderson3fbc5642013-03-24 20:04:07 +000033Gordon Henderson
34
35projects@drogon.net
36https://projects.drogon.net/