Ask Your Question
2

Install upstream library with dnf

asked 2017-07-07 09:18:26 -0500

alfC gravatar image

I have Fedora 25, which ships with Boost 1.60. Since Fedora 26 is near I think it should be possible to install upstream Boost 1.63 for developing.

Is any straightforward way to do this with dnf and certain repository? Specially a way in which the development version (1.63) can be loaded though modules load.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2017-07-07 09:31:10 -0500

florian gravatar image

updated 2017-07-09 14:04:05 -0500

What you try is to install the boost build for Fedora 26 (1.63.0) in your Fedora 25. No guarantee this will work (it depends a bit on dependencies), but usually it works. From here, click on the version to get Fedora's build system Koji, then locate the rpm you need for your architecture and download it, for example this one (for a x86 64 machine): https://kojipkgs.fedoraproject.org//p...64/boost-1.63.0-5.fc26.x86_64.rpm

Installation is as easy as: sudo dnf install ~/Downloads/boost-1.63.0-5.fc26.x86_64.rpm (adjust the path to wherever you saved the rpm file), or you do: sudo dnf install https://kojipkgs.fedoraproject.org//packages/boost/1.63.0/5.fc26/x86_64/boost-1.63.0-5.fc26.x86_64.rpm

If it complains about missing dependencies, you may need to install them manually too.

edit flag offensive delete link more

Comments

Ok, put will that maintain the old version of Boost 1.60? can I switch back and forth to 1.63?

alfC gravatar imagealfC ( 2017-07-07 16:51:14 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-07-07 09:18:26 -0500

Seen: 217 times

Last updated: Jul 09 '17