How to Install Winusb on Ubuntu 16.04

  • by
  • 9 Months ago
  • 5

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.


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

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 ..



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

  • facebook
  • googleplus
  • twitter
  • linkedin
  • linkedin
  • Юрий Герук

    Can’t install library libwxgtk3.0-dev to constantly see the error dependencies:

    Packages with unmet dependencies:
    libwxgtk3.0-dev : Depends: libgl1-mesa-dev but it is not installed or
    Depends: xlibmesa-glu-dev or
    E: unable to correct problems, you have held broken packages. What to do in this situation?

    • What OS are you installing this on?

      • Юрий Герук

        Ubuntu 16.04 LTS, 64-bit.

  • Grey Wolf

    keep getting
    Debug: Failed to connect to session manager: SESSION_MANAGER environment variable not defined

    (winusbgui:32391): IBUS-WARNING **: The owner of /home/greywolf/.config/ibus/bus is not root!