LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Run EXE file (https://www.linuxquestions.org/questions/linux-software-2/run-exe-file-4175586791/)

Huamin 08-10-2016 11:39 PM

Run EXE file
 
Hi,
What is the way to run one EXE file (created on Windows), within Red hat? Is this possible?

trevoratxtal 08-10-2016 11:58 PM

Install wine it may work with your program.

Ztcoracat 08-11-2016 12:06 AM

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-:)

zk1234 08-11-2016 03:04 AM

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.

.

TB0ne 08-11-2016 07:21 AM

Quote:

Originally Posted by Huamin (Post 5589277)
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.

rtmistler 08-11-2016 12:29 PM

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. ;)

Huamin 08-11-2016 11:41 PM

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

chrism01 08-12-2016 03:42 AM

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.

Huamin 08-12-2016 03:45 AM

How?

chrism01 08-12-2016 03:48 AM

read the link

JJJCR 08-12-2016 03:49 AM

Quote:

Originally Posted by Huamin (Post 5589734)
How?

You're using Red Hat if you got subscription support. Ask RH support.

RadicalDreamer 08-12-2016 04:22 AM

There is winetricks and playonlinux. I use playonlinux.

Huamin 08-12-2016 04:55 AM

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

TB0ne 08-12-2016 10:27 AM

Quote:

Originally Posted by Huamin (Post 5589734)
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?

John VV 08-12-2016 01:15 PM

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


All times are GMT -5. The time now is 09:26 AM.