LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-30-2016, 05:22 AM   #1
itbod
Member
 
Registered: Jan 2007
Location: South West, England
Distribution: Ubuntu
Posts: 69
Blog Entries: 1

Rep: Reputation: 16
Question De-compressing an .EXE windows file ubuntu 16


I have download a file which I am told is compressed and has extension .EXE, The archive manager does not recognize this and says it is a DOS/WINDOWS file.

I have tried running the file through WINE and WINE Tricks.

Mt distro is the new 16. Any ideas?

Thanks
 
Old 08-30-2016, 05:38 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,845

Rep: Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977
Depending on how the self-extracting file was created you can try unzip, unrar or p7zip.
 
Old 08-30-2016, 06:03 AM   #3
Michael Uplawski
Senior Member
 
Registered: Dec 2015
Posts: 1,624
Blog Entries: 40

Rep: Reputation: Disabled
What does the file command report about the file.
Try
Code:
user@machine:/[path]/$ file [archive.exe]
and
Code:
user@machine:/[path]/$ file [archive.exe] --mime
 
Old 08-30-2016, 06:36 AM   #4
itbod
Member
 
Registered: Jan 2007
Location: South West, England
Distribution: Ubuntu
Posts: 69

Original Poster
Blog Entries: 1

Rep: Reputation: 16
Thanks I will check it out.
 
Old 08-31-2016, 04:38 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,029

Rep: Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632
I've used universal extractor one of the pendrive windows apps in wine to manipulate exe files. Not all exe files can be extracted.
 
Old 09-01-2016, 06:13 AM   #6
itbod
Member
 
Registered: Jan 2007
Location: South West, England
Distribution: Ubuntu
Posts: 69

Original Poster
Blog Entries: 1

Rep: Reputation: 16
Thanks for the info, I will give it a whirl. Fingers crossed lol

itbod
 
Old 09-01-2016, 08:15 AM   #7
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by Michael Uplawski View Post
What does the file command report about the file.
Try
Code:
user@machine:/[path]/$ file [archive.exe]
and
Code:
user@machine:/[path]/$ file [archive.exe] --mime
I've been known to use
Code:
$ strings /path/to/archive.exe
 
Old 09-02-2016, 08:37 AM   #8
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,719
Blog Entries: 4

Rep: Reputation: 3952Reputation: 3952Reputation: 3952Reputation: 3952Reputation: 3952Reputation: 3952Reputation: 3952Reputation: 3952Reputation: 3952Reputation: 3952Reputation: 3952
In my experience, most "self-extracting archives" can be unzipped directly. But, not all of them. (In fact, some are built to encrypt their content and to demand a challenge password from you when they run. These, so far as I know, run successfully only on actual Win-doze boxes, and sometimes not-successfully there.)
 
Old 09-02-2016, 03:28 PM   #9
Michael Uplawski
Senior Member
 
Registered: Dec 2015
Posts: 1,624
Blog Entries: 40

Rep: Reputation: Disabled
Quote:
Originally Posted by sundialsvcs View Post
In my experience, most "self-extracting archives" can be unzipped directly.
I may not have understood very well but am not yet convinced that the file in question is an archive. Hence my inquiry, above. Apart from Zip, RAR creates fine self-extracting archives... I liked UC2 best (but that was really too long ago).

Last edited by Michael Uplawski; 09-02-2016 at 03:30 PM.
 
Old 09-09-2016, 08:07 AM   #10
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,678

Rep: Reputation: 487Reputation: 487Reputation: 487Reputation: 487Reputation: 487
Quote:
I have download a file which I am told is compressed and has extension .EXE,
Couple of things... I'd reckon a file with a .exe extension is for use on a Windows system, not Linux.
If it's a compressed file, is it something executable, i.e. a program/application, or is it compressed data? You don't mention. Who told you it's compressed?

If it's a program, I'd reckon it's executable on a Windows system otherwise why compress it with something that gives it a .exe extension?

If it's a program/application, have you looked for a Linux alternative? Without knowing what it is it's difficult to advise.

If it's data, I'd be inclined to put it on a USB stick and visit that friend of yours with the flash Windows system and get him/her to decompress it and let you load the raw data back on the stick. Again, what you do with it depends on what it is.

My slightly skewed way of looking at your problem.

Play Bonny!

 
Old 09-09-2016, 10:41 PM   #11
Michael Uplawski
Senior Member
 
Registered: Dec 2015
Posts: 1,624
Blog Entries: 40

Rep: Reputation: Disabled
We will never know.
 
Old 09-10-2016, 08:38 PM   #12
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,628

Rep: Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652
i have ALWAYS tossed in the TRASH a windows self extracting exe archive
you have NO!!!! idea if it is a virus or not UNTIL you run it -- and then IT IS TOO LATE ( R.I.P.)

even on xp in 2001
i NEVER!!! excepted one of those

have the person RE compress it as a zip or rar ,7z, xz or anything EXCEPT a self extracting zip
 
Old 09-24-2016, 06:08 AM   #13
dave@burn-it.co.uk
Member
 
Registered: Sep 2011
Distribution: Puppy
Posts: 601

Rep: Reputation: 172Reputation: 172
Even a self extracting zip file presented as an exec can be extracted by a zip program without it being run - unless it is password protected of course.
 
Old 09-24-2016, 03:38 PM   #14
metadata
LQ Newbie
 
Registered: Sep 2016
Posts: 25

Rep: Reputation: Disabled
unzip or rar e works best on extracting window's .exe drivers.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to install .exe file in Ubuntu zeeshanayub Linux - Newbie 9 02-26-2014 02:29 PM
Windows 7: Windows Media Center Opens for each .exe file, I try to open aarsh General 1 10-20-2011 12:57 AM
Not able to open windows .exe file using wine Inkit Linux - General 5 02-11-2011 07:58 PM
run windows exe file in Linux? shipon_97 Linux - Newbie 5 11-24-2008 09:42 PM
exe file linux to windows degraffenried13 Linux - General 2 04-09-2004 05:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration