Created
May 21, 2016 15:59
-
-
Save WagnerMoreira/a2e790909b8819f986a2a2733ffe2451 to your computer and use it in GitHub Desktop.
Install WInUSB at ubuntu 16 script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| sudo apt-get install gcc build-essential libwxbase3.0-dev libwxgtk3.0-dev | |
| tar zxf winusb_1.0.11+vivid1.tar.gz | |
| cd src-dir/src | |
| sed -i -- 's#wxStandardPaths().GetInstallPrefix()#wxStandardPaths::Get().GetInstallPrefix()#g' findFile.cpp | |
| sed -i -- 's#wxStandardPaths().GetDataDir()#wxStandardPaths::Get().GetDataDir()#g' findFile.cpp | |
| cd .. | |
| autoreconf --install | |
| ./configure | |
| make | |
| sudo make install | |
| cd .. | |
| rm -rf src-dir |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment