Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Changes between Version 9 and Version 10 of SystemInstall


Ignore:
Timestamp:
06/09/06 11:11:14 (11 years ago)
Author:
maxb
Comment:

Remove a large chunk that is a subset of material on DebianInstall, and update reference to it

Legend:

Unmodified
Added
Removed
Modified
  • SystemInstall

    v9 v10  
    1919images.  Bugs fixed are pushed back upstream. 
    2020 
    21 The stuff below should work for Ubuntu ... but they may already be on 
     21The stuff on DebianInstall should work for Ubuntu ... but they may already be on 
    2222python2.4 ... 
    2323 
    24 == Debian Sarge and Sid (unstable): Non-root installs == 
    25  
    26 Here $ is your prompt. 
    27  
    28 1.  Make sure you are a member of the 'staff' group.  This group 
    29 has permission to write in the '/usr/local' tree.  Debian packages set 
    30 up some empty directories in this tree with the correct permissions so 
    31 that non-root installs of supplementary modules etc can be done. 
    32  
    33 The 'id' program will show you what groups you are already a member of.  If your  
    34 username is 'me' and your uid is 1001 then the output of 'id' will appear as shown and you need to 
    35 list all the present additional groups as well as 'staff' when running 'usermod'.  If 'staff' is already listed 
    36 then you can skip this step. 
    37  
    38 {{{ 
    39 $ id  
    40 uid=1001(me) gid=1001(mygroup) groups=24(cdrom),29(audio),1001(mygroup) 
    41 $ sudo usermod -G 24,29,staff me 
    42 }}} 
    43  
    44 You need to log out and in again for this to take effect. 
    45  
    46  
    47 2. Install python2.4-dev.  [example: Debian provides methods other than sudo ...] 
    48  
    49 {{{ 
    50 sudo apt-get install python2.4-dev 
    51 }}} 
    52  
    53 3. Create a pydistutils.cfg file in your home directory. [or use vi/emacs/...] 
    54  
    55 {{{ 
    56 $ cat > ~/.pydistutils.cfg << EOF 
    57 [install] 
    58 install_lib = /usr/local/lib/python2.4/site-packages 
    59  
    60 [easy_install] 
    61 site_dirs=/usr/local/lib/python2.4/site-packages 
    62 EOF 
    63 }}} 
    64  
    65 Please notice that the easy_install section does not support the $ variables. Just write the complete path. 
    66  
    67 4. Run ez_setup.py from the Turbogears download page. 
    68  
    69 {{{ 
    70 $ python2.4 ez_setup.py -f http://www.turbogears.org/download/index.html --script-dir /usr/local/bin TurboGears 
    71 }}}