Extract exe & cab files on Linux

extract_compLinux users can run exe files using wine. What if you want to extract the contents of MS executables or cabinet files on Linux? This article explains the cmdline way and is a follow-up of our earlier article on enabling extra compression formats on Linux.


To extract exe files on Linux, use 7zr (from package p7zip-full or p7zip). To install the package on Ubuntu, run:

$ sudo apt-get install p7zip
// OR
$ sudo apt-get install p7zip-full

To extract an exe, run:

$ 7zr e myexe.exe


You need to install package cabextract on Ubuntu to extract cab files. Run:

$ sudo apt-get install cabextract

To extract a cab file, run:

$ cabextract mycab.cab


Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s