wimlib-imagex command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
wimlib-imagex: command not found
or when using sudo you get the following error message
sudo: wimlib-imagex: command not found
Solutions to wimlib-imagex: command not found
How To Fix wimlib-imagex: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu wimlib-imagex is provided by wimtools package.
wimtools is:
WIM is an archive format designed primarily for archiving Windows filesystems. It features single-instancing and LZ77-based compression, and is used by Microsoft to distribute and deploy Windows Vista and later.
This package contains a free implementation of the ImageX utility that is used to create WIM files on Windows.
To fix this problem, we can install more using the command below.
sudo apt-get -y install wimtools
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install wimtools.
sudo apt -y install wimtools
Or if you have aptitude installed you can use the following command.
sudo aptitude install wimtools
Summary
In this tutorial we learn how to fix wimlib-imagex command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.