expect - Automates interactive applications

Property Value
Distribution Debian 9 (Stretch)
Repository Debian Main i386
Package filename expect_5.45-7+deb9u1_i386.deb
Package name expect
Package version 5.45
Package release 7+deb9u1
Package architecture i386
Package type deb
Category devel::interpreter interface::commandline interface::shell interpreters role::program scope::utility works-with::software:running
Homepage http://sourceforge.net/projects/expect/
License -
Maintainer Sergei Golovan <sgolovan@debian.org>
Download size 160.85 KB
Installed size 306.00 KB
Expect is a tool for automating interactive applications according to a script.
Following the script, Expect knows what can be expected from a program and what
the correct response should be. Expect is also useful for testing these same
applications. And by adding Tk, you can also wrap interactive applications in
X11 GUIs. An interpreted language provides branching and high-level control
structures to direct the dialogue. In addition, the user can take control and
interact directly when desired, afterward returning control to the script.
This package contains the expect binary and several Expect based scripts.


Package Version Architecture Repository
expect_5.45-7+deb9u1_amd64.deb 5.45 amd64 Debian Main
expect - - -


Name Value
libc6 >= 2.4
libtcl8.6 >= 8.6.0
tcl-expect -


Name Value
expect-dev -


Name Value
expect-dev -


Name Value
expect-dev -


Type URL
Mirror ftp.br.debian.org
Binary Package expect_5.45-7+deb9u1_i386.deb
Source Package expect

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install expect deb package:
    # sudo apt-get install expect




2017-07-23 - Sergei Golovan <sgolovan@debian.org>
expect (5.45-7+deb9u1) stretch; urgency=medium
* Added a patch by Georg-Johann Lay which now properly checks for EOF
and doesn't lose input when there are some characters in the input buffer
and EOF flag happens.
2015-10-23 - Sergei Golovan <sgolovan@debian.org>
expect (5.45-7) unstable; urgency=medium
* Applied a few fixes by upstream which were included in Expect 5.45.3
never released as a tarball (closes: #799301).
* Bumped standards version to 3.9.6.
2014-07-14 - Sergei Golovan <sgolovan@debian.org>
expect (5.45-6) unstable; urgency=low
* Split the expect package into expect and tcl-expect where the libexpect
library and the Tcl package are moved. Made the tcl-expect package
multiarch same.
* Renamed the expect-dev package into tcl-expect-dev and moved the included
scripts into the main expect package.
* Build expect with Tcl 8.6.
* Use CFLAGS from the dpkg build flags. Fixed potential security bug in
printf format handling.
* Bumped the debhelper compatibility version to 9.
* Bumped standards version to 3.9.5.
2013-11-04 - Sergei Golovan <sgolovan@debian.org>
expect (5.45-5) unstable; urgency=low
* Added patch which replaces memcpy my memmove for copying possibly
overlapping memory area, thanks to Per Cederqvist (closes: #728663).
2013-10-06 - Sergei Golovan <sgolovan@debian.org>
expect (5.45-4) unstable; urgency=low
* Execute tclsh8.5 instead of tclsh in expect scripts because tcl8.5
will stop providing /usr/bin/tclsh.
2013-05-06 - Sergei Golovan <sgolovan@debian.org>
expect (5.45-3) unstable; urgency=low
* Added conflicts header to the debian/control file which ensures that the
no longer existing expectk package gets removed (closes: #686364).
* Switched to 3.0 (quilt) source package format.
* Bumped debhelper compatibility level to 8.
* Bumped standards version to 3.9.4.
* Added hardening linker flags.
2011-11-04 - Sergei Golovan <sgolovan@debian.org>
expect (5.45-2) unstable; urgency=low
* Replaced ckalloc() call in exp_clib.c by malloc() because using the
ordinary free() leads to memory corruption after ckalloc() (which is
a macro for Tcl_Alloc()). See patches/22-segfault-with-stubs.patch
for segfaulting examples.
2011-08-17 - Sergei Golovan <sgolovan@debian.org>
expect (5.45-1) unstable; urgency=low
* New upstream release.
* Removed unnecessary patches.
* Removed the expectk package because expectk was dropped from the upstream
distribution. See NEWS.Debian for possible workarounds.
* Updated package to standards version 3.9.2 (no changes needed).
2010-10-27 - Sergei Golovan <sgolovan@debian.org>
expect ( unstable; urgency=low
* Added patch by upstream which fixes crash during exact string matching
in expect command if the search pattern contains non-ASCII characters.
2010-09-05 - Sergei Golovan <sgolovan@debian.org>
expect ( unstable; urgency=low
* Added patch by upstream (proposed by Per Cederqvist) which fixes
slow processing of certain regexp patterns by preventing their
convertation to glob patterns (closes: #591695).
* Don't load Expect package to tclsh 8.4 because it causes a
segmentation fault.
* Updated package to standards version 3.9.1 (no changes needed).

See Also

Package Description
expeyes-clib_4.2.1+dfsg-1_i386.deb hardware & software framework for developing science experiments
expeyes-doc-common_4.2.1+dfsg-1_all.deb Common files related to the User manual for expeyes library
expeyes-doc-en_4.2.1+dfsg-1_all.deb User manual for expeyes library, in English language
expeyes-doc-fr_4.2.1+dfsg-1_all.deb User manual for expeyes library, French translation
expeyes-firmware-dev_4.2.1+dfsg-1_all.deb hardware & software framework for developing science experiments
expeyes-web_4.2.1+dfsg-1_all.deb Web interface for expEYES-Junior
expeyes_4.2.1+dfsg-1_all.deb hardware & software framework for developing science experiments
explain_1.4.D001-6_i386.deb utility to explain system call errors
ext3grep_0.10.2-3+b1_i386.deb tool to help recover deleted files on ext3 filesystems
ext4magic_0.3.2-7_i386.deb recover deleted files from ext3 or ext4 partitions
extace_1.9.9-7+b1_i386.deb waveform viewer
extlinux_6.03+dfsg-14.1+deb9u1_i386.deb collection of bootloaders (Linux ext2/ext3/ext4, btrfs, and xfs bootloader)
extra-cmake-modules_5.28.0-1_i386.deb Extra modules and scripts for CMake
extra-xdg-menus_1.0-4_all.deb Extra menu categories for applications under GNOME and KDE
extract_1.3-4+deb9u3_i386.deb displays meta-data from files of arbitrary type