Installing BC and any maths extension












6















I need to install bc (I think this is a language so I am guessing I need to install a parser but I seriously have no clue - would I need to install anything else?) onto Ubuntu 12.04 and any additional maths extension that exists for it. The only place I found to try to download it from was from here which had insufficient instructions for me to be able to actually get this done. Looking around on the site the last update appears to be from the year 2000 which made me very wary of trying to install it and I am not even sure if this the place to get it from or not.



I ought to add I really have no clue what I am doing. I need an idiot's guide to the entire installation process.



Really really stuck on this.










share|improve this question





























    6















    I need to install bc (I think this is a language so I am guessing I need to install a parser but I seriously have no clue - would I need to install anything else?) onto Ubuntu 12.04 and any additional maths extension that exists for it. The only place I found to try to download it from was from here which had insufficient instructions for me to be able to actually get this done. Looking around on the site the last update appears to be from the year 2000 which made me very wary of trying to install it and I am not even sure if this the place to get it from or not.



    I ought to add I really have no clue what I am doing. I need an idiot's guide to the entire installation process.



    Really really stuck on this.










    share|improve this question



























      6












      6








      6








      I need to install bc (I think this is a language so I am guessing I need to install a parser but I seriously have no clue - would I need to install anything else?) onto Ubuntu 12.04 and any additional maths extension that exists for it. The only place I found to try to download it from was from here which had insufficient instructions for me to be able to actually get this done. Looking around on the site the last update appears to be from the year 2000 which made me very wary of trying to install it and I am not even sure if this the place to get it from or not.



      I ought to add I really have no clue what I am doing. I need an idiot's guide to the entire installation process.



      Really really stuck on this.










      share|improve this question
















      I need to install bc (I think this is a language so I am guessing I need to install a parser but I seriously have no clue - would I need to install anything else?) onto Ubuntu 12.04 and any additional maths extension that exists for it. The only place I found to try to download it from was from here which had insufficient instructions for me to be able to actually get this done. Looking around on the site the last update appears to be from the year 2000 which made me very wary of trying to install it and I am not even sure if this the place to get it from or not.



      I ought to add I really have no clue what I am doing. I need an idiot's guide to the entire installation process.



      Really really stuck on this.







      12.04 software-installation bc






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 19 at 19:35









      Scott Stensland

      4,84242242




      4,84242242










      asked Nov 18 '14 at 11:43









      Reluctant_Linux_UserReluctant_Linux_User

      2092315




      2092315






















          1 Answer
          1






          active

          oldest

          votes


















          8














          Installing bc is trivial:



          sudo apt-get install bc


          As for extensions, man bc says:



          DIFFERENCES
          This version of bc was implemented from the POSIX P1003.2/D11 draft and
          contains several differences and extensions relative to the draft and
          traditional implementations.


          Indeed, the manpage is full of things marked 'extension'.



          The maths extensions are applied using the -l option:



          -l, --mathlib
          Define the standard math library.


          Thus:



          $ bc <<<'c(10)'
          Runtime error (func=(main), adr=6): Function c not defined.
          $ bc -l <<<'c(10)'
          -.83907152907645245225





          share|improve this answer


























          • Thanks. I rejected it. It's not my intention to provide a complete guide to installing software on Ubuntu in this answer.

            – muru
            Jul 5 '16 at 5:33











          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',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f550985%2finstalling-bc-and-any-maths-extension%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          8














          Installing bc is trivial:



          sudo apt-get install bc


          As for extensions, man bc says:



          DIFFERENCES
          This version of bc was implemented from the POSIX P1003.2/D11 draft and
          contains several differences and extensions relative to the draft and
          traditional implementations.


          Indeed, the manpage is full of things marked 'extension'.



          The maths extensions are applied using the -l option:



          -l, --mathlib
          Define the standard math library.


          Thus:



          $ bc <<<'c(10)'
          Runtime error (func=(main), adr=6): Function c not defined.
          $ bc -l <<<'c(10)'
          -.83907152907645245225





          share|improve this answer


























          • Thanks. I rejected it. It's not my intention to provide a complete guide to installing software on Ubuntu in this answer.

            – muru
            Jul 5 '16 at 5:33
















          8














          Installing bc is trivial:



          sudo apt-get install bc


          As for extensions, man bc says:



          DIFFERENCES
          This version of bc was implemented from the POSIX P1003.2/D11 draft and
          contains several differences and extensions relative to the draft and
          traditional implementations.


          Indeed, the manpage is full of things marked 'extension'.



          The maths extensions are applied using the -l option:



          -l, --mathlib
          Define the standard math library.


          Thus:



          $ bc <<<'c(10)'
          Runtime error (func=(main), adr=6): Function c not defined.
          $ bc -l <<<'c(10)'
          -.83907152907645245225





          share|improve this answer


























          • Thanks. I rejected it. It's not my intention to provide a complete guide to installing software on Ubuntu in this answer.

            – muru
            Jul 5 '16 at 5:33














          8












          8








          8







          Installing bc is trivial:



          sudo apt-get install bc


          As for extensions, man bc says:



          DIFFERENCES
          This version of bc was implemented from the POSIX P1003.2/D11 draft and
          contains several differences and extensions relative to the draft and
          traditional implementations.


          Indeed, the manpage is full of things marked 'extension'.



          The maths extensions are applied using the -l option:



          -l, --mathlib
          Define the standard math library.


          Thus:



          $ bc <<<'c(10)'
          Runtime error (func=(main), adr=6): Function c not defined.
          $ bc -l <<<'c(10)'
          -.83907152907645245225





          share|improve this answer















          Installing bc is trivial:



          sudo apt-get install bc


          As for extensions, man bc says:



          DIFFERENCES
          This version of bc was implemented from the POSIX P1003.2/D11 draft and
          contains several differences and extensions relative to the draft and
          traditional implementations.


          Indeed, the manpage is full of things marked 'extension'.



          The maths extensions are applied using the -l option:



          -l, --mathlib
          Define the standard math library.


          Thus:



          $ bc <<<'c(10)'
          Runtime error (func=(main), adr=6): Function c not defined.
          $ bc -l <<<'c(10)'
          -.83907152907645245225






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Nov 18 '14 at 11:53

























          answered Nov 18 '14 at 11:48









          murumuru

          1




          1













          • Thanks. I rejected it. It's not my intention to provide a complete guide to installing software on Ubuntu in this answer.

            – muru
            Jul 5 '16 at 5:33



















          • Thanks. I rejected it. It's not my intention to provide a complete guide to installing software on Ubuntu in this answer.

            – muru
            Jul 5 '16 at 5:33

















          Thanks. I rejected it. It's not my intention to provide a complete guide to installing software on Ubuntu in this answer.

          – muru
          Jul 5 '16 at 5:33





          Thanks. I rejected it. It's not my intention to provide a complete guide to installing software on Ubuntu in this answer.

          – muru
          Jul 5 '16 at 5:33


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f550985%2finstalling-bc-and-any-maths-extension%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

          Mangá

          Eduardo VII do Reino Unido