How to run a csh script to install f2c?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
3
down vote

favorite












I need to install f2c in Linux. Given the steps;



  1. Download installation script : Download install_f2c_linux.csh.



  2. Run installation script



    # chmod +x install_f2c_linux.csh
    # ./install_f2c_linux.csh


I run the second step in the root and user directory. But, it says



curl: Command not found.
tar: f2c.tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
gunzip: No match.
f2c: No such file or directory.


How to solve the problem?










share|improve this question









New contributor




Puteri Intan Zulaikha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.























    up vote
    3
    down vote

    favorite












    I need to install f2c in Linux. Given the steps;



    1. Download installation script : Download install_f2c_linux.csh.



    2. Run installation script



      # chmod +x install_f2c_linux.csh
      # ./install_f2c_linux.csh


    I run the second step in the root and user directory. But, it says



    curl: Command not found.
    tar: f2c.tar: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    gunzip: No match.
    f2c: No such file or directory.


    How to solve the problem?










    share|improve this question









    New contributor




    Puteri Intan Zulaikha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.





















      up vote
      3
      down vote

      favorite









      up vote
      3
      down vote

      favorite











      I need to install f2c in Linux. Given the steps;



      1. Download installation script : Download install_f2c_linux.csh.



      2. Run installation script



        # chmod +x install_f2c_linux.csh
        # ./install_f2c_linux.csh


      I run the second step in the root and user directory. But, it says



      curl: Command not found.
      tar: f2c.tar: Cannot open: No such file or directory
      tar: Error is not recoverable: exiting now
      gunzip: No match.
      f2c: No such file or directory.


      How to solve the problem?










      share|improve this question









      New contributor




      Puteri Intan Zulaikha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      I need to install f2c in Linux. Given the steps;



      1. Download installation script : Download install_f2c_linux.csh.



      2. Run installation script



        # chmod +x install_f2c_linux.csh
        # ./install_f2c_linux.csh


      I run the second step in the root and user directory. But, it says



      curl: Command not found.
      tar: f2c.tar: Cannot open: No such file or directory
      tar: Error is not recoverable: exiting now
      gunzip: No match.
      f2c: No such file or directory.


      How to solve the problem?







      command-line software-installation scripts csh






      share|improve this question









      New contributor




      Puteri Intan Zulaikha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      Puteri Intan Zulaikha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited 10 mins ago









      Melebius

      3,81241636




      3,81241636






      New contributor




      Puteri Intan Zulaikha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 26 mins ago









      Puteri Intan Zulaikha

      161




      161




      New contributor




      Puteri Intan Zulaikha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Puteri Intan Zulaikha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Puteri Intan Zulaikha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




















          3 Answers
          3






          active

          oldest

          votes

















          up vote
          5
          down vote













          FORTRAN 77 to C/C++ translator is already packaged in Ubuntu repositories as f2c package.



          You can install it with:



          sudo add-apt-repository universe
          sudo apt-get update
          sudo apt-get install f2c



          Note: develop new good habit - before trying to compile something manually visit http://packages.ubuntu.com and search for needed application here.






          share|improve this answer




















          • it works! thank you.
            – Puteri Intan Zulaikha
            1 min ago

















          up vote
          2
          down vote













          You have to install curl:



          sudo apt install curl


          But it is better to use the Ubuntu rep and install with:



          sudo apt-get install f2c


          as NOrbert posted.






          share|improve this answer





























            up vote
            -2
            down vote













            cURL is trying to download the .tar from http://netlib.sandia.gov/cgi-bin/netlib/netlibfiles.tar?filename=netlib/f2c but it's not finding it.



            You can get around this by downloading it manually from the URL above to f2c.tar and editing the csh script to remove the cURL line.






            share|improve this answer
















            • 1




              cURL is probably not trying because curl: Command not found.
              – Melebius
              16 mins ago










            • @Melebius My bad. Missed that line.
              – Lewis Smith
              8 mins ago










            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "89"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );






            Puteri Intan Zulaikha is a new contributor. Be nice, and check out our Code of Conduct.









             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1077151%2fhow-to-run-a-csh-script-to-install-f2c%23new-answer', 'question_page');

            );

            Post as a guest






























            3 Answers
            3






            active

            oldest

            votes








            3 Answers
            3






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            5
            down vote













            FORTRAN 77 to C/C++ translator is already packaged in Ubuntu repositories as f2c package.



            You can install it with:



            sudo add-apt-repository universe
            sudo apt-get update
            sudo apt-get install f2c



            Note: develop new good habit - before trying to compile something manually visit http://packages.ubuntu.com and search for needed application here.






            share|improve this answer




















            • it works! thank you.
              – Puteri Intan Zulaikha
              1 min ago














            up vote
            5
            down vote













            FORTRAN 77 to C/C++ translator is already packaged in Ubuntu repositories as f2c package.



            You can install it with:



            sudo add-apt-repository universe
            sudo apt-get update
            sudo apt-get install f2c



            Note: develop new good habit - before trying to compile something manually visit http://packages.ubuntu.com and search for needed application here.






            share|improve this answer




















            • it works! thank you.
              – Puteri Intan Zulaikha
              1 min ago












            up vote
            5
            down vote










            up vote
            5
            down vote









            FORTRAN 77 to C/C++ translator is already packaged in Ubuntu repositories as f2c package.



            You can install it with:



            sudo add-apt-repository universe
            sudo apt-get update
            sudo apt-get install f2c



            Note: develop new good habit - before trying to compile something manually visit http://packages.ubuntu.com and search for needed application here.






            share|improve this answer












            FORTRAN 77 to C/C++ translator is already packaged in Ubuntu repositories as f2c package.



            You can install it with:



            sudo add-apt-repository universe
            sudo apt-get update
            sudo apt-get install f2c



            Note: develop new good habit - before trying to compile something manually visit http://packages.ubuntu.com and search for needed application here.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered 21 mins ago









            N0rbert

            16.2k33275




            16.2k33275











            • it works! thank you.
              – Puteri Intan Zulaikha
              1 min ago
















            • it works! thank you.
              – Puteri Intan Zulaikha
              1 min ago















            it works! thank you.
            – Puteri Intan Zulaikha
            1 min ago




            it works! thank you.
            – Puteri Intan Zulaikha
            1 min ago












            up vote
            2
            down vote













            You have to install curl:



            sudo apt install curl


            But it is better to use the Ubuntu rep and install with:



            sudo apt-get install f2c


            as NOrbert posted.






            share|improve this answer


























              up vote
              2
              down vote













              You have to install curl:



              sudo apt install curl


              But it is better to use the Ubuntu rep and install with:



              sudo apt-get install f2c


              as NOrbert posted.






              share|improve this answer
























                up vote
                2
                down vote










                up vote
                2
                down vote









                You have to install curl:



                sudo apt install curl


                But it is better to use the Ubuntu rep and install with:



                sudo apt-get install f2c


                as NOrbert posted.






                share|improve this answer














                You have to install curl:



                sudo apt install curl


                But it is better to use the Ubuntu rep and install with:



                sudo apt-get install f2c


                as NOrbert posted.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited 11 mins ago

























                answered 16 mins ago









                abu_bua

                2,20531021




                2,20531021




















                    up vote
                    -2
                    down vote













                    cURL is trying to download the .tar from http://netlib.sandia.gov/cgi-bin/netlib/netlibfiles.tar?filename=netlib/f2c but it's not finding it.



                    You can get around this by downloading it manually from the URL above to f2c.tar and editing the csh script to remove the cURL line.






                    share|improve this answer
















                    • 1




                      cURL is probably not trying because curl: Command not found.
                      – Melebius
                      16 mins ago










                    • @Melebius My bad. Missed that line.
                      – Lewis Smith
                      8 mins ago














                    up vote
                    -2
                    down vote













                    cURL is trying to download the .tar from http://netlib.sandia.gov/cgi-bin/netlib/netlibfiles.tar?filename=netlib/f2c but it's not finding it.



                    You can get around this by downloading it manually from the URL above to f2c.tar and editing the csh script to remove the cURL line.






                    share|improve this answer
















                    • 1




                      cURL is probably not trying because curl: Command not found.
                      – Melebius
                      16 mins ago










                    • @Melebius My bad. Missed that line.
                      – Lewis Smith
                      8 mins ago












                    up vote
                    -2
                    down vote










                    up vote
                    -2
                    down vote









                    cURL is trying to download the .tar from http://netlib.sandia.gov/cgi-bin/netlib/netlibfiles.tar?filename=netlib/f2c but it's not finding it.



                    You can get around this by downloading it manually from the URL above to f2c.tar and editing the csh script to remove the cURL line.






                    share|improve this answer












                    cURL is trying to download the .tar from http://netlib.sandia.gov/cgi-bin/netlib/netlibfiles.tar?filename=netlib/f2c but it's not finding it.



                    You can get around this by downloading it manually from the URL above to f2c.tar and editing the csh script to remove the cURL line.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered 21 mins ago









                    Lewis Smith

                    275




                    275







                    • 1




                      cURL is probably not trying because curl: Command not found.
                      – Melebius
                      16 mins ago










                    • @Melebius My bad. Missed that line.
                      – Lewis Smith
                      8 mins ago












                    • 1




                      cURL is probably not trying because curl: Command not found.
                      – Melebius
                      16 mins ago










                    • @Melebius My bad. Missed that line.
                      – Lewis Smith
                      8 mins ago







                    1




                    1




                    cURL is probably not trying because curl: Command not found.
                    – Melebius
                    16 mins ago




                    cURL is probably not trying because curl: Command not found.
                    – Melebius
                    16 mins ago












                    @Melebius My bad. Missed that line.
                    – Lewis Smith
                    8 mins ago




                    @Melebius My bad. Missed that line.
                    – Lewis Smith
                    8 mins ago










                    Puteri Intan Zulaikha is a new contributor. Be nice, and check out our Code of Conduct.









                     

                    draft saved


                    draft discarded


















                    Puteri Intan Zulaikha is a new contributor. Be nice, and check out our Code of Conduct.












                    Puteri Intan Zulaikha is a new contributor. Be nice, and check out our Code of Conduct.











                    Puteri Intan Zulaikha is a new contributor. Be nice, and check out our Code of Conduct.













                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1077151%2fhow-to-run-a-csh-script-to-install-f2c%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Comments

                    Popular posts from this blog

                    What does second last employer means? [closed]

                    List of Gilmore Girls characters

                    Confectionery