title: 'gitk' installation is not working on Linux
body: <p>I have successfully Git installed and running.</p>
  <pre><code>git --version
  git version 2.6.1
  </code></pre>
  <p>I want to add <a href="https://git-scm.com/docs/gitk" rel="nofollow noreferrer">gitk</a> now. I entered the following command to install the gitk package, but it says no package available.</p>
  <p><code>sudo yum install git-gui gitk</code></p>
  <p>Returns</p>
  <pre><code>Loaded plugins: security
  Setting up Install Process
  No package git-gui available.
  No package gitk available.
  Nothing to do
  </code></pre>
  <p>After that, when I type <code>gitk</code> on the command line, it throws the following error.</p>
  <pre><code>Application initialization failed: Can't find a usable tk.tcl in the following directories:
      /usr/lib/tcl8.4/tk8.4 /usr/lib/tk8.4 /local/p4clients/pkgbuild-9867w/workspace/build/TclTk/TclTk-8.4.199.32504/RHEL5_64/DEV.STD.PTHREAD/build/private/tcl/install/lib/tk8.4 /lib/tk8.4 /usr/library /library /tk8.4.12/library
  This probably means that tk wasn't installed properly.
  
  Error in startup script: invalid command name &quot;tk_setPalette&quot;
      while executing
  &quot;tk_setPalette background $c selectColor $selc&quot;
      (procedure &quot;setui&quot; line 8)
      invoked from within
  &quot;setui $uicolor&quot;
  </code></pre>
  <p><strong>Note:</strong> I tried <code>apt-get</code>, but it’s not working in the system. In a post I found that <a href="https://en.wikipedia.org/wiki/Yum_(software)" rel="nofollow noreferrer">YUM</a> is the correct one for my system.</p>
  <p><em><a href="https://stackoverflow.com/questions/32592956/apt-get-command-not-found">Amazon Linux: apt-get: command not found</a></em></p>