I have installed scisoft version 7.5. I need to run iraf in the scisoft from xgterm. But when I type xgterm in bash terminal it shows following message,

No command 'xgterm' found, did you mean:
Command 'xterm' from package 'xterm' (main)
xgterm: command not found

I guess xgterm is not on my system and I can't find it in ubuntu repository. How to get xgterm for Ubuntu 12.04?

  • Where/How you installed xgterm?
    – Braiam
    Commented Dec 6, 2013 at 16:24

2 Answers 2


I installed current IRAF (v216.1) under Ubuntu 12.04 and run in a similar error. Turned out that xgterm is on the system, but just not in the path. In my case I had to create this symbolic link:

$ ln -s ~/opt/iraf.v2161/vendor/x11iraf/bin.linux/xgterm .iraf/bin/

(where ~/opt/iraf.v2161/ is the root directory in which I installed iraf).

Now xgterm it is available and iraf command launches correctly

$ which xgterm

I assume that under Scisoft the xgterm binary is in the same place e.g.


alternatively you can get a statically linked executable this way

$ wget ftp://iraf.noao.edu/pub/fitz/xgterm.STATIC

I know this post is old, but I found a very useful solution on the official IRAF website. One needs to download statically linked binaries from


make them executable:

chmod 755 /path/xgterm.STATIC

And then manually move them in the /usr/local/bin

sudo mv /path//xgterm.STATIC /usr/local/bin/xgterm

(And similarly for ximtool)

  • It seems that the xgterm and ximtool static binaries were moved or removed from that FTP server. I'm not entirely sure if they're distributing the static builds any more. Commented Feb 25, 2019 at 19:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .