User Tools

Site Tools

blog:2019-07-12_install_svn_in_ubuntu_linux



2019-07-12 install svn in Ubuntu Linux

  • Install svn in Ubuntu Linux

Steps

  • jk@ubuntu:~$ sudo apt-get update
    Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
    Hit:2 http://dl.google.com/linux/chrome/deb stable Release                     
    Hit:4 http://packages.microsoft.com/repos/vscode stable InRelease              
    Get:5 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]     
    Hit:6 http://us.archive.ubuntu.com/ubuntu xenial InRelease                     
    Get:7 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
    Get:8 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
    Fetched 325 kB in 3s (97.2 kB/s)  
    Reading package lists... Done
    jk@ubuntu:~$ apt-get install subversion subversion-tools 
    E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
    E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
    jk@ubuntu:~$ sudo apt-get install subversion subversion-tools 
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following packages were automatically installed and are no longer required:
      linux-headers-4.15.0-45 linux-headers-4.15.0-45-generic
      linux-image-4.15.0-45-generic linux-modules-4.15.0-45-generic
      linux-modules-extra-4.15.0-45-generic snapd-login-service
    Use 'sudo apt autoremove' to remove them.
    The following additional packages will be installed:
      exim4 exim4-base exim4-config exim4-daemon-light libapr1 libaprutil1
      libconfig-inifiles-perl libserf-1-1 libsvn-perl libsvn1 python-subversion
      s-nail
    Suggested packages:
      eximon4 exim4-doc-html | exim4-doc-info spf-tools-perl swaks
      python-subversion-dbg db5.3-util ruby-svn svn2cl
    The following NEW packages will be installed:
      exim4 exim4-base exim4-config exim4-daemon-light libapr1 libaprutil1
      libconfig-inifiles-perl libserf-1-1 libsvn-perl libsvn1 python-subversion
      s-nail subversion subversion-tools
    0 upgraded, 14 newly installed, 0 to remove and 88 not upgraded.
    Need to get 5,292 kB of archives.
    After this operation, 21.8 MB of additional disk space will be used.
    Do you want to continue? [Y/n] y
    Get:1 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libapr1 amd64 1.5.2-3 [86.0 kB]
    Get:2 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libaprutil1 amd64 1.5.4-1build1 [77.1 kB]
    Get:3 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libserf-1-1 amd64 1.3.8-1 [45.5 kB]
    Get:4 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 exim4-config all 4.86.2-2ubuntu2.3 [297 kB]
    Get:5 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 exim4-base amd64 4.86.2-2ubuntu2.3 [870 kB]
    Get:6 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 exim4-daemon-light amd64 4.86.2-2ubuntu2.3 [465 kB]
    Get:7 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 exim4 all 4.86.2-2ubuntu2.3 [7,892 B]
    Get:8 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libsvn1 amd64 1.9.3-2ubuntu1.1 [1,170 kB]
    Get:9 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libsvn-perl amd64 1.9.3-2ubuntu1.1 [845 kB]
    Get:10 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python-subversion amd64 1.9.3-2ubuntu1.1 [553 kB]
    Get:11 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 s-nail amd64 14.8.6-1 [353 kB]
    Get:12 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 subversion amd64 1.9.3-2ubuntu1.1 [308 kB]
    Get:13 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libconfig-inifiles-perl all 2.88-1 [38.2 kB]
    Get:14 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 subversion-tools amd64 1.9.3-2ubuntu1.1 [177 kB]
    Fetched 5,292 kB in 3s (1,617 kB/s)    
    Preconfiguring packages ...
    Selecting previously unselected package libapr1:amd64.
    (Reading database ... 255382 files and directories currently installed.)
    Preparing to unpack .../libapr1_1.5.2-3_amd64.deb ...
    Unpacking libapr1:amd64 (1.5.2-3) ...
    Selecting previously unselected package libaprutil1:amd64.
    Preparing to unpack .../libaprutil1_1.5.4-1build1_amd64.deb ...
    Unpacking libaprutil1:amd64 (1.5.4-1build1) ...
    Selecting previously unselected package libserf-1-1:amd64.
    Preparing to unpack .../libserf-1-1_1.3.8-1_amd64.deb ...
    Unpacking libserf-1-1:amd64 (1.3.8-1) ...
    Selecting previously unselected package exim4-config.
    Preparing to unpack .../exim4-config_4.86.2-2ubuntu2.3_all.deb ...
    Unpacking exim4-config (4.86.2-2ubuntu2.3) ...
    Selecting previously unselected package exim4-base.
    Preparing to unpack .../exim4-base_4.86.2-2ubuntu2.3_amd64.deb ...
    Unpacking exim4-base (4.86.2-2ubuntu2.3) ...
    Selecting previously unselected package exim4-daemon-light.
    Preparing to unpack .../exim4-daemon-light_4.86.2-2ubuntu2.3_amd64.deb ...
    Unpacking exim4-daemon-light (4.86.2-2ubuntu2.3) ...
    Selecting previously unselected package exim4.
    Preparing to unpack .../exim4_4.86.2-2ubuntu2.3_all.deb ...
    Unpacking exim4 (4.86.2-2ubuntu2.3) ...
    Selecting previously unselected package libsvn1:amd64.
    Preparing to unpack .../libsvn1_1.9.3-2ubuntu1.1_amd64.deb ...
    Unpacking libsvn1:amd64 (1.9.3-2ubuntu1.1) ...
    Selecting previously unselected package libsvn-perl.
    Preparing to unpack .../libsvn-perl_1.9.3-2ubuntu1.1_amd64.deb ...
    Unpacking libsvn-perl (1.9.3-2ubuntu1.1) ...
    Selecting previously unselected package python-subversion.
    Preparing to unpack .../python-subversion_1.9.3-2ubuntu1.1_amd64.deb ...
    Unpacking python-subversion (1.9.3-2ubuntu1.1) ...
    Selecting previously unselected package s-nail.
    Preparing to unpack .../s-nail_14.8.6-1_amd64.deb ...
    Unpacking s-nail (14.8.6-1) ...
    Selecting previously unselected package subversion.
    Preparing to unpack .../subversion_1.9.3-2ubuntu1.1_amd64.deb ...
    Unpacking subversion (1.9.3-2ubuntu1.1) ...
    Selecting previously unselected package libconfig-inifiles-perl.
    Preparing to unpack .../libconfig-inifiles-perl_2.88-1_all.deb ...
    Unpacking libconfig-inifiles-perl (2.88-1) ...
    Selecting previously unselected package subversion-tools.
    Preparing to unpack .../subversion-tools_1.9.3-2ubuntu1.1_amd64.deb ...
    Unpacking subversion-tools (1.9.3-2ubuntu1.1) ...
    Processing triggers for libc-bin (2.23-0ubuntu11) ...
    Processing triggers for man-db (2.7.5-1) ...
    Processing triggers for systemd (229-4ubuntu21.22) ...
    Processing triggers for ureadahead (0.100.0-19) ...
    Processing triggers for doc-base (0.10.7) ...
    Processing 3 added doc-base files...
    Setting up libapr1:amd64 (1.5.2-3) ...
    Setting up libaprutil1:amd64 (1.5.4-1build1) ...
    Setting up libserf-1-1:amd64 (1.3.8-1) ...
    Setting up exim4-config (4.86.2-2ubuntu2.3) ...
    Adding system-user for exim (v4)
    Setting up exim4-base (4.86.2-2ubuntu2.3) ...
    exim: DB upgrade, deleting hints-db
    Setting up exim4-daemon-light (4.86.2-2ubuntu2.3) ...
    Setting up exim4 (4.86.2-2ubuntu2.3) ...
    Setting up libsvn1:amd64 (1.9.3-2ubuntu1.1) ...
    Setting up libsvn-perl (1.9.3-2ubuntu1.1) ...
    Setting up python-subversion (1.9.3-2ubuntu1.1) ...
    Setting up s-nail (14.8.6-1) ...
    update-alternatives: using /usr/bin/s-nail to provide /usr/bin/mailx (mailx) in auto mode
    Setting up subversion (1.9.3-2ubuntu1.1) ...
    Setting up libconfig-inifiles-perl (2.88-1) ...
    Setting up subversion-tools (1.9.3-2ubuntu1.1) ...
    Processing triggers for libc-bin (2.23-0ubuntu11) ...
    Processing triggers for systemd (229-4ubuntu21.22) ...
    Processing triggers for ureadahead (0.100.0-19) ...
    jk@ubuntu:~$ 
    

svn Commands

  • svn –versions
    • jk@ubuntu:~$ svn --version
      svn, version 1.9.3 (r1718519)
         compiled Aug 10 2017, 16:59:15 on x86_64-pc-linux-gnu
      
      Copyright (C) 2015 The Apache Software Foundation.
      This software consists of contributions made by many people;
      see the NOTICE file for more information.
      Subversion is open source software, see http://subversion.apache.org/
      
      The following repository access (RA) modules are available:
      
      * ra_svn : Module for accessing a repository using the svn network protocol.
        - with Cyrus SASL authentication
        - handles 'svn' scheme
      * ra_local : Module for accessing a repository on local disk.
        - handles 'file' scheme
      * ra_serf : Module for accessing a repository via WebDAV protocol using serf.
        - using serf 1.3.8 (compiled with 1.3.8)
        - handles 'http' scheme
        - handles 'https' scheme
      
      The following authentication credential caches are available:
      
      * Plaintext cache in /home/jk/.subversion
      * Gnome Keyring
      * GPG-Agent
      * KWallet (KDE)
      
      jk@ubuntu:~$ 
  • svn Commands
    • jk@ubuntu:~$ svn
      Type 'svn help' for usage.
      jk@ubuntu:~$ svn help
      usage: svn <subcommand> [options] [args]
      Subversion command-line client.
      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
         auth
         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)
         patch
         propdel (pdel, pd)
         propedit (pedit, pe)
         propget (pget, pg)
         proplist (plist, pl)
         propset (pset, ps)
         relocate
         resolve
         resolved
         revert
         status (stat, st)
         switch (sw)
         unlock
         update (up)
         upgrade
      
      Subversion is a tool for version control.
      For additional information, see http://subversion.apache.org/

TAGS

  • 449 person(s) visited this page until now.

Permalink blog/2019-07-12_install_svn_in_ubuntu_linux.txt · Last modified: 2019/07/12 10:40 by jethro

oeffentlich