How to Install WoeUSB on Ubuntu 22.04?

WoeUSB is a Linux based utility to make a USB for Windows. WoeUSB offers a command line and GUI support to create a USB stick for Windows OS image. The GUI of WoeUSB is very handy and easy to use. This application is available for Windows and as well as Linux operating system.

This post will cover the installation methods of WoeUSB on Ubuntu 22.04. The content for this post is as follows:

Let’s start this guide.

Method 1: Using PPA to Install WoeUSB on Ubuntu 22.04

The PPA repository support of WoeUSB is also available. This section allows you to add a PPA of WoeUSB and install it on Ubuntu 22.04. Let’s have a look at the following steps:

Step 1: Add PPA of WoeUSB

Open the terminal by pressing the “CTRL+ALT+T” from the keyboard and add a PPA on your Ubuntu system via the below-mentioned command:

$ sudo add-apt-repository ppa:tomtomtom/woeusb -y

Step 2: Update the Core Libraries of Ubuntu

After adding PPA, it is recommended to update the core libraries of Ubuntu using the command:

$ sudo apt update

Step 3: Install the WoeUSB

After updating the repositories list, run the below-give command to install the CLI as well as the GUI support of WoeUSB on Ubuntu 22.04:

$ sudo apt install woeusb woeusb-frontend-wxgtk -y

Note: If you want to install WoeUSB for CLI, you can use the below-stated command. 

$ sudo apt install woeusb -y

Once installed, verify that the WoeUSB is successfully installed on your system via the following command:

$ woeusb -h

The output has listed down the version and the possible usage of the WoeUSB tool.

Launching GUI of WoeUSB

For launching the GUI of WoeUSB, run the below command:

$ woeusbgui

The WoeUSB is launched and ready to use.

Method 2: Install WoeUSB Using a Bash Script

The second method is to install the WoeUSB from the bash script available at the GitHub. Click on this link to access. Let’s perform this method practically.

Step 1: Download the Script

Go to the Github link and download the latest bash script of WoeUSB, as shown in the below image:

After downloading, it will appear in the “Downloads” directory of Ubuntu:

Step 2: Make the Script Executable

Open the terminal and run the following command to make the bash script executable:

$ chmod +x woeusb-5.2.4.bash

Step 3: Install the Wimtool Utility

Before executing the script, a “wimtools” utility is required to be installed to run the script as the WoeUSB requires the “wimlib” package available in the “wimtools”. To install it, run the following command in your terminal:

$ sudo apt install wimtools

Note: If you execute the script without installing “wimtools”, you will get the following error:

Step 4: Execute the Bash Script

Now, run the below command to execute the script:

$ ./woeusb-5.2.4.bash

Here you go, the output shows that the woeusb Command Line Interface is now ready to use.

How to Use WoeUSB?

woeUSB is used for making the device bootable. To use woeusb follow the below guide.

Open the guide interface of woeusb and click on the iso disk image option:

Open the iso image file of operating system as shown in the below image:

Choose the file system NTFS of FAT according to the requirement, then click on the target device to make bootable and press the install button:

Authenticate the password for installation:

The installation will begin:

That’s how you will be able to use WoeUSB.

Bonus Tip: How to Remove WoeUSB From Ubuntu 22.04?

To remove the WoeUSB from Ubuntu 22.04 and run the following command. It will remove any package starting with the “woeusb” name:

$ sudo apt autoremove woeusb* -y

That’s it from this guide.

Conclusion

In Ubuntu 22.04  the WoeUSB can be installed using the command “sudo apt install woeusb woeusb-frontend-wxgtk -y” after adding PPA. Additionally, the users may get the bash script and execute it to use WoeUSB. This post has briefly explained the possible installation methods, and the usage of WoeUSB on Ubuntu 22.04.