1. sudo add-apt-repository ppa:rabbitvcs/ppa
上面的地址在http://wiki.rabbitvcs.org/wiki/download 下 点击ubuntu可以找到
2. 打开/etc/apt/sources.list 文件 添加 deb http://ppa.launchpad.net/rabbitvcs/ppa/ubuntu karmic main这句话
3. sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 34EF4A35 (实际上这一步可以省略)
4. sudo apt-get update
5. sudo apt-get install rabbitvcs-cli rabbitvcs-core rabbitvcs-gedit rabbitvcs-nautilus rabbitvcs-thunar
thunarx-python
6.重启电脑 放到文件上右键就可以看到和windows一样的查看版本了!
备注:不需要重启电脑,在terminal中执行命令nautilus -q重启Nautilus就可以使用rabbitvcs了。
备注:
实际安装到第5步时,提示错误:
[email protected]:~/startech_pdu/fw/dir-struct$ sudo apt-get install rabbitvcs-cli rabbitvcs-core rabbitvcs-gedit rabbitvcs-nautilus rabbitvcs-thunar thunarx-python
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
rabbitvcs-nautilus : Depends: nautilus (< 1:3.0~) but 1:3.2.1-0ubuntu4.2 is to be installed
Depends: python-nautilus (< 1.0~) but 1.0-0ubuntu2 is to be installed
E: Unable to correct problems, you have held broken packages.
[email protected]:~/startech_pdu/fw/dir-struct$
经过google搜索,发现有人遇到过这样的问题,且已有解决方案了:http://groups.google.com/group/rabbitvcs-activity/browse_thread/thread/eb73a94c6b4c84f5
解决方案就是将rabbitvcs-nautilus改为rabbitvcs-nautilus3。
判别系统使用nautilus还是使用nautilus3的方法是,随便打开一个文件夹,查看help中的About;
本人所用系统为ubuntu 14.04,查看help中About的结果是:Nautilus 3.2.1;