Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

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

I need to get expect (tool for automating interactive applications) for the ARM platform. Is it a readily cross compiled to ARM and is it available? I tried googling but was unable to get the binaries.

share|improve this question
Are you using some distribution? Debian, for example, has expect for armhf and armel architectures; a *.deb file can be handled as a tgz archive. – sr_ Jan 27 '13 at 14:24
expect is in raspbian (debian for the ARM11, aka armv6, raspberry pi; it uses hard floats). I would think it would not be too hard to cross compile as it probably does not depend on much. – goldilocks Jan 27 '13 at 14:28
Its custom build with the svn.eaton.com/toolkit-docs for pandaboard ARM9 – m4n07 Jan 27 '13 at 15:17
Was looking for a ARM binary if its there it will save time. – m4n07 Jan 27 '13 at 15:17

expect is written with Tcl, and there are Tcl interpreters for ARM.

share|improve this answer
Since i have a custom version of linux. I Would like to know how to check it TCL interpreter is there or not. ( I thought of checking this before cross compiling expect for ARM). Thanks – m4n07 Jan 27 '13 at 16:12
@m4n07,expect embeds a TCL interpreter. You don't need another TCL interpreter in addition to expect, however the expect commands you find in random distributions might be dynamically linked to libtcl in which case, you'll need to get the TCL packages from those distributions. – Stéphane Chazelas Jan 27 '13 at 21:00

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.