LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-10-2016, 11:39 PM   #1
Huamin
Member
 
Registered: May 2011
Posts: 562

Rep: Reputation: 12
Run EXE file


Hi,
What is the way to run one EXE file (created on Windows), within Red hat? Is this possible?
 
Old 08-10-2016, 11:58 PM   #2
trevoratxtal
Member
 
Registered: Dec 2012
Location: South Devon, UK
Distribution: PCLinuxOS, Suse, Mint, Puppy.
Posts: 77

Rep: Reputation: 20
Install wine it may work with your program.
 
Old 08-11-2016, 12:06 AM   #3
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175
Hi:

Wine allows you to run many Windows programs on Linux.
Installing Wine can help.

http://superuser.com/questions/21662...-file-on-linux
http://tecadmin.net/steps-install-wi...dora-systems/#
http://www.tecmint.com/install-wine-...os-and-fedora/

I've never used Wine so I can't give you the details; sorry.
Good luck-
 
Old 08-11-2016, 03:04 AM   #4
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 1,145

Rep: Reputation: 211Reputation: 211Reputation: 211
Let's say that the file is "your.exe"
Check this file in your terminal:
Code:
file your.exe
If you can see "...DOS executable...." than you need DOSBox. Otherwise, what you need is Wine.

.
 
Old 08-11-2016, 07:21 AM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 24,168

Rep: Reputation: 7122Reputation: 7122Reputation: 7122Reputation: 7122Reputation: 7122Reputation: 7122Reputation: 7122Reputation: 7122Reputation: 7122Reputation: 7122Reputation: 7122
Quote:
Originally Posted by Huamin View Post
Hi,
What is the way to run one EXE file (created on Windows), within Red hat? Is this possible?
The exact same way as you ASKED BEFORE, FOUR YEARS AGO:
http://www.linuxquestions.org/questi...e-file-924927/

Please, try to show at least some effort of your own. This question has been asked and answered on this very site a LOT, and on Google even more.
 
Old 08-11-2016, 12:29 PM   #6
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,404
Blog Entries: 13

Rep: Reputation: 4495Reputation: 4495Reputation: 4495Reputation: 4495Reputation: 4495Reputation: 4495Reputation: 4495Reputation: 4495Reputation: 4495Reputation: 4495Reputation: 4495
Do not try to run any EXE under RedHat or any other Linux. That's my recommendation.

We look forward to the update 4 years from now.
 
1 members found this post helpful.
Old 08-11-2016, 11:41 PM   #7
Huamin
Member
 
Registered: May 2011
Posts: 562

Original Poster
Rep: Reputation: 12
Any advice to this?

[root@CentOS65x64 huamin]# sudo yum list wine*
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: ftp.cuhk.edu.hk
* extras: ftp.cuhk.edu.hk
* updates: centos.communilink.net
Error: No matching Packages to list
 
Old 08-12-2016, 03:42 AM   #8
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 7.7 (?), Centos 8.1
Posts: 17,903

Rep: Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614
You need to add the epel repo eg
Code:
cat epel.repo
[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
priority=30
but you'll need to install/setup https://wiki.centos.org/PackageManag...Yum/Priorities first to protect your system.

Last edited by chrism01; 08-12-2016 at 03:46 AM.
 
1 members found this post helpful.
Old 08-12-2016, 03:45 AM   #9
Huamin
Member
 
Registered: May 2011
Posts: 562

Original Poster
Rep: Reputation: 12
How?
 
Old 08-12-2016, 03:48 AM   #10
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 7.7 (?), Centos 8.1
Posts: 17,903

Rep: Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614
read the link
 
Old 08-12-2016, 03:49 AM   #11
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,890

Rep: Reputation: 338Reputation: 338Reputation: 338Reputation: 338
Talking

Quote:
Originally Posted by Huamin View Post
How?
You're using Red Hat if you got subscription support. Ask RH support.
 
Old 08-12-2016, 04:22 AM   #12
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,470

Rep: Reputation: 748Reputation: 748Reputation: 748Reputation: 748Reputation: 748Reputation: 748Reputation: 748
There is winetricks and playonlinux. I use playonlinux.
 
Old 08-12-2016, 04:55 AM   #13
Huamin
Member
 
Registered: May 2011
Posts: 562

Original Poster
Rep: Reputation: 12
Many thanks.
Chrism,
Where is that file, as I get this?

[root@CentOS65x64 /]# ls -l epel*.repo
ls: cannot access epel*.repo: No such file or directory
 
Old 08-12-2016, 10:27 AM   #14
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 24,168

Rep: Reputation: 7122Reputation: 7122Reputation: 7122Reputation: 7122Reputation: 7122Reputation: 7122Reputation: 7122Reputation: 7122Reputation: 7122Reputation: 7122Reputation: 7122
Quote:
Originally Posted by Huamin View Post
How?
..and the VERY FIRST HIT in Google for "how to add epel repository to centos 6.5" is:
http://www.tecmint.com/how-to-enable...el-centos-6-5/

..did you TRY to look this up?? Much like this very thread, where you're asking how to run an exe file, even though you've asked this same question previously, and obviously didn't search this forum and/or Google (as the 'Question Guidelines" link) indicates you should, before posting questions. Especially a duplicate, as this is.

Again, as said by others...don't run Windows programs on Linux. What program is this?? Have you looked for a Linux equivalent?
 
Old 08-12-2016, 01:15 PM   #15
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,530

Rep: Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622
or other than the first hit as above

did you look on the cent wiki FOR THE INSTRUCTIONS !

https://wiki.centos.org/AdditionalRe...s/Repositories

also install and CONFIGURE !!! "yum-plugin-priorities"
the link is on the page above
https://wiki.centos.org/PackageManag...Yum/Priorities


Quote:
[root@CentOS65x64 huamin]# sudo yum list wine*
so this is cent6 and NOT RHEL6
 
1 members found this post helpful.
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
run exe file f.abbaspour Debian 4 09-02-2014 04:01 PM
Run the exe file Huamin Linux - Software 10 01-21-2012 02:35 PM
how to run .exe file as we run the samwe in windows chandrala13 Linux - Newbie 2 05-22-2008 05:30 AM
how can i run exe file Raakh Linux - Newbie 6 05-30-2007 08:29 AM
run a .exe file kuertensun Debian 6 07-01-2005 11:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:59 AM.

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