Ubuntu_在Ubuntu下安装SVN工具RabbitVCS

安装java:

Java is a programming language and computing platform first released by Sun Microsystems in 1995. It is the underlying technology that powers state-of-the-art programs including utilities, games, and business applications. Java runs on more than 850 million personal computers worldwide, and on billions of devices worldwide, including mobile and TV devices.

Preparing your system

First you need to remove openjdk for this run the following command from your terminal

sudo apt-get purge openjdk*

If you installed java 7 from any other PPA and you are having problem with java then you have to do following steps before installing the PPA menctioned here

sudo rm /var/lib/dpkg/info/oracle-java7-installer* sudo apt-get purge oracle-java7-installer* sudo rm /etc/apt/sources.list.d/*java* sudo apt-get update

Install oracle java 7 in ubuntu 12.04

Open the terminal and run the following commands

sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java7-installer

You can check the java version by searching java in dashboard

1. 用管理员权限打开 /etc/apt/sources.list 文件,在最后添加下面一行 deb http://ppa.launchpad.net/rabbitvcs/ppa/ubuntu karmic main 2. 在命令行下运行: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 34EF4A35 sudo apt-get update sudo apt-get install rabbitvcs-cli rabbitvcs-core rabbitvcs-gedit rabbitvcs-nautilus rabbitvcs-thunar thunarx-python 安装完成 3. 切换到/home/username下, 创建工作目录svn, mkdir svn 4.logout或者重启机器,然后进入svn所在的目录,点击右键,在菜单中选择RabbitVCS SVN,然后checkout就OK了 方法二:

安装RabbitVCS的方法步骤如下:

1、sudo add-apt-repository ppa:rabbitvcs/ppa      #将rabbitvcs的添加到源里面。(次操作会提示是否要添加到源里面,点击ENTER添加,ctrl + c不添加)

2、sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 34EF4A35    #导入key  如果第一步自动导入了key的话这步可以不做

3、sudo apt-get update  #执行下更新

4、sudo apt-get install rabbitvcs-cli  rabbitvcs-core rabbitvcs-gedit rabbitvcs-nautilus rabbitvcs-thunar thunarx-python  #安装 如果报错:“破坏依赖关系之类的” 可以使用 新立得 进行安装。一个一个的安装,先安装rabbitvcs-core,再依次安装rabbitvcs-clirabbitvcs-gedit, rabbitvcs-thunar, thunarx-python, rabbitvcs-nautilus

5、安装成功之后,需要注销,然后重新登录 找到一个svn目录,看看是不是和windows一样有了带有icon的目录。

方法三:

sudo add-apt-repository ppa:rabbitvcs/ppa

sudo apt-get update

sudo apt-get install rabbitvcs-core rabbitvcs-nautilus3 rabbitvcs-gedit rabbitvcs-cli

than, 

killall nautilus

 

不满意的地方:在svn 1.7中由于只有根目录有一个.svn目录,在子目录中,rabbitvcs无法进行版本控制,只能在根目录进行操作。

 

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值