Install GNU GMP on ubuntu after modifying its source code
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
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!
gnu
add a comment |Â
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!
gnu
How far have you gotten in the build process?
â dsstorefile1
Apr 22 at 4:53
add a comment |Â
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!
gnu
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!
gnu
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
add a comment |Â
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
add a comment |Â
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:
- 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
.
add a comment |Â
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:
- 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
.
add a comment |Â
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:
- 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
.
add a comment |Â
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:
- 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
.
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
.
answered Apr 22 at 10:07
N0rbert
15.5k33172
15.5k33172
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
How far have you gotten in the build process?
â dsstorefile1
Apr 22 at 4:53