Skip to content

Instantly share code, notes, and snippets.

@aelkz
Last active November 14, 2023 05:50
Show Gist options
  • Star 71 You must be signed in to star a gist
  • Fork 29 You must be signed in to fork a gist
  • Save aelkz/17528d2f6a5db73185c7dfbd28e49d18 to your computer and use it in GitHub Desktop.
Save aelkz/17528d2f6a5db73185c7dfbd28e49d18 to your computer and use it in GitHub Desktop.
How to install gitkraken on Fedora [25,26,27] + launcher icon
#!/bin/bash
# Download GitKraken
wget https://release.gitkraken.com/linux/gitkraken-amd64.tar.gz
# copy the downloaded file into /opt directory
cp gitkraken-amd64.tar.gz /opt/
cd /opt
# Extract the Kraken into /opt directory
tar -xvzf gitkraken-amd64.tar.gz
# you can apply ownership for a specific user too
# chown -R user:group /opt/gitkraken
# Add gitkraken to PATH
echo "export PATH=\$PATH:/opt/gitkraken" >> ~/.bashrc
source ~/.bashrc
# sudo ln -s /usr/lib64/libcurl.so.4 /opt/gitkraken/libcurl-gnutls.so.4
sudo ln -s /usr/lib64/libcurl.so.4 /usr/lib64/libcurl-gnutls.so.4
# Create gitkraken launcher icon
# download icon here: http://img.informer.com/icons_mac/png/128/422/422255.png
# or here: https://drive.google.com/file/d/0B-3KQ_ohu-RFVkJyS1Zfa2NLSVE/view
wget http://img.informer.com/icons_mac/png/128/422/422255.png -o gitkraken-icon.png
mv gitkraken-icon.png /opt/gitkraken/
cd /usr/share/applications
cat > gitkraken.desktop <<EOL
[Desktop Entry]
Name=GitKraken
Comment=Git Flow
Exec=/opt/gitkraken/gitkraken
Icon=/opt/gitkraken/gitkraken-icon.png
Terminal=false
Type=Application
Encoding=UTF-8
Categories=Utility;Development;
EOL
# save it, and voilá!
@mraspaud
Copy link

@MannyGrill I'm on RHEL 7, so maybe I'm off topic, in which case please tell me so! I also get the libcrypto error (previous versions of gitkraken were working fine). I tried both the tar.gz ubuntu 14 and ubuntu 18 version without luck.

Any more ideas ? Thanks for you help!

@MannyGrill
Copy link

@mraspaud, we are hopefully fixing this in v4.1.0 (I think CentOS 7 is having the same issue).

Rather than have 4 different builds of Linux we will be reverting back to 2 versions (one .tar.gz and one .deb). I will post here once we release v4.1.0 and please share if you run in to the libcrypto error.

@mraspaud
Copy link

mraspaud commented Nov 8, 2018

Thanks a lot @MannyGrill

@AlfonsoRReyes
Copy link

It is essential to install libgnome-keyring. Use:
sudo dnf install libgnome-keyring

And the symbolic link:
sudo ln -s /usr/lib64/libcurl.so.4 /opt/gitkraken/libcurl-gnutls.so.4

I have GitKraken running in Fedora 29.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment