Author Topic: Which SVN for ubuntu  (Read 9306 times)

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2119
Which SVN for ubuntu
« on: January 13, 2006, 05:25:08 pm »
Which one of these packages do I need to download
to get SVN working on ubuntu.

http://subversion.tigris.org/project_packages.html

thanks
pecan

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5147
Re: Which SVN for ubuntu
« Reply #1 on: January 13, 2006, 05:30:52 pm »
can you use kde on ubuntu (so not kubuntu)?? this has a kdesvn client.

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2119
Re: Which SVN for ubuntu
« Reply #2 on: January 13, 2006, 05:44:45 pm »
can you use kde on ubuntu (so not kubuntu)?? this has a kdesvn client.

I dont understand the question. I'm a real n00bie here.
I just got virgin ubuntu up and working last night after 38
hours of downloading.

A command line would be ok with me. But I don't
know what to download.

thanks
pecan

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: Which SVN for ubuntu
« Reply #3 on: January 13, 2006, 05:53:39 pm »
you can use the following terminal command

apt-get install subversion

to install subversion on your ubuntu system

in general, ubuntu is a debian derivative - so you can use apt-get from the commandline or *.deb packages if you prefer downloading and installing separately.

another option is to use "Synaptic package manager" which is a GUI for apt-get, you'll find it in System->Administration

HTH
good luck,
--tiwag

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
Re: Which SVN for ubuntu
« Reply #4 on: January 13, 2006, 05:53:52 pm »
Which one of these packages do I need to download
to get SVN working on ubuntu.

http://subversion.tigris.org/project_packages.html

thanks
pecan


Open a command line prompt and type:
sudo apt-get install subversion
Be patient!
This bug will be fixed soon...

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2119
Re: Which SVN for ubuntu
« Reply #5 on: January 13, 2006, 06:04:13 pm »
Open a command line prompt and type:
sudo apt-get install subversion

Code: [Select]
pecan@Herman:~$ sudo apt-get install subversion
Reading package lists... Done
Building dependency tree... Done
Package subversion is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package subversion has no installation candidate
pecan@Herman:~$

Ok, what do I do now.

Thanks for being patient with me, I'll eventually get it...

pecan

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: Which SVN for ubuntu
« Reply #6 on: January 13, 2006, 06:11:55 pm »
i had this a few times, that the ubuntu update server were down for a few hours ...
try it later

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
Re: Which SVN for ubuntu
« Reply #7 on: January 13, 2006, 06:14:22 pm »
I 'm not sure which repository it is in. It might be in the universe repository. I 'll have to check...
Be patient!
This bug will be fixed soon...

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1442
    • CenizaSOFT
Re: Which SVN for ubuntu
« Reply #8 on: January 13, 2006, 06:16:06 pm »
Maybe that package is in universe and it'sn't enabled?

/etc/apt/sources.list almost at the end, be sure universe isn't commented. If it is, just remove the #, save the file (as root).

Run:

sudo apt-get update
sudo apt-get install subversion

[edit]
I just checked and it's both in main and universe. Maybe waiting, as suggested by tiwag, solves the problem :P
[/edit]
« Last Edit: January 13, 2006, 06:46:21 pm by Ceniza »

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: Which SVN for ubuntu
« Reply #9 on: January 13, 2006, 06:25:31 pm »
@ceniza - how did you check ? i wanted to do this also but dunno  :?

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1442
    • CenizaSOFT
Re: Which SVN for ubuntu
« Reply #10 on: January 13, 2006, 06:28:40 pm »
tiwag: manually :P

I thought apt-cache show subversion would show that but it didn't.

http://co.archive.ubuntu.com/ubuntu/pool/main/s/subversion/
http://co.archive.ubuntu.com/ubuntu/pool/universe/s/subversion/

[edit]
I'll need new glasses...

Suggests: subversion-tools
Filename: pool/main/s/subversion/subversion_1.2.3dfsg1-3ubuntu1_i386.deb
Size: 217200
[/edit]
« Last Edit: January 13, 2006, 06:46:54 pm by Ceniza »

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2119
Re: Which SVN for ubuntu
« Reply #11 on: January 13, 2006, 06:42:18 pm »

Suggests: subversion-tools
Filename: pool/main/s/subversion/subversion_1.2.3dfsg1-3ubuntu1_i386.deb
Size: 217200

Does this mean I should be doing something,..or just waiting..

thanks
pecan

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1442
    • CenizaSOFT
Re: Which SVN for ubuntu
« Reply #12 on: January 13, 2006, 06:48:09 pm »
Pecan: just wait, but I still recommend the sudo apt-get update. If that also fails, keep waiting.

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2119
Re: Which SVN for ubuntu
« Reply #13 on: January 13, 2006, 07:12:30 pm »
Maybe that package is in universe and it'sn't enabled?

/etc/apt/sources.list almost at the end, be sure universe isn't commented. If it is, just remove the #, save the file (as root).

Code: [Select]
## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
# deb http://us.archive.ubuntu.com/ubuntu breezy universe
# deb-src http://us.archive.ubuntu.com/ubuntu breezy universe

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://us.archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse

# deb http://security.ubuntu.com/ubuntu breezy-security main restricted
# deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted

# deb http://security.ubuntu.com/ubuntu breezy-security universe
# deb-src http://security.ubuntu.com/ubuntu breezy-security universe
pecan@Herman:/etc/apt$

It looks like my "universe" is commented out. Could you give me a quick
lesson on how to copy this to a ".bak" file then edit it.

Oh Nooooo, I don't have to use vi do I? I hated that thing for years; haven't
used it for 10 years, and still hate.

thanks
pecan

EDIT:
I did the "sudo apt-get update".
« Last Edit: January 13, 2006, 07:15:09 pm by Pecan »

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1442
    • CenizaSOFT
Re: Which SVN for ubuntu
« Reply #14 on: January 13, 2006, 07:25:53 pm »
Heh, I wonder if ubuntu comes with nano or pico. For such a simple task vi would be enough :)

To copy it:

cp sources.list sources.list.bak

To edit it:

vi sources.list :twisted:

(of course, without the smiley)

Quick vi:

You move with the arrows.
If you want to edit, press i or Insert (should appear INSERT in the last line).
To quit "edition" mode, press ESC.
-- Next commands must be entered out of the "edition" mode, and press ENTER after each one --
To save type :w
To save and quit type :wq
To quit if you haven't made any changes type :q
To quit if you don't want to save the changes type :q!
-- More --
To go to line # type :# (replace # by the line number you want to go).
To find string str type /str (replace str by the string you want to search). Direction = Down.
To find string str type ?str (replace str by the string you want to search). Direction = Up.
To repeat last search type //. Direction = Down.
To repeat last search type ??. Direction = Up.
To repeat last search press n (this one doesn't need ENTER). Direction = Same.
To repeat last search press N (shift + n) (this one doesn't need ENTER). Direction = Contrary.
To undo press u (this one doesn't need ENTER).

[edit]
Dunno if it got installed or already came with Kubuntu Dapper, but I have pico and nano. You can try those first which are a lot more friendly :)
[/edit]
« Last Edit: January 13, 2006, 07:43:21 pm by Ceniza »

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2119
Re: Which SVN for ubuntu
« Reply #15 on: January 13, 2006, 08:27:51 pm »
Quote
vi sources.list Twisted Evil

That did the trick. The sources.list had to be edited...
Both the "sudo apt-get update" and the "sudo apt-get install subversion"
work ok but....

I HATE VI !!!!!!!

but now I have svn, so time to get to work...

thanks all
pecan

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1442
    • CenizaSOFT
Re: Which SVN for ubuntu
« Reply #16 on: January 13, 2006, 08:35:15 pm »
Hate it or not, knowing a bit of vi is really handy in the *nix world.

Well, in fact it's VIM (Very Intuitive Mess :P) the one that commonly comes with *nix.

Very powerful indeed, but really unfriendly.

Anyway, good to know you got SVN, that's what matters in this thread.

Offline Game_Ender

  • Lives here!
  • ****
  • Posts: 551
Re: Which SVN for ubuntu
« Reply #17 on: January 13, 2006, 11:55:59 pm »
You should gedit on Ubuntu for basic graphical text editing and I find nano pretty good for basic command window text editing (or those emergency terminal only config changes).

Offline yop

  • Regular
  • ***
  • Posts: 387
Re: Which SVN for ubuntu
« Reply #18 on: January 14, 2006, 12:31:52 am »
You should gedit on Ubuntu for basic graphical text editing and I find nano pretty good for basic command window text editing (or those emergency terminal only config changes).
And joe is a good alternative (just press Ctrl+K and then H for help). vi is powerfull but I still can't remember how to quit :)
Life would be so much easier if we could just look at the source code.