[LINUX] How to install Git GUI and Gitk on CentOS

--Environment - CentOS Linux release 7.7.1908 (Core) - git version 1.8.3.1

Check if you have Git GUI and Gitk.

If you install Git, you will also get its visual tools, gitk and git-gui. Git --gitk and git-gui | git Tutorial

I have Git installed, so I'll check it.

#Absent?
$ git gui
git: 'gui' is not a git command. See 'git --help'.

Did you mean one of these?
    gc
    grep
    init
    pull
    push

#Absent
$ gitk
/usr/local/bin/gitk: line 3: exec: wish: not found

Install Git GUI and Gitk

$ sudo yum install git-gui gitk
...abridgement...
============================================================================================================================================================================================
 Package                                     Arch                                       Version                                              Repository                                Size
============================================================================================================================================================================================
Installing:
 git-gui                                     noarch                                     1.8.3.1-20.el7                                       base                                     238 k
 gitk                                        noarch                                     1.8.3.1-20.el7                                       base                                     151 k
Installing for dependencies:
 tcl                                         x86_64                                     1:8.5.13-8.el7                                       base                                     1.9 M
 tk                                          x86_64                                     1:8.5.13-6.el7                                       base                                     1.4 M

Transaction Summary
============================================================================================================================================================================================
Install  2 Packages (+2 Dependent packages)

Total download size: 3.7 M
Installed size: 9.5 M
Is this ok [y/d/N]: y
Downloading packages:
(1/4): git-gui-1.8.3.1-20.el7.noarch.rpm                                                                                                                             | 238 kB  00:00:00     
(2/4): gitk-1.8.3.1-20.el7.noarch.rpm                                                                                                                                | 151 kB  00:00:00     
(3/4): tk-8.5.13-6.el7.x86_64.rpm                                                                                                                                    | 1.4 MB  00:00:00     
(4/4): tcl-8.5.13-8.el7.x86_64.rpm                                                                                                                                   | 1.9 MB  00:00:00     
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                        14 MB/s | 3.7 MB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : 1:tcl-8.5.13-8.el7.x86_64                                                                                                                                                1/4 
  Installing : 1:tk-8.5.13-6.el7.x86_64                                                                                                                                                 2/4 
  Installing : gitk-1.8.3.1-20.el7.noarch                                                                                                                                               3/4 
  Installing : git-gui-1.8.3.1-20.el7.noarch                                                                                                                                            4/4 
  Verifying  : git-gui-1.8.3.1-20.el7.noarch                                                                                                                                            1/4 
  Verifying  : gitk-1.8.3.1-20.el7.noarch                                                                                                                                               2/4 
  Verifying  : 1:tcl-8.5.13-8.el7.x86_64                                                                                                                                                3/4 
  Verifying  : 1:tk-8.5.13-6.el7.x86_64                                                                                                                                                 4/4 

Installed:
  git-gui.noarch 0:1.8.3.1-20.el7                                                                gitk.noarch 0:1.8.3.1-20.el7                                                               

Dependency Installed:
  tcl.x86_64 1:8.5.13-8.el7                                                                     tk.x86_64 1:8.5.13-6.el7                                                                    

Complete!

Try to start

In a directory where you haven't cloned the repository When I hit the git gui command, a dialog was displayed. image.png When I hit the gitk command, I got the message" There is no git repository here. " image.png

In the directory where you are cloning the repository When I typed the git gui command, a dialog with repository information was displayed. When I hit the gitk command, the repository history viewer was displayed.

Recommended Posts

How to install Git GUI and Gitk on CentOS
How to install PyPy on CentOS
How to install TensorFlow on CentOS 7
How to install Maven on CentOS
How to install Apache (httpd) on CentOS7
How to install Eclipse GlassFish 5.1.0 on CentOS 7
How to install Apache (httpd) on CentOS8
How to install git on Linux such as EC2
Steps to install MySQL 8.0 on CentOS 8.1
How to install mysql-connector-python on mac
How to install and use Tesseract-OCR
Steps to install VirtualBox on CentOS
How to install graph-tool on macOS
How to install VMware-Tools on Linux
How to install pycrypto on Windows
How to install OpenCV on Mac
How to install and configure blackbird
How to install CUDA and nvidia-driver
How to install and use Graphviz
How to install Go on Ubuntu
How to install music 21 on windows
How to install OpenCV on Cloud9 and run it in Python
How to install aws-session-manager-plugin on Manajro Linux
How to install drobertadams / toggl-cli on Mac
How to install and use pandas_datareader [Python]
[Kivy] How to install Kivy on Windows [Python]
How to install pandas on EC2 (How to deal with MemoryError and PermissionError)
How to install packages on Alpine Linux
How to install Anisble on Amazon Linux 2
How to switch mouse operations on CentOS
How to install richzhang / colorization on Windows 10
How to update security on CentOS Linux 8
How to install php7.4 on Linux (Ubuntu)
How to install NumPy on Raspberry Pi
How to install fabric and basic usage
How to install cx_Oracle on macOS Sierra
Install pyenv and rbenv on CentOS system-wide
How to install python3 with docker centos
[2020 version] How to install Python3 on AWS EC2
How to quickly install h5py on Windows 10 [Unofficial]
How to install OpenGM on OSX with macports
How to install Camunda Modeler on Manjaro Linux
[Python] How to install OpenCV on Anaconda [Windows]
How to install Cascade detector and how to use it
How to install / verify graphviz on anaconda / windows10
Install Faiss on CentOS 7
How to install Python
How to install pip
How to install archlinux
Install numba on CentOS 7.2
How to install python
Install Python3.4 on CentOS 6.6
How to install BayesOpt
Install mecab-python on CentOS
Install Python 2.7.3 on CentOS 5.4
How to install Nbextensions
How to install Prover9
Install awscli on centos7
Install Chainer on CentOS 6.7
How to install Fast.ai on Alibaba Cloud GPU and run it on Jupyter notebook
How to install Linux on a 32bit UEFI PC