How to install WoeUSB on Ubuntu 20.04 LTS

WoeUSB is an open-source tool to create Windows USB bootable installation sticks from an ISO file or DVD on Linux systems. The program supports Windows 7, Windows 8.1, and Windows 10 ISO files and can be used via a graphical user interface or in a terminal. Yes, we can use its command-line utility called woeusb or the graphical version based on WxWidgets, a GUI wrapper for woeusb.

The boot types supported by this Linux bootable USB maker are:

  • Legacy / MBR-style / IBM PC compatible boot mode
  • Native UEFI booting on FAT32 on the stick

Here in this tutorial, will let you know the ways to install WoeUSB on Ubuntu 20.04/19.10/19.04/18.10/18.10/17/16.04, Linux Mint, Debian, and Elementary. There are two to install WoeUSB one is by adding its repository and the second one using SNAP packages.  However, the snap method didn’t work after the installation of this Windows bootable USB maker, it wouldn’t open at all, and somehow it opened but didn’t recognize the attached USB drive.

——Updated version of this article—–

Command-line – Latest version

The latest version of WoeUSB is an available bash command tool to run without performing any kind of installation.

sudo apt install git p7zip-full python3-pip python3-wxgtk4.0 grub2-common grub-pc-bin wimtools

Download WoeUSB:

Go to GitHub, here is the Link and download the latest release:

Download WoeUSB

Make the file executable

chmod +x woeusb-5.2.4.bash

Now, run it:

./woeusb-5.2.4.bash

Note: You will see the options that can be used via the above command-line tool.

woeUSB command line tool

 

——————————————————2nd method——————————–

WoeUSB-ng with  GUI

Add repo

echo 'deb http://download.opensuse.org/repositories/home:/Provessor/xUbuntu_20.04/ /' | sudo tee /etc/apt/sources.list.d/home:Provessor.list

Add GPG key

curl -fsSL https://download.opensuse.org/repositories/home:Provessor/xUbuntu_20.04/\
Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_Provessor.gpg > /dev/null

Add WoeUSB repository

Run system update

sudo apt update

Install:

sudo apt install woeusb

Now, go to Application Launcher and search for this USB tool.

—————————————————————————————-

 

Note: If you just looking for a USB create to write a Windows ISO image then you can see –

Create Live bootable USB using Ubuntu 20.04’s Startup disk creator

———————————————————-another method———————————————————–

Install WoeUSB in Ubuntu

Let’s first see the method where we install WoeUSB on Ubuntu by adding an APT repository. Here are the commands:

  • Add WoeUSB repository
sudo add-apt-repository ppa:nilarimogard/webupd8

The above command will ask you to press Enter to add the repo.

  • Run system update command:

Once the above repo gets added to your Ubuntu system, run the update command to make sure the apt-cache got cleared and it could recognize the added repository.

sudo apt update
  • Now, download and run the WoeUSB installation command:
sudo apt install woeusb

If you get the following error:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
woeusb : Depends: libwxgtk3.0-0v5 (>= 3.0.4+dfsg) but it is not installable
  • Then, first, we have to install the libwxgtk3.0 manually. Here is the command to do that:
wget http://mirrors.kernel.org/ubuntu/pool/universe/w/wxwidgets3.0/libwxgtk3.0-0v5_3.0.4+dfsg-3_amd64.deb
  • Now, install it:

sudo dpkg -i filename

Replace the filename with the package you downloaded above or simply run the below  command:

sudo dpkg -i libwxgtk*_amd64.deb
  • Again, run the update command:
sudo apt update
  • Finally, install WoeUSB, this time you will not get any error at all.
sudo apt install woeusb
  • The output for the above command:

install WoeUSB on Ubuntu 20.04

How to use WoeUSB to create a Windows bootable drive on Ubuntu

Once you have successfully installed the software, it’s time to run it. Go to Activities and in the applications search for WoeUSB, when its icon appears, click it to run the program.

how to use woeUSB

  • Run WoeUSB
  • Click on the folder icon to open file explorer, select the Windows ISO file that you want to use to create a bootable USB drive.
  • Select filesystem you would like to use FAT or NTFS.
  • The WoeUSB will automatically detect and show the attached pen drives.
  • Select the one you want to use.
  • Finally, click on the INSTALL button.

WoeUSB configuration

In case you get an error when you hit the Install button. “Log: WoeUSB v3.3.1 ============================== Error: Target device is currently busy, unmount all mounted partitions in target device then try again Target device is busy, please make sure you unmount all filesystems on target device or shutdown the computer before detaching it.”

  • Go to the File Manager of Ubuntu, on the left side panel you will see your attached pen drive. Right-click on that and click on the Format button.
  • Now, select the For use with Windows (NTFS) file system and format your USB drive.

Format USB on Ubuntu

After that on WoeUSB, click on the Refresh button, select the Drive and again click on the Install button. This time it will be perfectly fine.

Install Windows ISO on pen drive using WoeUSB

36 thoughts on “How to install WoeUSB on Ubuntu 20.04 LTS”

  1. sudo dpkg -i libwxgtk3.0-0v5_3.0.4+dfsg-3_amd64.deb
    Selecting previously unselected package libwxgtk3.0-0v5:amd64.
    (Reading database … 324577 files and directories currently installed.)
    Preparing to unpack libwxgtk3.0-0v5_3.0.4+dfsg-3_amd64.deb …
    Unpacking libwxgtk3.0-0v5:amd64 (3.0.4+dfsg-3) …
    dpkg: dependency problems prevent configuration of libwxgtk3.0-0v5:amd64:
    libwxgtk3.0-0v5:amd64 depends on libwxbase3.0-0v5 (>= 3.0.4+dfsg); however:
    Package libwxbase3.0-0v5 is not installed.

    dpkg: error processing package libwxgtk3.0-0v5:amd64 (–install):
    dependency problems – leaving unconfigured
    Processing triggers for libc-bin (2.31-0ubuntu9) …
    Errors were encountered while processing:
    libwxgtk3.0-0v5:amd64

    Reply
  2. If you have this error
    “sudo dpkg -i libwxgtk3.0-0v5_3.0.4+dfsg-3_amd64.deb
    Selecting previously unselected package libwxgtk3.0-0v5:amd64.”

    use:
    sudo apt-get install libwxbase3.0-0v5
    sudo apt update
    sudo apt-get upgrade
    sudo apt install woeusb

    Reply
  3. Having same problem as guy that posted his command lines or whatever.
    Followed step by step but did not work. When I tried to install second time got error messages

    $ sudo dpkg -i libwxgtk3.0-0v5_3.0.4+dfsg-3_amd64.deb.1
    (Reading database … 183856 files and directories currently installed.)
    Preparing to unpack libwxgtk3.0-0v5_3.0.4+dfsg-3_amd64.deb.1 …
    Unpacking libwxgtk3.0-0v5:amd64 (3.0.4+dfsg-3) over (3.0.4+dfsg-3) …
    dpkg: dependency problems prevent configuration of libwxgtk3.0-0v5:amd64:
    libwxgtk3.0-0v5:amd64 depends on libwxbase3.0-0v5 (>= 3.0.4+dfsg); however:
    Package libwxbase3.0-0v5 is not installed.

    dpkg: error processing package libwxgtk3.0-0v5:amd64 (–install):
    dependency problems – leaving unconfigured
    Processing triggers for libc-bin (2.31-0ubuntu9) …
    Errors were encountered while processing:
    libwxgtk3.0-0v5:amd64

    $ sudo apt update
    Hit:1 http://us.archive.ubuntu.com/ubuntu focal InRelease
    Hit:2 http://dl.google.com/linux/chrome/deb stable InRelease
    Hit:3 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease
    Hit:4 http://security.ubuntu.com/ubuntu focal-security InRelease
    Hit:5 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease
    Hit:6 http://ppa.launchpad.net/gezakovacs/ppa/ubuntu focal InRelease
    Hit:7 http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu focal InRelease
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    All packages are up to date.

    $ sudo apt install woeusb
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    You might want to run ‘apt –fix-broken install’ to correct these.
    The following packages have unmet dependencies:
    libwxgtk3.0-0v5 : Depends: libwxbase3.0-0v5 (>= 3.0.4+dfsg) but it is not going to be installed
    woeusb : Depends: gettext
    Depends: libwxbase3.0-0v5 (>= 3.0.4+dfsg) but it is not going to be installed
    E: Unmet dependencies. Try ‘apt –fix-broken install’ with no packages (or specify a solution).

    Reply
  4. What a good explanation mate, but I encountered a problem.
    After entering -> sudo apt install woesb
    It shows an issue -> E: Unable to locate package woeusb

    Is there a solution to this? Thanls.

    Reply
  5. $ sudo apt install woeusb
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:

    The following packages have unmet dependencies:
    woeusb : Depends: libgcc-s1 but it is not installable
    E: Unable to correct problems, you have held broken packages.

    Question> How to fix this problem?

    Reply
    • Use the updated method given at the beginning of the article or just use the below given two commands

      sudo apt install git p7zip-full python3-pip python3-wxgtk4.0

      sudo pip3 install WoeUSB-ng

      Reply
  6. I get this when I try using the updated method [email protected]:~$ sudo apt install git p7zip-full python3-pip python3-wxgtk4.0
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Package python3-pip is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source

    Package p7zip-full is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source

    E: Package ‘p7zip-full’ has no installation candidate
    E: Package ‘python3-pip’ has no installation candidate
    E: Unable to locate package python3-wxgtk4.0
    E: Couldn’t find any package by glob ‘python3-wxgtk4.0’

    Reply
  7. im running into this error
    woeusb : Depends: libwxgtk3.0-0v5 (>= 3.0.4+dfsg) but it is not installable
    E: Unable to correct problems, you have held broken packages.

    Reply

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.