git gui and gitk not present after installing git

╄→гoц情女王★ 提交于 2019-12-02 16:36:37
sudo apt-get install git-gui gitk
sudo apt-get install git-gui gitk

After installing it, it's very probable that no menu item appears in your desktop or menues. To open them, open Terminal (usually, Ctrl+T) and type

git gui

or

gitk

When u get error during installing git gui as below: sudo apt-get install git-gui Reading package lists... Done Building dependency tree
Reading state information... Done Package git-gui is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

E: Package 'git-gui' has no installation candidate

Try this command as 1. sudo apt-get install update 2. sudo apt-get install git-gui Then it worked.

you can do install all git functions using command:

sudo apt-get install git-core git-gui git-doc

To install git-gui type this command:

sudo apt-get install git-gui

Then to open git-gui type:

git citool

jlmontes

For a centos system you can use the following command:

sudo yum install git-gui gitk

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!