[CDRIVER-1910] Fedora installation instructions Created: 08/Nov/16  Updated: 30/Jan/17  Resolved: 23/Nov/16

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.5.0

Type: Improvement Priority: Major - P3
Reporter: Hannes Magnusson Assignee: Hannes Magnusson
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

I don't think our Fedora/RHEL installation instructions are 100% up2date.

remi commented on https://github.com/mongodb/mongo-c-driver/commit/c8a9902fc58dbf63a6e3f7c8dbfc2e0cbedbc9d0#commitcomment-17332510 that there is no need to enable remi..

I don't know if that means only the yum-config-manager --enable remi is no longer needed, or if more things can be skipped.

We should test this and update the docs :]



 Comments   
Comment by Githook User [ 30/Jan/17 ]

Author:

{u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}

Message: Merge branch 'r1.5'

Comment by Githook User [ 30/Jan/17 ]

Author:

{u'username': u'remicollet', u'name': u'Remi Collet', u'email': u'remi@php.net'}

Message: CDRIVER-1910 Fedora installation instructions
Branch: master
https://github.com/mongodb/libbson/commit/637d45509da5394717d346e25af4538c9ae6e071

Comment by Githook User [ 23/Nov/16 ]

Author:

{u'username': u'remicollet', u'name': u'Remi Collet', u'email': u'remi@php.net'}

Message: CDRIVER-1910 Fedora installation instructions
Branch: r1.5
https://github.com/mongodb/mongo-c-driver/commit/c60d1e36eee6247de7dae86b617e9055e08b3c6f

Comment by Githook User [ 23/Nov/16 ]

Author:

{u'username': u'remicollet', u'name': u'Remi Collet', u'email': u'remi@php.net'}

Message: CDRIVER-1910 Fedora installation instructions
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/2d397938f1dbe9c41e8f41294ffab07c010ba77d

Comment by Githook User [ 23/Nov/16 ]

Author:

{u'username': u'remicollet', u'name': u'Remi Collet', u'email': u'remi@php.net'}

Message: CDRIVER-1910 Fedora installation instructions
Branch: r1.5
https://github.com/mongodb/libbson/commit/637d45509da5394717d346e25af4538c9ae6e071

Comment by Githook User [ 23/Nov/16 ]

Author:

{u'username': u'remicollet', u'name': u'Remi Collet', u'email': u'remi@php.net'}

Message: CDRIVER-1910 Fedora installation instructions
Branch: master
https://github.com/mongodb/libbson/commit/763025821bc40098c3b0480783dde9e7e99342b4

Comment by Hannes Magnusson [ 17/Nov/16 ]

Thanks for the suggestion !

Comment by Remi Collet [ 17/Nov/16 ]

RHEL and CentOS should work the same. EPEL is designed to work with design for both.

I will prefer:

On Fedora, a libbson (mongo-c-driver) package is available in the default repositories and can be installed with:
$ dnf install libbson
On recent  Red Hat systems, CentOS and RHEL 7, a libbson (mongo-c-driver) package is available in the EPEL repository and can be installed with:
$ yum install libbson
To check version available, see https://apps.fedoraproject.org/packages/libbson (https://apps.fedoraproject.org/packages/mongo-c-driver)
EPEL => https://fedoraproject.org/wiki/EPEL

My repository is only useful for RHEL / CentOS 6 (it will probably be useful later, if the soname change, so I will be able to provide "latest" version for parallel installation to not break version in official repository).

Comment by Hannes Magnusson [ 16/Nov/16 ]

remi I'm not entirely sure what the correct language is to use in RHEL world.

I did a quick test with docker, and all I need to do to install libbson in Fedora (24) is

$ dnf install libbson

On CentOS (6)

$ yum install http://rpms.remirepo.net/enterprise/remi-release-6.rpm
$ yum install libbson

On CentOS (7)

$ yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm
$ yum install libbson

I'm not getting anywhere with this on RHEL, complaining however I try to add the repo:

$ docker run -i -t rhel /bin/bash          
[root@ed654a02dc28 /]# yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm
Loaded plugins: ovl, product-id, search-disabled-repos, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
There are no enabled repos.
 Run "yum repolist all" to see the repos you have.
 To enable Red Hat Subscription Management repositories:
     subscription-manager repos --enable <repo>
 To enable custom repositories:
     yum-config-manager --enable <repo>

I'm not sure what the relation between CentOS, RHEL and EPEL version numbers is, or if the term EPEL is used to describe both RHEL & CentOS?

What do you reckon is the best way of documenting howto install libbson/mongoc on these systems?

Would it be correct to say maybe

On recent  RedHat systems, such as Fedora, CentOS and RHEL, a libbson package is available in the default repositories and can be installed with:
$ yum install libbson
For older versions, you need to enable the relevant repositories see https://apps.fedoraproject.org/packages/mongo-c-driver

Currently we have: https://s3.amazonaws.com/mciuploads/libbson/docs/latest/installing.html#package-manager

Comment by Remi Collet [ 08/Nov/16 ]

For Fedora/EPEL, an idea could be to give a link to https://apps.fedoraproject.org/packages/mongo-c-driver

So, "remi-safe" repository is only needed for RHEL/CentOS 6 as the package is not built in EPEL-6.

Generated at Wed Feb 07 21:13:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.