-
-
Save seangtkelley/d64199d9d0dcafab2ea6e80f41527bc9 to your computer and use it in GitHub Desktop.
Install Script for Gitkraken on Fedora 27 + Launcher Icon
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Enter /opt folder (common folder for user installed programs) | |
# This script assumes you have proper permissions on /opt | |
cd /opt | |
# Download GitKraken | |
wget https://release.gitkraken.com/linux/gitkraken-amd64.tar.gz | |
# Extract the Kraken into /opt directory | |
tar -xvzf gitkraken-amd64.tar.gz | |
# Remove tar.gz | |
rm gitkraken-amd64.tar.gz | |
# Add gitkraken to PATH | |
echo "export PATH=\$PATH:/opt/gitkraken" >> ~/.bashrc | |
source ~/.bashrc | |
# Download gitkraken launcher icon | |
wget http://img.informer.com/icons_mac/png/128/422/422255.png | |
mv 422255.png ./gitkraken/icon.png | |
# Create desktop entry | |
sudo touch /usr/share/applications/gitkraken.desktop | |
# copy the following contents into gitkraken.desktop file: | |
echo " | |
[Desktop Entry] | |
Name=GitKraken | |
Comment=Git Flow | |
Exec=/opt/gitkraken/gitkraken | |
Icon=/opt/gitkraken/icon.png | |
Terminal=false | |
Type=Application | |
Encoding=UTF-8 | |
Categories=Utility;Development;" | sudo tee -a /usr/share/applications/gitkraken.desktop >/dev/null |
no, this command for 27+
sudo ln -s /usr/lib64/libcurl.so.4 /usr/lib64/libcurl-gnutls.so.4
I did it this way:
cd /opt/gitkraken
ln -s /usr/lib64/libcurl.so.4 libcurl.so.4
ln -s /usr/lib64/libcurl.so.4 /usr/lib64/libcurl-gnutls.so.4
Thanks for the script.
I also needed to install libgnome-keyring before GitKraken would run on Fedora 27. Thanks for the script!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a great step by step, just add this step to run ok:
on Fedora 27 is necessary create a link to libcurl.so.4 under gitkraken folder:
cd /opt/gitkraken
ln -s /usr/lib64/libcurl.so.4 libcurl-gnutls.so.4