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 Initial Version and Version 1 of DebianInstall


Ignore:
Timestamp:
11/18/05 16:23:09 (14 years ago)
Author:
SuperJared <jared.kuolt@…>
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DebianInstall

    v1 v1  
     1== Debian Packaging == 
     2 
     3Ian Bicking noted that there is a python tool for creating Debian packages: 
     4http://easy-deb.sourceforge.net/ 
     5 
     6== Debian Sarge and Sid (unstable): Non-root installs == 
     7 
     8Here $ is your prompt. 
     9 
     101.  Make sure you are a member of the 'staff' group.  This group 
     11has permission to write in the '/usr/local' tree.  Debian packages set 
     12up some empty directories in this tree with the correct permissions so 
     13that non-root installs of supplementary modules etc can be done. 
     14 
     15The 'id' program will show you what groups you are already a member of.  If your  
     16username is 'me' and your uid is 1001 then the output of 'id' will appear as shown and you need to 
     17list all the present additional groups as well as 'staff' when running 'usermod'.  If 'staff' is already listed 
     18then you can skip this step. 
     19 
     20{{{ 
     21$ id  
     22uid=1001(me) gid=1001(mygroup) groups=24(cdrom),29(audio),1001(mygroup) 
     23$ sudo usermod -G 24,29,staff me 
     24}}} 
     25 
     26You need to log out and in again for this to take effect. 
     27 
     28 
     292. Install python2.4-dev.  [example: Debian provides methods other than sudo ...] 
     30 
     31{{{ 
     32$ sudo apt-get install python2.4-dev 
     33}}} 
     34 
     353. Create a pydistutils.cfg file in your home directory. [or use vi/emacs/...] 
     36 
     37{{{ 
     38$ cat > ~/.pydistutils.cfg << EOF 
     39[install] 
     40install_lib = /usr/local/lib/python2.4/site-packages 
     41 
     42[easy_install] 
     43site_dirs=/usr/local/lib/python2.4/site-packages 
     44EOF 
     45}}} 
     46 
     47Please notice that the easy_install section does not support the $ variables. Just write the complete path. 
     48 
     494. Run ez_setup.py from the Turbogears download page. 
     50 
     51{{{ 
     52$ python2.4 ez_setup.py -f http://www.turbogears.org/download/index.html --script-dir /usr/local/bin TurboGears 
     53}}}