How to install Gitkraken on CentOS 7

How to install Gitkraken on CentOS 7

Gitkraken is a freemium, fully-featured, cross-platform Git desktop client. It integrates with GitHub, processes the Git commands very fastly. Some of the important features are that the user can rename the local branches of the Git and also allows to fix any typo mistakes when creating the local branches. This tutorial covers the installation procedure of Gitkraken on CentOS 7.

Installation procedure

To start with the installation procedure, install dnf using the yum command as follows.

[root@linuxhelp1 ~]# yum install dnf
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirror.nbrc.ac.in
 * epel: kartolo.sby.datautama.net.id
 * extras: centos-hcm.viettelidc.com.vn
 * updates: mirror.nbrc.ac.in
 * webtatic: sp.repo.webtatic.com
Resolving Dependencies
-->  Running transaction check
--->  Package dnf.noarch 0:0.6.4-2.el7 will be installed
.
.
.
Dependency Installed:
  dnf-conf.noarch 0:0.6.4-2.el7           hawkey.x86_64 0:0.6.3-4.el7         
  libcomps.x86_64 0:0.1.8-3.el7           librepo.x86_64 0:1.7.16-1.el7       
  libsolv.x86_64 0:0.6.20-5.el7           python-dnf.noarch 0:0.6.4-2.el7     
  python-librepo.x86_64 0:1.7.16-1.el7    python2-hawkey.x86_64 0:0.6.3-4.el7 
  python2-libcomps.x86_64 0:0.1.8-3.el7
Complete!

Then use the dnf to install libXscrnsave and execute the following command.

[root@linuxhelp1 ~]# dnf install libXScrnSaver
Extra Packages for E100% [====================] 901 kB/s | 4.2 MB     00:00 ETA
Extra Packages for Enterprise Linux 7 - x86_64  254 kB/s |  13 MB     00:52   
Webtatic Repository EL7 - x86_64                 87 kB/s | 187 kB     00:02   
CentOS-7 - Base                                 465 kB/s | 9.2 MB     00:20   
CentOS-7 - Updates                              504 kB/s | 9.7 MB     00:19   
CentOS-7 - Extras                               478 kB/s | 1.1 MB     00:02   
Using metadata from Thu Jul 27 14:49:13 2017
Dependencies resolved.
.
.
.
Running transaction
  Installing  : libXScrnSaver-1.2.2-6.1.el7.x86_64                          1/1
  Verifying   : libXScrnSaver-1.2.2-6.1.el7.x86_64                          1/1
Installed:
  libXScrnSaver.x86_64 1.2.2-6.1.el7                                           

Complete!

Execute the dnf check-update and dnf upgrade commands.

[root@linuxhelp1 ~]# dnf check-update & &  dnf upgrade
Using metadata from Thu Jul 27 14:49:13 2017
NetworkManager.x86_64                       1:1.4.0-20.el7_3             updates
NetworkManager-adsl.x86_64                  1:1.4.0-20.el7_3             updates
NetworkManager-glib.x86_64                  1:1.4.0-20.el7_3             updates
NetworkManager-libnm.x86_64                 1:1.4.0-20.el7_3             updates
NetworkManager-team.x86_64                  1:1.4.0-20.el7_3             updates
NetworkManager-tui.x86_64                   1:1.4.0-20.el7_3             updates
NetworkManager-wifi.x86_64                  1:1.4.0-20.el7_3             updates
.
.
.
systemd-libs.x86_64                         219-30.el7_3.9               updates
systemd-python.x86_64                       219-30.el7_3.9               updates
systemd-sysv.x86_64                         219-30.el7_3.9               updates
tuned.noarch                                2.7.1-3.el7_3.2              updates
xfsprogs.x86_64                             4.5.0-10.el7_3               updates

Now you can dowload the Gitkraken package from its official website using the wget command followed by the download link.

[root@linuxhelp1 ~]# wget https://release.gitkraken.com/linux/gitkraken-amd64.tar.gz
--2017-07-27 14:52:59--  https://release.gitkraken.com/linux/gitkraken-amd64.tar.gz
Resolving release.gitkraken.com (release.gitkraken.com)... 66.155.58.106
Connecting to release.gitkraken.com (release.gitkraken.com)|66.155.58.106|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 70978514 (68M) [application/octet-stream]
Saving to: ‘ gitkraken-amd64.tar.gz’ 
100%[======================================> ] 7,09,78,514  483KB/s   in 4m 11s

Extract the downloaded file by running the tar command.

[root@linuxhelp1 ~]# tar -xvzf gitkraken-amd64.tar.gz
gitkraken/
gitkraken/LICENSE
gitkraken/LICENSES.chromium.html
gitkraken/content_shell.pak
gitkraken/icudtl.dat
gitkraken/libffmpeg.so
gitkraken/libnode.so
gitkraken/locales/
gitkraken/locales/am.pak
gitkraken/locales/ar.pak
.
.
.
gitkraken/locales/bg.pak
gitkraken/locales/bn.pak

Enter into the Gitkraken directory by using the cd command.

root@linuxhelp1 ~]# cd /opt/GitKraken

Execute the Gitkraken application from the terminal by executing the following command.

[root@linuxhelp1 GitKraken]# ./gitkraken
Node started time: 1501147757362
state:  update-not-available
EVENT: Main process loaded at 7217 ms
state:  checking-for-update
state:  update-not-available
state:  checking-for-update
EVENT: Starting initial render of foreground window at 23010 ms
state:  update-not-available
EVENT: Startup triggers started at 23485 ms

The Gitkraken is installed successfully in your system. The welcome page of the Gitkraken is shown below.

Create the login credentials and confirm password to login to Gitkraken.

The installation procedure of Gitkraken is complete. Gitkraken was built to ensure the understanding between the user and the Git client with intitutive User Interfaces.

Tag : CentOS Git
Comment
parthiban
Aug 27 2018
Try the following command to fix the problem ln -s /usr/lib64/libcurl.so.4 /usr/lib64/libcurl-gnutls.so.4
wilberh
Jul 08 2018
getting error "libcurl-gnutls.so.4: cannot open shared object file: No such file or directory"
Add a comment
FAQ
Q
How can I use multiple GitHub / Bitbucket accounts with GitKraken?
A
By default, GitKraken connects to one GitHub account (or one Bitbucket account) at a time. However, with GitKraken Pro‘s multiple profile support, you can easily switch between profiles that each have their own associated GitHub and BitBucket accounts.
Q
Does GitKraken support GPG signing?
A
GitKraken does not currently support signing commits.
Q
Does GitKraken support GitLab?
A
Yes, GitKraken integrates perfectly with GitLab.
Q
Does GitKraken support Bitbucket Server?
A
Yes, you can use Bitbucket Server with GitKraken! You will need to clone your repo File Clone Repo and then enter the repository URL (which can be found at the top-right of your Bitbucket Se
Q
Does GitKraken support Git LFS?
A
Yes, GitKraken supports Git Large File Storage (LFS).