Ubuntu下SVN的安装及使用方法
2017-04-13 16:39
316 查看
一、前言
ubuntu下有两个svn客户端:1.svn。2.Rapidsvn。二、svn的安装方式
安装svn很简单,只需要输入命令即可安装:sudo apt-get install subversion
网上有一种方式是自己编译的,我试过,很容易报错,说是缺openssl
topeet@ubuntu:~/soft/subversion-1.6.12$ sudo apt-get install subversion [sudo] password for topeet: Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: subversion-tools db4.8-util The following NEW packages will be installed: subversion 0 upgraded, 1 newly installed, 0 to remove and 542 not upgraded. Need to get 296 kB of archives. After this operation, 1,225 kB of additional disk space will be used. Get:1 http://mirrors.163.com/ubuntu/ precise-updates/main subversion amd64 1.6.17dfsg-3ubuntu3.5 [296 kB] Fetched 296 kB in 0s (829 kB/s) Selecting previously unselected package subversion. (Reading database ... 167946 files and directories currently installed.) Unpacking subversion (from .../subversion_1.6.17dfsg-3ubuntu3.5_amd64.deb) ... Processing triggers for man-db ... Setting up subversion (1.6.17dfsg-3ubuntu3.5) ... topeet@ubuntu:~/soft/subversion-1.6.12$ ls aclocal.m4 BUGS CHANGES config.log contrib gen-make.py neon serf TRANSLATING apr build COMMITTERS config.nice COPYING HACKING notes sqlite-amalgamation win-tests.py apr-util build.conf confdefs.h configure doc INSTALL packages subversion www autogen.sh build-outputs.mk config.cache configure.ac gen-make.opts Makefile.in README tools zlib topeet@ubuntu:~/soft/subversion-1.6.12$ svn Type 'svn help' for usage. topeet@ubuntu:~/soft/subversion-1.6.12$ svn help usage: svn <subcommand> [options] [args] Subversion command-line client, version 1.6.17. Type 'svn help <subcommand>' for help on a specific subcommand. Type 'svn --version' to see the program version and RA modules or 'svn --version --quiet' to see just the version number. Most subcommands take file and/or directory arguments, recursing on the directories. If no arguments are supplied to such a command, it recurses on the current directory (inclusive) by default. Available subcommands: add blame (praise, annotate, ann) cat changelist (cl) checkout (co) cleanup commit (ci) copy (cp) delete (del, remove, rm) diff (di) export help (?, h) import info list (ls) lock log merge mergeinfo mkdir move (mv, rename, ren) propdel (pdel, pd) propedit (pedit, pe) propget (pget, pg) proplist (plist, pl) propset (pset, ps) resolve resolved revert status (stat, st) switch (sw) unlock update (up) Subversion is a tool for version control. For additional information, see http://subversion.tigris.org/[/code]三、RapidSvn的安装方式
1.直接在UBUNTU的软件中心输入rapidsvn即可下载四、RapidSvn的配置方式
RapidSVN 默认配置下并没有配置 diff 与 edit 工具,所以,如果你需要打开某个文件或是 diff 某个文件,都需要自己配置相应工具的路径。
在 Ubuntu 等机器上,可以这样设置:点击菜单栏 ==> ‘View/Preferences…’ 来设置参数,在 ‘Programs’ 页上可以选择相应的程序。
官方网站上有推荐程序列表:
在 Linux 下,我们可以用 Scintilla/SciTE 作为编辑器 ( Editor ),用 nautilus 来作为浏览工具 ( explorer ),
diff 和 merge 工具都可以选用 kdiff3,
这些程序默认都是安装在 /usr/bin 目录下的,只要在 RapidSVN 的属性设置里链接上这些可执行文件就可以了。五、svn命令行和RapidSvn联合使用
RapidSvn是图形化操作,比较人性化,容易上手,但是有些功能不支持,这个使用用命令行的svn来实现对应的功能,就能够起到互补的作用。
参考地址:
1.ubuntu下svn图形界面客户端登陆svn服务
2.Linux下安装SVN客户端
相关文章推荐
- ubuntu下安装subversion客户端 以及svn使用方法
- SVN 在Debian/Ubuntu、windows 2003 的配置安装与使用
- 使用link方法安装eclipse插件(svn)
- 安装 Mplayer SMplayer 视频播放器的最好的方法(ubuntu使用之五)---...
- 使用Vmware安装Ubuntu 10.04后登录界面键盘无法输入的解决方法
- vmware下ubuntu安装vmware tool工具及使用鼠标滚轮的方法
- vmware下面安装Ubuntu使用鼠标滚动的方法
- Ubuntu下SVN的使用方法[整理]
- ubuntu下eclipse中使用svn切换账户的方法
- MyEclipse6.5安装SVN插件方法(三种)及使用
- Ubuntu下svn安装和使用 .
- hiweed下安装使用ubuntu-tweak的方法
- vmware 安装ubuntu时安装vmware tool解决方法,及使用鼠标滚轮的方法.
- Ubuntu中SVN的安装和使用
- vmware下面安装Ubuntu使用鼠标滚轮的方法
- ubuntu 安装使用ssh的方法
- MyEclipse中svn插件安装及使用方法
- vmware安装ubuntu10.04不能使用键盘的解决方法
- Ubuntu安装后root 用户无法使用的解决方法
- Ubuntu中SVN客户端安装+使用