Install GNU GMP on ubuntu after modifying its source code

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 () . 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!

0

1 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.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like