Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
How to install gitkraken on Fedora 25 + 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/gitkraken
cd /opt
# Extract the Kraken into /opt directory
tar -xvzf gitkraken-amd64.tar.gz
# Add gitkraken to PATH
echo "export PATH=\$PATH:/opt/gitkraken" >> ~/.bashrc
source ~/.bashrc
# 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
cp {your-image}.png /opt/gitkraken/
cd /usr/share/applications
touch gitkraken.desktop
vim gitkraken.desktop
# copy the following contents into gitkraken.desktop file:
[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;
# save it, and voilá!
@skovmand

This comment has been minimized.

Show comment Hide comment
@skovmand

skovmand Jun 26, 2017

Thanks!

Thanks!

@miguel4ngelc

This comment has been minimized.

Show comment Hide comment
@miguel4ngelc

miguel4ngelc Jun 28, 2017

Great!!! 👍

Great!!! 👍

@t0dd

This comment has been minimized.

Show comment Hide comment
@t0dd

t0dd Aug 19, 2017

Thanks! Works for Fedora 26 as well.

t0dd commented Aug 19, 2017

Thanks! Works for Fedora 26 as well.

@mackhy

This comment has been minimized.

Show comment Hide comment
@mackhy

mackhy Aug 24, 2017

So far so Good Thanks

mackhy commented Aug 24, 2017

So far so Good Thanks

@cvsguimaraes

This comment has been minimized.

Show comment Hide comment
@cvsguimaraes

cvsguimaraes Sep 3, 2017

Thanks for sharing!
I've put an automated version on my fork 👍

Thanks for sharing!
I've put an automated version on my fork 👍

@mjudeikis

This comment has been minimized.

Show comment Hide comment
@mjudeikis

mjudeikis Sep 8, 2017

cp gitkraken-amd64.tar.gz /opt/ as you copy it to nonexisting folder and ending up with /opt/gitkraken/gitkraken/
makes "blind copy" broken :D
and maybe add wget image.png -o icon.png and echo to .deskptop :)

#lazyscripts

Thanks!!!

cp gitkraken-amd64.tar.gz /opt/ as you copy it to nonexisting folder and ending up with /opt/gitkraken/gitkraken/
makes "blind copy" broken :D
and maybe add wget image.png -o icon.png and echo to .deskptop :)

#lazyscripts

Thanks!!!

@ruffson

This comment has been minimized.

Show comment Hide comment
@ruffson

ruffson Sep 19, 2017

On the current version I get the error libcurl-gnutls.so.4: cannot open shared object file: No such file or directory. Now for Ubuntu there is a package but for Fedora I cannot find anything providing the missing file. Anyone can help? I am on F26.

ruffson commented Sep 19, 2017

On the current version I get the error libcurl-gnutls.so.4: cannot open shared object file: No such file or directory. Now for Ubuntu there is a package but for Fedora I cannot find anything providing the missing file. Anyone can help? I am on F26.

@rurikhero

This comment has been minimized.

Show comment Hide comment
@rurikhero

rurikhero Sep 22, 2017

@ruffson use this command, sudo ln -s /usr/lib64/libcurl.so.4 /usr/lib64/libcurl-gnutls.so.4
GitKraken How To Install

@ruffson use this command, sudo ln -s /usr/lib64/libcurl.so.4 /usr/lib64/libcurl-gnutls.so.4
GitKraken How To Install

@fiskindal

This comment has been minimized.

Show comment Hide comment
@fiskindal

fiskindal Sep 23, 2017

[developersailor@dhcppc8 Masaüstü]$ gitkraken
Gtk-Message: Failed to load module "unity-gtk-module"
Node started time: 1506168154656
libcurl-gnutls.so.4: cannot open shared object file: No such file or directory
Error: libcurl-gnutls.so.4: cannot open shared object file: No such file or directory
at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:173:20)
at Object.Module._extensions..node (module.js:598:18)
at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:187:18)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object. (/opt/gitkraken/resources/app.asar/node_modules/nodegit/dist/nodegit.js:11:12)
at Object. (/opt/gitkraken/resources/app.asar/node_modules/nodegit/dist/nodegit.js:1025:3)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object. (/opt/gitkraken/resources/app.asar/src/appBootstrap/upgradeScripts/versionScripts/v1_5_0.js:7:17)
at Object. (/opt/gitkraken/resources/app.asar/src/appBootstrap/upgradeScripts/versionScripts/v1_5_0.js:298:3)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object. (/opt/gitkraken/resources/app.asar/src/appBootstrap/upgradeScripts/versionScripts/index.js:5:28)
at Object. (/opt/gitkraken/resources/app.asar/src/appBootstrap/upgradeScripts/versionScripts/index.js:14:3)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object. (/opt/gitkraken/resources/app.asar/src/appBootstrap/upgradeScripts/index.js:7:24)
at Object. (/opt/gitkraken/resources/app.asar/src/appBootstrap/upgradeScripts/index.js:43:3)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at App.module.exports.app.on (/opt/gitkraken/resources/app.asar/src/appBootstrap/main.js:174:5)
at emitTwo (events.js:111:20)
at App.emit (events.js:191:7)

[developersailor@dhcppc8 Masaüstü]$ gitkraken
Gtk-Message: Failed to load module "unity-gtk-module"
Node started time: 1506168154656
libcurl-gnutls.so.4: cannot open shared object file: No such file or directory
Error: libcurl-gnutls.so.4: cannot open shared object file: No such file or directory
at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:173:20)
at Object.Module._extensions..node (module.js:598:18)
at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:187:18)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object. (/opt/gitkraken/resources/app.asar/node_modules/nodegit/dist/nodegit.js:11:12)
at Object. (/opt/gitkraken/resources/app.asar/node_modules/nodegit/dist/nodegit.js:1025:3)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object. (/opt/gitkraken/resources/app.asar/src/appBootstrap/upgradeScripts/versionScripts/v1_5_0.js:7:17)
at Object. (/opt/gitkraken/resources/app.asar/src/appBootstrap/upgradeScripts/versionScripts/v1_5_0.js:298:3)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object. (/opt/gitkraken/resources/app.asar/src/appBootstrap/upgradeScripts/versionScripts/index.js:5:28)
at Object. (/opt/gitkraken/resources/app.asar/src/appBootstrap/upgradeScripts/versionScripts/index.js:14:3)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object. (/opt/gitkraken/resources/app.asar/src/appBootstrap/upgradeScripts/index.js:7:24)
at Object. (/opt/gitkraken/resources/app.asar/src/appBootstrap/upgradeScripts/index.js:43:3)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at App.module.exports.app.on (/opt/gitkraken/resources/app.asar/src/appBootstrap/main.js:174:5)
at emitTwo (events.js:111:20)
at App.emit (events.js:191:7)

@ruffson

This comment has been minimized.

Show comment Hide comment
@ruffson

ruffson Sep 25, 2017

@rurikhero That worked, thank you so much!

ruffson commented Sep 25, 2017

@rurikhero That worked, thank you so much!

@kreamweb

This comment has been minimized.

Show comment Hide comment
@kreamweb

kreamweb Oct 5, 2017

Thank you!!

kreamweb commented Oct 5, 2017

Thank you!!

@Cryptophobia

This comment has been minimized.

Show comment Hide comment
@Cryptophobia

Cryptophobia Oct 10, 2017

If anybody gets this error on Fedora 25 when trying to open Gitkraken:

libcurl-gnutls.so.4: cannot open shared object file: No such file or directory
Error: libcurl-gnutls.so.4: cannot open shared object file: No such file or directory

You need to create a symlink to curl library inside the /opt/gitkraken directory:

sudo ln -s /usr/lib64/libcurl.so.4 /opt/gitkraken/libcurl-gnutls.so.4

If anybody gets this error on Fedora 25 when trying to open Gitkraken:

libcurl-gnutls.so.4: cannot open shared object file: No such file or directory
Error: libcurl-gnutls.so.4: cannot open shared object file: No such file or directory

You need to create a symlink to curl library inside the /opt/gitkraken directory:

sudo ln -s /usr/lib64/libcurl.so.4 /opt/gitkraken/libcurl-gnutls.so.4
@orlandoaleman

This comment has been minimized.

Show comment Hide comment
@orlandoaleman

orlandoaleman Oct 13, 2017

@Cryptophobia I owe you a coffee! Thanks

@Cryptophobia I owe you a coffee! Thanks

@linusdan

This comment has been minimized.

Show comment Hide comment
@linusdan

linusdan Nov 21, 2017

It works on fedora 27! Thanks!!!

It works on fedora 27! Thanks!!!

@viguirilo

This comment has been minimized.

Show comment Hide comment
@viguirilo

viguirilo Dec 18, 2017

It works on Fedora 27 too! Thanks!!!

It works on Fedora 27 too! Thanks!!!

@adovbos

This comment has been minimized.

Show comment Hide comment
@adovbos

adovbos Feb 16, 2018

+1 Fedora 27!!! Gratz!

adovbos commented Feb 16, 2018

+1 Fedora 27!!! Gratz!

@Wolpres

This comment has been minimized.

Show comment Hide comment
@Wolpres

Wolpres Feb 27, 2018

THANKS SOO MUCH!!!
Fedora 27

Wolpres commented Feb 27, 2018

THANKS SOO MUCH!!!
Fedora 27

@CristianoVitorino

This comment has been minimized.

Show comment Hide comment
@CristianoVitorino

CristianoVitorino Mar 12, 2018

Thank you very much! Fedora 27. Also adapted this to Wire App, worked as a charm!.

Thank you very much! Fedora 27. Also adapted this to Wire App, worked as a charm!.

@vitorbritto

This comment has been minimized.

Show comment Hide comment
@vitorbritto

vitorbritto Apr 6, 2018

Thanks! =]

Thanks! =]

@Thialyson

This comment has been minimized.

Show comment Hide comment
@Thialyson

Thialyson Apr 9, 2018

valeu!

valeu!

@SMadani

This comment has been minimized.

Show comment Hide comment
@SMadani

SMadani May 24, 2018

Not working on Fedora 28. Can't install libcurl3 either.

SMadani commented May 24, 2018

Not working on Fedora 28. Can't install libcurl3 either.

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