Skip to content

Instantly share code, notes, and snippets.

@pythoninthegrass
Created August 9, 2016 09:28
Show Gist options
  • Star 9 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save pythoninthegrass/8adf67329922bbfca606523eb807c6bb to your computer and use it in GitHub Desktop.
Save pythoninthegrass/8adf67329922bbfca606523eb807c6bb to your computer and use it in GitHub Desktop.
Install GitKraken on Fedora 24
#!/bin/bash
# Download GitKraken
wget https://release.gitkraken.com/linux/gitkraken-amd64.tar.gz
# Extract the Kraken
tar -xvzf gitkraken-amd64.tar.gz
# Move the Kraken
sudo rsync -va --delete-after GitKraken/ /opt/GitKraken/
# Add the Kraken to PATH
echo "export PATH=\$PATH:/opt/GitKraken" >> ~/.bashrc
source ~/.bashrc
## Cinnamon Menu
# Right click Menu > Configure... > Open the menu editor > Applications
# Programming > New Item
# Name: GitKraken
# Command: /opt/GitKraken/gitkraken %U
# Select a suitable icon (e.g., Numix-Circle under /usr/share/icons/Numix-Circle/scalable/apps)
# OK
@kcmazie
Copy link

kcmazie commented Sep 29, 2017

It's not working because the folder created by the tar extract is all lower case.

Change this:

# Move the Kraken
sudo rsync -va --delete-after GitKraken/ /opt/GitKraken/

To this:

# Move the Kraken
sudo rsync -va --delete-after gitkraken/ /opt/GitKraken/

@NeftaliAcosta
Copy link

Not work in centos 7 ¿Why? :(

[root@localhost Descargas]# /opt/GitKraken/gitkraken %U
Node started time: 1543786930722
libcrypto.so.1.0.0: no se puede abrir el fichero del objeto compartido: No existe el fichero o el directorio
Error: libcrypto.so.1.0.0: no se puede abrir el fichero del objeto compartido: No existe el fichero o el directorio
    at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:166:20)
    at Object.Module._extensions..node (module.js:671:18)
    at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:180:18)
    at Module.load (module.js:561:32)
    at tryModuleLoad (module.js:504:12)
    at Function.Module._load (module.js:496:3)
    at Module.require (module.js:586:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/opt/GitKraken/resources/app.asar/node_modules/nodegit/dist/nodegit.js:12:12)
    at Object.<anonymous> (/opt/GitKraken/resources/app.asar/node_modules/nodegit/dist/nodegit.js:1145:3)

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