To download the latest release version of Hatari, have a look at the Hatari download area.
Note that many Linux distributions already ship an RPM or DEB packaged version of Hatari. You might want to have a look at those first, but often they are not as up to date as the official version here.
If you have installed Git, you can also grab the latest development snapshot of Hatari. You can clone the repository like this:
git clone git://git.tuxfamily.org/gitroot/hatari/hatari.git
git clone https://git.tuxfamily.org/hatari/hatari.git/
By visiting this URL, you can also browse the source code repository online.
For compiling and running Hatari, you must have installed the following libraries and their development versions:
Following libraries are optional, but for your full Hatari pleasure, we recommend to install them:
Hatari also needs a TOS image file for running. But since TOS is still
copyrighted, we can not put such an image file here (and please don't ask us
to mail you any TOS images).
However, if you have an original Atari ST, you can make an image file from its TOS ROMs. There are programs like TOSDUMP.PRG or WINX that can create TOS images on a real ST.
Note that depending on the machine type that you want to emulate, you can only use certain TOS versions. The plain ST mode only works with TOS 1.00, 1.02, 1.04, or 2.06. STE mode requires any of the TOS versions 1.xx or 2.xx. TOS 3.0x is for TT, and TOS 4.0x is for Falcon mode.
If you don't have any of the original TOS images, you can also try the free EmuTOS TOS replacement supporting all Atari machines. Most programs and games work fine with it (exceptions are unpatched i.e. TOS version dependent STOS games, and Falcon programs using either DSP or TrueColor mode). The official release of Hatari is shipped with the latest EmuTOS image at its release time.
For those who want to test Hataris hard disk image support: 80 MB ACSI hard disk image (compressed with gzip to 90kB).