Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install newer libgit2 on RHEL 8 for git2r #201

Merged
merged 2 commits into from
Jan 9, 2025
Merged

Install newer libgit2 on RHEL 8 for git2r #201

merged 2 commits into from
Jan 9, 2025

Conversation

glin
Copy link
Contributor

@glin glin commented Jan 6, 2025

On Rocky/RHEL 8, the libgit2 version installed now is an old libgit2-0.26 from the PowerTools repo, too old for R packages like git2r. There is a newer libgit2_1.7 package in EPEL that works though, so install that instead.

dnf install -y epel-release

dnf search libgit2
# libgit2.i686 : C implementation of the Git core methods as a library with a solid API
# libgit2.x86_64 : C implementation of the Git core methods as a library with a solid API
# libgit2_1.7-devel.x86_64 : Development files for libgit2_1.7
# libgit2-glib.i686 : Git library for GLib
# libgit2-glib.x86_64 : Git library for GLib
# libgit2_1.7.x86_64 : C implementation of the Git core methods as a library with a solid API

@glin glin requested review from CDRayn, a team and nunyunuymi and removed request for a team January 7, 2025 22:32
@glin glin merged commit 665bc93 into main Jan 9, 2025
48 checks passed
@glin glin deleted the libgit2 branch January 9, 2025 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants