fBasics doesn't work

Hello to everyone!
I have read differents approaches to solve my problem but I can't find the solution.
I can't install fBasics Package. This is the error:

  • installing source package ‘gss’ ...
    ** package ‘gss’ successfully unpacked and MD5 sums checked
    ** using staged installation
    ** libs
    gfortran -fno-optimize-sibling-calls -fpic -g -O2 -ffile-prefix-map=/build/r-base-4xhVZt/r-base-4.2.1=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -c cdennewton.f -o cdennewton.o
    /bin/bash: línea 1: gfortran: orden no encontrada
    make: *** [/usr/lib/R/etc/Makeconf:191: cdennewton.o] Error 127
    ERROR: compilation failed for package ‘gss’
  • removing ‘/home/dpv-sigiv/R/x86_64-pc-linux-gnu-library/4.2/gss’
    Warning in install.packages :
    installation of package ‘gss’ had non-zero exit status
    ERROR: dependency ‘gss’ is not available for package ‘fBasics’
  • removing ‘/home/dpv-sigiv/R/x86_64-pc-linux-gnu-library/4.2/fBasics’
    Warning in install.packages :
    installation of package ‘fBasics’ had non-zero exit status

The downloaded source packages are in
‘/tmp/RtmpAz25GR/downloaded_packages’

Thanks in advance!

you need the gfortran system utility

If 'gfortran' is not installed, you'll need to install it. The method for installing 'gfortran' varies depending on your operating system. For example, on Debian-based systems (e.g., Ubuntu), you can install it with:

sudo apt-get install gfortran

On Red Hat-based systems (e.g., CentOS), you can use:

sudo yum install gcc-gfortran

Thanks @nirgrahamuk I could solve this problem. I have read it but I didn't understand where install it.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.