Fortran installation problem

Sayed Mohammad Badiezadegan mbzadegan at gmail.com
Sat Jan 4 07:54:25 PST 2025


Sounds interesting!
Thank you for your update.


On Sat, Jan 4, 2025 at 7:19 AM Nelson H. F. Beebe <beebe at math.utah.edu>
wrote:

> Sayed asked about a Fortran compiler for DragonflyBSD.
>
> I have three such installed:
>
>         % pkg provides gfortran9
>         Name    : gcc9-9.5.0_1
>         Comment : GNU Compiler Collection 9
>         Repo    : Avalon
>         Filename: usr/local/man/man1/gfortran9.1.gz
>                   usr/local/bin/x86_64-portbld-dragonfly6.4-gfortran9
>                   usr/local/bin/gfortran9
>
>         % pkg provides gfortran11
>         Name    : gcc11-devel-11.4.1.s20231228
>         Comment : GNU Compiler Collection 11
>         Repo    : Avalon
>         Filename: usr/local/man/man1/gfortran11.1.gz
>                   usr/local/bin/x86_64-portbld-dragonfly6.4-gfortran11
>                   usr/local/bin/gfortran11
>
>         Name    : gcc11-11.4.0
>         Comment : GNU Compiler Collection 11
>         Repo    : Avalon
>         Filename: usr/local/man/man1/gfortran11.1.gz
>                   usr/local/bin/x86_64-portbld-dragonfly6.4-gfortran11
>                   usr/local/bin/gfortran11
>
>         % pkg provides gfortran12
>         Name    : gcc12-devel-12.3.1.s20231229_1
>         Comment : GNU Compiler Collection 12
>         Repo    : Avalon
>         Filename: usr/local/man/man1/gfortran12.1.gz
>                   usr/local/bin/x86_64-portbld-dragonfly6.4-gfortran12
>                   usr/local/bin/gfortran12
>
>         Name    : gcc12-12.2.0_7
>         Comment : GNU Compiler Collection 12
>         Repo    : Avalon
>         Filename: usr/local/man/man1/gfortran12.1.gz
>                   usr/local/bin/x86_64-portbld-dragonfly6.4-gfortran12
>                   usr/local/bin/gfortran12
>
> There should be gfortran compilers also in the gcc8, gcc10, gcc13, and
> gcc14 packages.
>
> On DragonflyBSD and FreeBSD, one of the first things that I do during
> system installation is install the reverse mapping database that
> relates files to their containing packages:
>
>         # pkg install pkg-provides
>
>         [edit /usr/local/etc/pkg.conf according to instructions of the
>         last command]
>
>         # pkg plugins
>
>         # pkg provides -u
>
> Once the pkg-provides package is installed, its database is kept
> automatically up-to-date.
>
>
> -------------------------------------------------------------------------------
> - Nelson H. F. Beebe                    Tel: +1 801 581 5254
>     -
> - University of Utah
>     -
> - Department of Mathematics, 110 LCB    Internet e-mail:
> beebe at math.utah.edu  -
> - 155 S 1400 E RM 233                       beebe at acm.org
> beebe at computer.org -
> - Salt Lake City, UT 84112-0090, USA    URL:
> https://www.math.utah.edu/~beebe -
>
> -------------------------------------------------------------------------------
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20250104/61b53c51/attachment-0001.htm>


More information about the Users mailing list