Ubuntu: Can't install GitKraken



Question:

I just installed GitKraken (A Git GUI) by downloading it from the website. When I try to install it via 'Discover Center', it doesn't work. So I found somewhere online the command dpkg -i [filename], used it on the gitkraken .deb, andddd MAGIC! It works!

I then tried to run GitKraken (by typing in gitkraken in the terminal), and that gave me this beautiful error:

Node started time: 1489531028950  libcurl.so.4: cannot open shared object file: No such file or directory  Error: libcurl.so.4: cannot open shared object file: No such file or directory      at Error (native)      at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:158:20)      at Object.Module._extensions..node (module.js:568:18)      at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:169:18)      at Module.load (module.js:456:32)      at tryModuleLoad (module.js:415:12)      at Function.Module._load (module.js:407:3)      at Module.require (module.js:466:17)      at require (internal/module.js:20:19)      at Object.<anonymous> (/usr/share/gitkraken/resources/app.asar/node_modules/nodegit/dist/nodegit.js:11:12)      at Module._compile (module.js:541:32)      at Object.Module._extensions..js (module.js:550:10)      at Module.load (module.js:456:32)      at tryModuleLoad (module.js:415:12)      at Function.Module._load (module.js:407:3)      at Module.require (module.js:466:17)      at require (internal/module.js:20:19)      at Object.<anonymous> (/usr/share/gitkraken/resources/app.asar/src/appBootstrap/upgradeScripts/versionScripts/v1_5_0.js:7:17)      at Module._compile (module.js:541:32)      at Object.Module._extensions..js (module.js:550:10)      at Module.load (module.js:456:32)      at tryModuleLoad (module.js:415:12)      at Function.Module._load (module.js:407:3)      at Module.require (module.js:466:17)      at require (internal/module.js:20:19)      at Object.<anonymous> (/usr/share/gitkraken/resources/app.asar/src/appBootstrap/upgradeScripts/versionScripts/index.js:5:28)      at Module._compile (module.js:541:32)      at Object.Module._extensions..js (module.js:550:10)      at Module.load (module.js:456:32)      at tryModuleLoad (module.js:415:12)      at Function.Module._load (module.js:407:3)      at Module.require (module.js:466:17)      at require (internal/module.js:20:19)      at Object.<anonymous> (/usr/share/gitkraken/resources/app.asar/src/appBootstrap/upgradeScripts/index.js:7:24)      at Module._compile (module.js:541:32)      at Object.Module._extensions..js (module.js:550:10)      at Module.load (module.js:456:32)      at tryModuleLoad (module.js:415:12)      at Function.Module._load (module.js:407:3)      at Module.require (module.js:466:17)      at require (internal/module.js:20:19)      at EventEmitter.module.exports.app.on (/usr/share/gitkraken/resources/app.asar/src/appBootstrap/main.js:146:5)      at emitOne (events.js:101:20)      at EventEmitter.emit (events.js:188:7)  

Any help would be GREATLY appreciated.


Solution:1

In terminal...

  • sudo apt-get update
  • sudo apt-get install curl libcurl3

Now your app should work.


Solution:2

I installed libgnome-keyring-common and libgnome-keyring-dev on ubuntu 16.04 which solved it for me:

sudo apt install libgnome-keyring-common libgnome-keyring-dev   

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »