
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 5,979 Views
I have installed expect package but when I type expect it is not working
rpm -qa | grep expect
expect-5.45.4-5.el8.ppc64le
expect
-bash: expect: command not found
It is throwing this error
Accepted Solutions


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 5,888 Views
Sure. I think that if you have installed that package properly then something wrong with your PATH variable.
- check with 'which expect' - in my case it is -/usr/bin/expect
-execute 'echo $PATH' and compare if it contains /usr/bin folder
IN my case it is - /bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/ and it contains
- you can also log in/log out to reload your PATH variable if you have something defined in .bashrc


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 5,966 Views
Are you using PowerPC architecture?
Would you be able to execute uname -a and send it back here?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 5,891 Views
Sorry I couldn't share the machine details, however Yes I am using powerPC architecture.
Linux "Node_Name" 4.18.0-147.el8.ppc64le #1 SMP Thu Sep 26 15:44:34 UTC 2019 ppc64le ppc64le ppc64le GNU/Linux


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 5,889 Views
Sure. I think that if you have installed that package properly then something wrong with your PATH variable.
- check with 'which expect' - in my case it is -/usr/bin/expect
-execute 'echo $PATH' and compare if it contains /usr/bin folder
IN my case it is - /bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/ and it contains
- you can also log in/log out to reload your PATH variable if you have something defined in .bashrc