Created
August 9, 2016 09:28
-
-
Save pythoninthegrass/8adf67329922bbfca606523eb807c6bb to your computer and use it in GitHub Desktop.
Install GitKraken on Fedora 24
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 | |
# 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 |
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/
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
I also get
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1178) [sender=3.1.2]