Install GNU GMP on ubuntu after modifying its source code

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








up vote
1
down vote

favorite












I understand that installing GMP library on ubuntu requires
sudo apt-get install libgmp3-dev
My question is, since GNU GMP 6.1.2 source code files are publicly available over here (https://gmplib.org/) . I want to tweak some values in the source code and then compile the code and use it in ubuntu 16.04 . Is there a way to do it ? If so, please can someone help me with that? Thanks a lot!







share|improve this question




















  • How far have you gotten in the build process?
    – dsstorefile1
    Apr 22 at 4:53














up vote
1
down vote

favorite












I understand that installing GMP library on ubuntu requires
sudo apt-get install libgmp3-dev
My question is, since GNU GMP 6.1.2 source code files are publicly available over here (https://gmplib.org/) . I want to tweak some values in the source code and then compile the code and use it in ubuntu 16.04 . Is there a way to do it ? If so, please can someone help me with that? Thanks a lot!







share|improve this question




















  • How far have you gotten in the build process?
    – dsstorefile1
    Apr 22 at 4:53












up vote
1
down vote

favorite









up vote
1
down vote

favorite











I understand that installing GMP library on ubuntu requires
sudo apt-get install libgmp3-dev
My question is, since GNU GMP 6.1.2 source code files are publicly available over here (https://gmplib.org/) . I want to tweak some values in the source code and then compile the code and use it in ubuntu 16.04 . Is there a way to do it ? If so, please can someone help me with that? Thanks a lot!







share|improve this question












I understand that installing GMP library on ubuntu requires
sudo apt-get install libgmp3-dev
My question is, since GNU GMP 6.1.2 source code files are publicly available over here (https://gmplib.org/) . I want to tweak some values in the source code and then compile the code and use it in ubuntu 16.04 . Is there a way to do it ? If so, please can someone help me with that? Thanks a lot!









share|improve this question











share|improve this question




share|improve this question










asked Apr 22 at 4:52









Tanushree Banerjee

161




161











  • How far have you gotten in the build process?
    – dsstorefile1
    Apr 22 at 4:53
















  • How far have you gotten in the build process?
    – dsstorefile1
    Apr 22 at 4:53















How far have you gotten in the build process?
– dsstorefile1
Apr 22 at 4:53




How far have you gotten in the build process?
– dsstorefile1
Apr 22 at 4:53










1 Answer
1






active

oldest

votes

















up vote
0
down vote













You should start by reading Ubuntu Packaging Guide and especially part 3. Fixing a bug in Ubuntu .



All your steps in brief:



  1. Clone source code of GMP for xenial

  2. Make changes in its source code

  3. Compile deb-package with your changes

  4. Install your patched packages into system with dpkg -i *.deb or apt-get install ./*.deb.





share|improve this answer




















    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
    );



    );













     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1027095%2finstall-gnu-gmp-on-ubuntu-after-modifying-its-source-code%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    You should start by reading Ubuntu Packaging Guide and especially part 3. Fixing a bug in Ubuntu .



    All your steps in brief:



    1. Clone source code of GMP for xenial

    2. Make changes in its source code

    3. Compile deb-package with your changes

    4. Install your patched packages into system with dpkg -i *.deb or apt-get install ./*.deb.





    share|improve this answer
























      up vote
      0
      down vote













      You should start by reading Ubuntu Packaging Guide and especially part 3. Fixing a bug in Ubuntu .



      All your steps in brief:



      1. Clone source code of GMP for xenial

      2. Make changes in its source code

      3. Compile deb-package with your changes

      4. Install your patched packages into system with dpkg -i *.deb or apt-get install ./*.deb.





      share|improve this answer






















        up vote
        0
        down vote










        up vote
        0
        down vote









        You should start by reading Ubuntu Packaging Guide and especially part 3. Fixing a bug in Ubuntu .



        All your steps in brief:



        1. Clone source code of GMP for xenial

        2. Make changes in its source code

        3. Compile deb-package with your changes

        4. Install your patched packages into system with dpkg -i *.deb or apt-get install ./*.deb.





        share|improve this answer












        You should start by reading Ubuntu Packaging Guide and especially part 3. Fixing a bug in Ubuntu .



        All your steps in brief:



        1. Clone source code of GMP for xenial

        2. Make changes in its source code

        3. Compile deb-package with your changes

        4. Install your patched packages into system with dpkg -i *.deb or apt-get install ./*.deb.






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Apr 22 at 10:07









        N0rbert

        15.5k33172




        15.5k33172



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1027095%2finstall-gnu-gmp-on-ubuntu-after-modifying-its-source-code%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            Which professions warranted travel in Medieval times?

            How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

            Trouble downloading packages list due to a “Hash sum mismatch” error