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!
1 Answer
You should start by reading Ubuntu Packaging Guide and especially part 3. Fixing a bug in Ubuntu .
All your steps in brief:
- Clone source code of GMP for xenial
- Make changes in its source code
- Compile deb-package with your changes
- Install your patched packages into system with
dpkg -i *.deb
orapt-get install ./*.deb
.