[英]using subversion (svn) on linux
I'm trying to install svn on my linux (raspberry pi) computer. 我正在尝试在Linux(Raspberry Pi)计算机上安装svn。 What I've done:
我所做的:
Installed Subversion 已安装的Subversion
sudo apt-get install subversion
Created a directory to hold the repositories 创建一个目录来存放存储库
mkdir -p /home/pi/repos
But when I try to create new repository with command like this: 但是,当我尝试使用如下命令创建新存储库时:
svnadmin create /home/pi/repos/<repo name>
I got error: 我收到错误消息:
-bash: svnadmin: command not found
I understand that it is environment error - os cannot find command svnadmin, but how to write path to svnadmin file? 我了解这是环境错误-操作系统找不到命令svnadmin,但是如何将路径写入svnadmin文件? Unfortunately I have little experience with linux systems.
不幸的是,我对Linux系统的经验很少。
In Debian systems svnadmin
is usually installed in /usr/bin
, so try this: 在Debian系统中,
svnadmin
通常安装在/usr/bin
,因此请尝试以下操作:
/usr/bin/svnadmin
Or you can find it with: 或者您可以通过以下方式找到它:
dpkg -L subversion | grep svnadmin
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.