Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

my target is to run windows command from linux ( WINEXE )

I search and find the wine tool ( this tool can run WIN command from the linux machine I have Linux machine version red-hat3

I take the instructions from the following link ( download and install )


the following procedure described how to install the WINE tool but when I get to autogen.sh part I get this errror:

   ./autogen.sh: need autoconf 2.53 or later to build samba from SVN

please advice how to continue and fix this issue

second I don’t sure if WINE is the best "WINEXE" tool so if some one have better tool from WINE I will be happy to ear



bunzip2 winexe-static-081123.bz2 
chmod a+x winexe-static-081123
ln -s winexe-static-081123 /usr/local/bin/winexe
wget http://eol.ovh.org/winexe/winexe-source-081123.tar.bz2
cd winexe-source-081123
[root@linux winexe-source-081123]# ./autogen.sh
./autogen.sh: need autoconf 2.53 or later to build samba from SVN
share|improve this question
You want to run commands on a remote Windows machine, from Linux? Or you want to run Windows binaries on your Linux machine. WINE is for the latter, it sounds like you want the former – Michael Mrozek Jul 2 '13 at 18:48
I want to use the WINE tool in order to run WIN commands from the linux machine - example winexe -U W2008/administrator // "ipconfig" – yael Jul 2 '13 at 18:57
I don't know why you think WINE is involved. Winexe is a Linux tool, you can just run it; WINE is for running Windows programs. You probably want to install it from your package manager if you can, you don't want to build it from source since it looks like you don't have the typical development tools installed (e.g. autoconf). If you mention which distro you're using somebody can tell you how to install packages – Michael Mrozek Jul 2 '13 at 19:14
yes WINE is linux tool and I need to install it on my linux in order to use it to run WIN programs (CLI) , but as you see during installation its failes , please advice what the basic infrastruture that needs in order to install WINE ? – yael Jul 2 '13 at 19:20
ok - I need the - Winexe its remotely executes commands on Windows XPsystems from GNU/Linux – yael Jul 2 '13 at 19:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.