简体   繁体   中英

using subversion (svn) on linux

I'm trying to install svn on my linux (raspberry pi) computer. What I've done:

Installed 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? Unfortunately I have little experience with linux systems.

In Debian systems svnadmin is usually installed in /usr/bin , so try this:

/usr/bin/svnadmin

Or you can find it with:

dpkg -L subversion | grep svnadmin

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM