It looks like @planetmaker's suggestion of using WSL will work.
On my Windows machine I've had Ubuntu 18.04 installed for a while, so have tested using that; but this should work with the latest version of Ubuntu as well.
Here goes:
- Start Ubuntu from the Windows Start Menu
- In the Ubuntu terminal window which appears, type
sudo apt install iraf
- The
sudo
command will ask for your password, so type it in and press enter.
- Now you'll see a whole load of text, like this:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
blt cpp-7 fontconfig-config fonts-dejavu-core g++-7 gcc-7 gcc-7-base iraf-noao javascript-common libasan4 libblas3
libcfitsio5 libcilkrts5 libcminpack1 libdrm-amdgpu1 libdrm-common libdrm-intel1 libdrm-nouveau2 libdrm-radeon1
libdrm2 liberfa1 libfontconfig1 libfontenc1 libfuntools1 libgcc-7-dev libgfortran4 libgl1 libgl1-mesa-dri
libgl1-mesa-glx libglapi-mesa libglvnd0 libglx-mesa0 libglx0 libice6 libjbig0 libjpeg-turbo8 libjpeg8 libjs-jquery
libjs-jquery-datatables liblapack3 libllvm10 libpciaccess0 libsensors4 libsm6 libstarlink-ast-err0 libstarlink-ast0
libstarlink-pal0 libstdc++-7-dev libtcl8.6 libtiff5 libtk-img libtk8.6 libubsan0 libwcs5 libwcstools1 libx11-xcb1
libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-shape0 libxcb-sync1 libxcomposite1
libxdamage1 libxfixes3 libxft2 libxi6 libxinerama1 libxmu6 libxpa1 libxpm4 libxrandr2 libxrender1 libxshmfence1
libxss1 libxt6 libxtst6 libxv1 libxxf86dga1 libxxf86vm1 python3-astropy python3-numpy python3-pluggy python3-ply
python3-psutil python3-py python3-pyraf python3-pytest python3-pytest-arraydiff python3-pytest-astropy
python3-pytest-doctestplus python3-pytest-openfiles python3-pytest-remotedata python3-stsci.tools python3-tk saods9
saods9-doc saods9-tclpackages tcl tcl-signal tcl-xpa tcl8.6 tcllib tclxml tk tk-html1 tk-mpeg tk-table tk8.6
tk8.6-blt2.5 tkblt tkcon tksao x11-common x11-utils xbitmaps xterm
Suggested packages:
blt-demo gcc-7-locales g++-7-multilib gcc-7-doc libstdc++6-7-dbg gcc-7-multilib libgcc1-dbg libgomp1-dbg libitm1-dbg
libatomic1-dbg libasan4-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg libmpx2-dbg libquadmath0-dbg
iraf-dev apache2 | lighttpd | httpd lm-sensors libstdc++-7-doc libtk-img-doc libxml2-utils python-astropy-doc
python3-astropy-affiliated python3-beautifulsoup python3-h5py python3-matplotlib python3-pandas python3-scipy
python3-tz gfortran python-numpy-doc python3-nose python3-numpy-dbg python-ply-doc python-psutil-doc subversion
ipython3 python3-urwid tix python3-tk-dbg python3-pyds9 xpa-tools tcl-tclreadline tcllib-critcl mesa-utils
xfonts-cyrillic
The following NEW packages will be installed:
blt fontconfig-config fonts-dejavu-core iraf iraf-noao javascript-common libblas3 libcfitsio5 libcminpack1
libdrm-amdgpu1 libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 liberfa1 libfontconfig1 libfontenc1 libfuntools1
libgfortran4 libgl1 libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa libglvnd0 libglx-mesa0 libglx0 libice6 libjbig0
libjpeg-turbo8 libjpeg8 libjs-jquery libjs-jquery-datatables liblapack3 libllvm10 libpciaccess0 libsensors4 libsm6
libstarlink-ast-err0 libstarlink-ast0 libstarlink-pal0 libtcl8.6 libtiff5 libtk-img libtk8.6 libwcs5 libwcstools1
libx11-xcb1 libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-shape0 libxcb-sync1
libxcomposite1 libxdamage1 libxfixes3 libxft2 libxi6 libxinerama1 libxmu6 libxpa1 libxpm4 libxrandr2 libxrender1
libxshmfence1 libxss1 libxt6 libxtst6 libxv1 libxxf86dga1 libxxf86vm1 python3-astropy python3-numpy python3-pluggy
python3-ply python3-psutil python3-py python3-pyraf python3-pytest python3-pytest-arraydiff python3-pytest-astropy
python3-pytest-doctestplus python3-pytest-openfiles python3-pytest-remotedata python3-stsci.tools python3-tk saods9
saods9-doc saods9-tclpackages tcl tcl-signal tcl-xpa tcl8.6 tcllib tclxml tk tk-html1 tk-mpeg tk-table tk8.6
tk8.6-blt2.5 tkblt tkcon tksao x11-common x11-utils xbitmaps xterm
The following packages will be upgraded:
cpp-7 g++-7 gcc-7 gcc-7-base libasan4 libcilkrts5 libdrm-common libdrm2 libgcc-7-dev libstdc++-7-dev libubsan0
11 upgraded, 108 newly installed, 0 to remove and 277 not upgraded.
Need to get 103 MB of archives.
After this operation, 526 MB of additional disk space will be used.
Do you want to continue? [Y/n]
- Press enter to accept the default (capitalised) answer of "Y"
- Watch as it downloads and installs over one hundred packages...
- When it's done then you can run the new program by typing
irafcl
and pressing enter:
This package contains tasks for viewing and manipulating 3d images.
It is a pre-release version, and does not reflect the ultimate
partitioning of n-dimensional image tasks within IRAF
NOAO/IRAF Debian 2.16.1+2018.03.10-2 Wed, 14 Mar 2018 09:02:35 +0000
This product includes results achieved by the IRAF64 project in 2006-
2009 directed by Chisato Yamauchi (C-SODA/ISAS/JAXA).
Welcome to IRAF. To list the available commands, type ? or ??. To get
detailed information about a command, type `help <command>'. To run a
command or load a package, type its name. Type `bye' to exit a
package, or `logout' to get out of the CL.
Visit http://iraf.net if you have questions.
The following commands or packages are currently defined:
dataio. images. lists. obsolete. proto. utilities.
dbms. language. noao. plot. system.
ecl>
Now, although it's installed and runs its command-line interface, I think that you'll encounter various issues when trying to run it: among the packages installed were some which require X Windows, and those won't work when running under Windows (you'll see error messages talking about being unable to access devices, or "Can't open display. DISPLAY is not set").
I advise you to test anything 'graphical' - that is, anything that tries to draw graphics to a display - before you invest too much time.
I think you might end up having to install a virtual machine instead.