红联Linux门户
Linux帮助

Ubuntu 14.04如何安装可视化SVN

发布时间:2015-06-04 10:56:41来源:linux网站作者:lcss

Ubuntu 14.04下安装可视化SVN过程笔记。


首先打开终端

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步时,提示错误:

linux@linux:~/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.
linux@linux:~/startech_pdu/fw/dir-struct$


经过搜索,发现有人遇到过这样的问题,且已有解决方案了: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;


Ubuntu 14.04快速搭建SVN服务器及日常使用:http://www.linuxdiyf.com/linux/12252.html

Ubuntu 14.0.4系统下SVN的安装与配置:http://www.linuxdiyf.com/linux/10445.html

Ubuntu 14.04下搭建SVN服务器svn://:http://www.linuxdiyf.com/linux/10214.html

Ubuntu 12.04 64位上搭建SVN服务器:http://www.linuxdiyf.com/linux/10650.html

Ubuntu下安装可视化SVN客户端Rabbitvcs:http://www.linuxdiyf.com/linux/6347.html