Skip to content

Instantly share code, notes, and snippets.

@WagnerMoreira
Created May 21, 2016 15:59
Show Gist options
  • Select an option

  • Save WagnerMoreira/a2e790909b8819f986a2a2733ffe2451 to your computer and use it in GitHub Desktop.

Select an option

Save WagnerMoreira/a2e790909b8819f986a2a2733ffe2451 to your computer and use it in GitHub Desktop.
Install WInUSB at ubuntu 16 script
#!/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