Newer
Older
### INSTALLATION INSTRUCTIONS FOR ROCKY LINUX 8
# INSTALL DEPENDENCIES
```
$ dnf -y install epel-release
$ dnf -y install gcc cfitsio-devel cmake git json-devel
$ git clone https://www.ict.inaf.it/gitlab/bias/fits-preprocessor.git
$ gcc --version
if your gcc version >= 11 skip to the next section, otherwise run:
$ dnf install gcc-toolset-12
$ scl enable gcc-toolset-12 bash
# the previous command is mandatory before the install step
$ cd ./deps/sofa/20231011/c/src/
$ make
$ cd ../../../../../
$ cmake -DCMAKE_INSTALL_PREFIX="YOUR_INSTALLATION_DIR" ..
$ ./FitsPreprocessor.lnx <source_path> <destination_path>
# "<source_path>" is the path containing the .raw files you want to process, or the .raw file itself
# "<destination_path>" is the path where fits files will be written