On 12/19/2010 12:25 PM, Graham Smith wrote: > hello, > > I realise this is more an Ubuntu question than a Dabo question, but I would > like to try Dabo, but the install process is tricky for me. So i am hoping > someone will bear with me and do a bit of hand holding. > >>From the web site http://wiki.dabodev.com/InstallationOnLinux ( I have > slightly modifed the instructions as I think they should be set up for > Ubuntu) > > # Do not use the root account for this, as it may not work in all cases > > cd $HOME > mkdir src > cd src > svn checkout http://svn.dabodev.com/dabo/trunk dabo # I assume at this > stage it will be asked to install SVN > > # Change "/usr/local/lib/python2.6/dist-packages" ## as I am on Ubuntu 10.10 > > cd /usr/local/lib/python2.6/dist-packages > > # You need root privilege to create the following link in site-packages > sudo ln -s $HOME/src/dabo/dabo dabo
With the above link you placed the dabo source tree into your python enviroment. Now dabo can be imported by python scripts. > > I am assuming I can ignore the next few line about svn up and > installing specific versions > > I assumed that this installed dabo "somewhere" and the src folder was > now redundant, but... > You installed dabo in your home. Keep it there! The src folder is not redundant. Keep it! The symbolic link that was placed in your python enviroment points to the dabo files under your home. If there are new changes in svn you cd to $HOME/src/dabo and call: svn up This allows you to update the dabo source tree without root privilegs. > # To check that dabo works correctly, run the DaboDemo.py > > cd $HOME/src/dabo/demo > python DaboDemo.py > > > suggests that the src folder (which I took to stand for source) still > has files that are needed, or is it just that the DabDemo.py file was > downloaded along with the source and the source files in the src > folder are in fact now redundant, and DabDemo could be moved to > anywhere. > > > Alternatively, from lower down the same web page, does this work with > Ubuntu 10.10 (it says tested on 7.04) > > > set -ex > sudo apt-get --yes install python-reportlab python-wxgtk2.8 subversion > python-mysqldb > svn checkout http://svn.dabodev.com/dabo/trunk dabo > cd dabo > sudo python setup.py install > The above method installs dabo under your python enviroment. You can't update the installed dabo by svn any more. The linked in dabo source is easier to handle as you are able to update by svn to any needed revision. Do not use the web update method as it clashes with svn update method! > > Which assume does the same as the earlier step by step instructions (I > already have python-wxgtk2.8 and python -mysqldb installed, so I > assume I could just miss them off the list) > The "python setup.py" method doesn't do the same as the linked in svn method. It installs the dabo source tree under your python enviroment. You can't update this with svn directly. > > The final question which is on how I update Dabo, I assume this is > really an SVN question, so again bear with me. > If you want to update, do this: cd $HOME/src/dabo svn up > > I'm afraid all of this is still very alien to me, and I am still > scared of breaking something, unless instructionsare very detailed and > very specific to my distro and version. > > Any help greatly appreciated. > > > Many thanks, > > Graham > Keep asking if something is unclear. Uwe _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[email protected]
