From: Phil E. <l2...@us...> - 2005-03-30 15:37:52
|
Update of /cvsroot/pythoncard/PythonCard/docs/html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23414 Modified Files: linux_installation.html Log Message: Update the notes for PythonCard-0.8.1 RPM install, also covers current version of wxPython RPMs Index: linux_installation.html =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/html/linux_installation.html,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** linux_installation.html 29 Mar 2005 12:05:58 -0000 1.13 --- linux_installation.html 30 Mar 2005 15:37:13 -0000 1.14 *************** *** 16,20 **** <a href="#mandrake">Mandrake</a> and <a href="#debian">Debian</a>.</p> <h2><a id="mandrake">Mandrake Linux Using RPM's</a></h2> ! <p>Installing PythonCard on your Linux system requires the following steps:</p> <ol> <li>Ensure that you have a suitable version of Python installed.</li> --- 16,24 ---- <a href="#mandrake">Mandrake</a> and <a href="#debian">Debian</a>.</p> <h2><a id="mandrake">Mandrake Linux Using RPM's</a></h2> ! <p>The notes below concentrate specifically on installing PythonCard from RPMs on ! a Mandrake system. For other Linux distributions which also use the RPM format for ! packages (for example, SuSE, RedHat or Fedora) the process will be broadly similar, ! but you should take care to select the correct versions of the various RPMs that ! are required. Installing PythonCard on a Linux system requires the following steps:</p> <ol> <li>Ensure that you have a suitable version of Python installed.</li> *************** *** 26,32 **** </ol> <h3>Check your Python version</h3> ! <p>PythonCardPrototype requires that you have Python 2.2.1 or higher installed. At the time of writing, it is known that all versions of Mandrake ! Linux from 8.2 upwards install a suitable Python version by default. If you are still using version 9.0 or lower, you really should think seriously about upgrading.</p> --- 30,36 ---- </ol> <h3>Check your Python version</h3> ! <p>PythonCard requires that you have Python 2.3 or higher installed. At the time of writing, it is known that all versions of Mandrake ! Linux from 9.1 upwards install a suitable Python version by default. If you are still using version 9.0 or lower, you really should think seriously about upgrading.</p> *************** *** 40,65 **** <p>This Linux system has Python 2.3 installed, so there's no problem here. :-)</p> <h3>Downloading the wxPython RPMs</h3> ! <p>PythonCard relies on the wxPython package. If you are using Mandrake or ! another Linux distribrution which uses the RPM package format (for instance ! Red Hat or Fedora Core) you can install wxPython using the pre-built packages ! available at <a href="http://www.wxpython.org/download.php#binaries">the ! wxPython download page</a>. Make sure you select the correct files for your ! version of Python and operating system you have. ! link instead. Tell your browser where you want the file stored and the ! download proceeds. Note where on your system the file is saved by your ! browser.</p> <h3>Downloading the PythonCard RPM</h3> ! <p>The latest version of the PythonCard RPM's are always available via the <a href="http://www.linux2000.com/pythoncard.html">Linux2000 PythonCard page</a> , and are also mirrored on the main Pythoncard site on SourceForge - <a href="http://sourceforge.net/project/showfiles.php?group_id=19015">click here</a> ! to go to the download page. You will need to download the RPM which is ! appropriate for the Linux distribution you are using. At the time of writing, ! supported distributions for RPM installation include Mandrake Linux versions ! 8.2, 9.0 and 9.1 (for Python 2.2) and versions 9.2 and 10.0 for Python 2.3</p> ! <p>For Mandrake Linux 8.2, 9.0 and 9.1, you should install <a href="http://www.linux2000.com/downloads/PythonCardPrototype-0.7.3.1-1mdk.noarch.rpm">PythonCardPrototype-0.7.3.1-1mdk.noarch.rpm</a>.</p> ! <p>For Mandrake Linux 9.2 and 10.0, you should install <a href="http://www.linux2000.com/downloads/PythonCardPrototype-0.7.3.1-2mdk.noarch.rpm">PythonCardPrototype-0.7.3.1-2mdk.noarch.rpm</a>.</p> ! <p>Click the appropriate link to begin downloading the RPM. Tell your browser ! where you want the file stored and the download proceeds. Note where on your ! system the file is saved by your browser.</p> <h3>Installing the wxPython RPMs</h3> <p>Type 'su -' and enter your root password when prompted. The command to --- 44,76 ---- <p>This Linux system has Python 2.3 installed, so there's no problem here. :-)</p> <h3>Downloading the wxPython RPMs</h3> ! <p>PythonCard relies on the wxPython package. The specific wxPython RPMs you will ! need (at the time of writing, at least) are as follows:</p> ! ! <p> ! <a href="http://prdownloads.sourceforge.net/wxpython/wxPython-common-gtk2-unicode-2.5.4.1-mdk101_py2.3.i586.rpm">wxPython-common-gtk2-unicode-2.5.4.1-mdk101_py2.3.i586.rpm</a> ! <a href="http://prdownloads.sourceforge.net/wxpython/wxPython2.5-gtk2-unicode-2.5.4.1-mdk101_py2.3.i586.rpm">wxPython2.5-gtk2-unicode-2.5.4.1-mdk101_py2.3.i586.rpm</a> ! </p> ! ! <p>Whilst the versions of wxPython which are built against the older GTK1.0 ! libraries will work, the GTK2 versions offer some advantages ! as far as Mandrake is concerned (widgets look slightly 'nicer' and ! execution speed is improved) and it is these which are recommended.</p> ! ! <p>If you are installing on a distribution other than Mandrake, you should consult ! the wxPython download page ! at <a href="http://www.wxpython.org/download.php#binaries">http://www.wxpython.org/download.php#binaries</a> ! to determine the correct RPMs for your system.</p> ! ! <p>Save the files somewhere convenient on your system. Make a note of the location for later.</p> ! <h3>Downloading the PythonCard RPM</h3> ! <p>The latest version of the PythonCard RPMs are always available via the <a href="http://www.linux2000.com/pythoncard.html">Linux2000 PythonCard page</a> , and are also mirrored on the main Pythoncard site on SourceForge - <a href="http://sourceforge.net/project/showfiles.php?group_id=19015">click here</a> ! to go to the download page. Supported Mandrake Linux distributions for RPM installation are 10.0 and 10.1 in ! both <em>Community</em> and <em>Official</em> flavours.</p> ! <p>Download <a href="http://www.linux2000.com/downloads/PythonCard-0.8.1-1mdk.noarch.rpm">http://www.linux2000.com/downloads/PythonCard-0.8.1-1mdk.noarch.rpm</a> ! and save the file somehwere convenient as before.</p> ! <h3>Installing the wxPython RPMs</h3> <p>Type 'su -' and enter your root password when prompted. The command to *************** *** 70,84 **** browser saved the downloaded RPM and substitute the correct file type and version number of the file you have downloaded.</p> ! <h3>Installing PythonCardPrototype</h3> ! <p>The command to install the PythonCardPrototype RPM is pretty similar:</p> ! <p class="code">rpm -Uvh /home/fred/PythonCardPrototype-0.7.3.1-2mdk.noarch.rpm</p> <p>Again, replace "/home/fred" with the full path to where your browser saved the RPM, and substitute the relevant RPM file name for you distribution.</p> <h3>Confirming Installation</h3> ! <p>We'll run the PythonCardPrototype quot;minimal" application to check that the installation seems OK. To run this, open a shell prompt as your normal user, and type the following:</p> ! <p class="code">/usr/share/PythonCardPrototype/samples/minimal/minimal.py</p> <p class="imageCaption"><img src="http://pythoncard.sourceforge.net/images/snapminimal_01.png" alt="PythonCard minimal application window open to confirm installation is correct" /><br /> Figure 1. PythonCard minimal application window open to confirm installation --- 81,97 ---- browser saved the downloaded RPM and substitute the correct file type and version number of the file you have downloaded.</p> ! ! <h3>Installing PythonCard</h3> ! <p>The command to install the PythonCard RPM is pretty similar:</p> ! <p class="code">rpm -Uvh /home/fred/PythonCard-0.8.1-1mdk.noarch.rpm</p> <p>Again, replace "/home/fred" with the full path to where your browser saved the RPM, and substitute the relevant RPM file name for you distribution.</p> + <h3>Confirming Installation</h3> ! <p>We'll run the PythonCardPrototype "minimal" application to check that the installation seems OK. To run this, open a shell prompt as your normal user, and type the following:</p> ! <p class="code">/usr/share/PythonCard/samples/minimal/minimal.py</p> <p class="imageCaption"><img src="http://pythoncard.sourceforge.net/images/snapminimal_01.png" alt="PythonCard minimal application window open to confirm installation is correct" /><br /> Figure 1. PythonCard minimal application window open to confirm installation *************** *** 89,93 **** <p>Assuming that the minimal application starts up okay, you can browse the other PythonCard sample applications with the command:</p> ! <p class="code">/usr/share/PythonCardPrototype/samples/samples.pyw</p> <h3>PythonCardPrototype Menu Items</h3> <p>You will find some new items on the window manager menu - the PythonCard --- 102,106 ---- <p>Assuming that the minimal application starts up okay, you can browse the other PythonCard sample applications with the command:</p> ! <p class="code">/usr/share/PythonCard/samples/samples.pyw</p> <h3>PythonCardPrototype Menu Items</h3> <p>You will find some new items on the window manager menu - the PythonCard *************** *** 99,104 **** If for some reason either the RPM's won't install, or the minimal application doesn't run, go back over these instructions carefully. In particular, make ! sure that wxPython and PythonCardPrototype both appear in the site-packages ! folder in Python's Lib folder.</p> <p>If everything seems OK and you still can't get minimal.py to launch, post a message to the PythonCard Users Mailing List. (If you aren't yet a member, --- 112,117 ---- If for some reason either the RPM's won't install, or the minimal application doesn't run, go back over these instructions carefully. In particular, make ! sure that wxPython and PythonCard both appear in the site-packages ! folder in Python's lib folder.</p> <p>If everything seems OK and you still can't get minimal.py to launch, post a message to the PythonCard Users Mailing List. (If you aren't yet a member, |