Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How can I download and install the TortoiseSVN client on a Linux machine?

I am using PuTTY to access the machine, so please give the installation steps using shell commands.

share|improve this question
    
Depending on your distribution, you have to install the 'subversion' package. –  hovanessyan Feb 17 '12 at 12:40
    
TortoiseSVN is a Windows-only software. You can't install it on Linux. –  Jan Hudec Feb 17 '12 at 13:23
    
I'm really not sure what you're after here. Do you want to use Subversion on the remote box? Do you want to use the graphical TortoiseSVN to work with a working copy on the remote box? Something else? –  me_and Feb 17 '12 at 13:37
    
i want to install Subversion client on remote box which dont have UI. so i have to install using putty. please suggest me. Thanks –  user1216228 Feb 17 '12 at 13:46
add comment

migrated from stackoverflow.com Feb 19 '12 at 14:22

This question came from our site for professional and enthusiast programmers.

3 Answers

You can't install TortoiseSVN on a Linux machine, as TortoiseSVN is Windows only. You've a few alternatives:

  • Use the command-line Subversion utilities over PuTTY to work with your working copy.

    To check if you have them installed, try running which svn on the system; if you get something along the lines of no svn in (blahblahblah), you need to install Subversion. The command you need is probably one of sudo yum install svn or sudo apt-get install svn.

    Once you have this, you'll use more commands to work with your working copy. Search for "svn commands" with your favourite search engine for hints.

  • Find a Linux based graphical user interface, and set up X11 forwarding, so windows you open on the remote machine appear on the local machine. The University of Minnesota have produced a brief guide on configuring X forwarding with PuTTY; it looks good but I've not tried following it myself.

  • Set up a Samba share so you can access files on the remote machine directly using Windows, at which point you can use TortoiseSVN on your local Windows machine. There's a guide to setting up Samba shares on the Ubuntu forums, and the steps will be pretty similar on other flavours of Linux.

share|improve this answer
add comment

Depending on your distribution, you have to install the 'subversion' package, not going with tortoisesvn. The plugins for the different IDEs will present the GUI for you, if you need one. For simple checkout/commit you can use the command line tool.

share|improve this answer
    
He says he's connecting to the linux box with putty, so he probably won't have a GUI. –  Jan Hudec Feb 17 '12 at 12:45
    
true, although if you want to install a graphical tool on a box, you expect to have a graphical environment. But most probably you have a point! –  hovanessyan Feb 17 '12 at 12:49
add comment

Just type on the command Prompt : sudo apt-get install subversion

share|improve this answer
    
This covers only dpkg/apt based distros (mostly Debian, Ubuntu) and won't work on Redhat, Arch Linux, Gentoo, Suse or Slackware –  ce4 Jul 25 '12 at 9:03
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.