机器人 救救瓜
Toggle navigation
Home
SCM-tool
Linux
Jenkins
SVN
other
About Me
Archives
Tags
gitk
? gitlab ?
2019-01-11 16:21:47
1173
0
0
gua_l
? gitlab ?
redhat 安装 git 图形化工具 gitk ``` yum install gitk ##安装过程yum 会自动检测依赖的软件是否安装及版本是否匹配,并进行依赖安装或升级 ``` Dependencies Resolved | Package | Arch | Version | Repository | Size |-----------------------------|-------------------------|-------------------------------|--------------------------|----------------- |Installing: | | | | | gitk | noarch | 1.8.3.1-14.el7_5 | updates | 150 k |Installing for dependencies: | | | | | tk | x86_64 | 1:8.5.13-6.el7 | base | 1.4 M |Updating for dependencies: | | | | | git | x86_64 | 1.8.3.1-14.el7_5 | updates | 4.4 M | perl-Git | noarch | 1.8.3.1-14.el7_5 | updates | 54 k | tcl | x86_64 | 1:8.5.13-8.el7 | base | 1.9 M 由上可见,gitk 需要tk/git/perl-git/tcl的支持。 ``` #调用 gitk ``` 如果报错找不到display变量(实际有设置),需要重开一下终端或重新login(使用xshell打开终端),再执行gitk便可以调用linux 上的图形界面窗口 ``` Application initialization failed: no display name and no $DISPLAY environment variable Error in startup script: no display name and no $DISPLAY environment variable while executing "load /usr/lib64/tk8.5/../libtk8.5.so Tk" ("package ifneeded Tk 8.5.13" script) invoked from within "package require Tk" (file "/usr/bin/gitk" line 10) ``` 如果找到没有配置变量,则配置完DISPLAY 变量之下重新连接便可打开 ```gitk``` ![图片标题](https://leanote.com/api/file/getImage?fileId=60938b15ab6441404b0027d9)
Pre:
git 常用操作
Next:
docker + k8s --学习笔记及摘抄
0
likes
1173
Weibo
Wechat
Tencent Weibo
QQ Zone
RenRen
Submit
Sign in
to leave a comment.
No Leanote account?
Sign up now.
0
comments
More...
Table of content
No Leanote account? Sign up now.