Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Where can I find a patched RPM package of git for Bitbucket Server 7.21.8?

Hi,

I need to update git on our Bitbucket Server 7.21.8 (on Centos7), we currently use git 2.24.4 ( as I couldn't find a higher supported version in rpm). I have been looking in many places but still unable to find a supported patched version of git, preferebly one of the following:

 

Thanks for you help

Naushad.

 

1 answer

0 votes
Luiz Elias
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Feb 19, 2023

Hi Naushad,

 

Since IBM/RedHat decided to sunset the Centos project there has been very little updates for the packages.
I'd suggest you download it and compile it from the source:

I'd also advise you to test it first in a development environment, here are the steps:

 

1) remove the current 1.8x version: 

sudo yum -y remove git

sudo yum -y remove git-*

2) Install dependencies:

sudo yum -y install epel-release
sudo yum -y groupinstall "Development Tools"
sudo yum -y install wget curl perl-CPAN gettext-devel perl-devel openssl-devel zlib-devel curl-devel expat-devel getopt asciidoc xmlto docbook2X

3)Download version 2.34.6 from git:

wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.34.6.tar.gz

4) Compile

tar -xvf git-2.34.6.tar.gz

cd git-2.34.6
make configure
sudo ./configure --prefix=/usr
sudo make
sudo make install

5) test it:

$ git --version

3rd parties maintain some repositories with the latest version of git, however, I'd not recommend using them since  they're not official. Please use it at your discretion:

https://packages.endpointdev.com/rhel/7/os/x86_64

 

to install:

sudo yum -y install https://packages.endpointdev.com/rhel/7/os/x86_64/endpoint-repo.x86_64.rpm

or from IUS.io which is backed by rackspace

 

https://ius.io/faq

 

I hope that heps.

Cheers,

 

Luiz

Thanks Luiz,

I dowloaded and compiled it from the source. It worked.

Like Luiz Elias likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events