How to Install Winusb on Ubuntu 16.04

WinUSB is a simple tool that enables you to create your own usb stick windows installer from an iso image or a real DVD. WinUSB has not been updated for a while now, hence there are no version for Ubuntu 16.04 in Ubuntu Repository. To successfully install Winusb on Ubuntu 16.04, you need to compile the source code.

winusb_1

Note: This package contains two programs:

  • WinUSB-gui: a graphical interface which is very easy to use
  • winusb: the command line tool

Install WinUSB 1.0.11 on Ubuntu 16.04

  • Install the dependencies
sudo apt-get install gcc build-essential libwxbase3.0-dev libwxgtk3.0-dev
  • Download the tar package and untar it
wget ftp://ftp.ru.debian.org/gentoo-distfiles/distfiles/winusb-1.0.11.tar.gz

tar zxf winusb-1.0.11.tar.gz
  • Change directory to the src folder and run following commands
cd winusb*/src

sed -i -- 's#wxStandardPaths().GetInstallPrefix()#wxStandardPaths::Get().GetInstallPrefix()#g' findFile.cpp

sed -i -- 's#wxStandardPaths().GetDataDir()#wxStandardPaths::Get().GetDataDir()#g' findFile.cpp
  • Run the following commands to compile the package and then remove the downloaded installer
cd ..

./configure

make

sudo make install

cd ..

rm -rf winusb-1.0.11
  • To launch winusb, simply run the following command
sudo winusbgui

If you run into any compile issues, feel free to drop a comment below and we will try and respond

 
comments powered by Disqus