python install


Forum: Apps
Topic: python install
started by: nevles

Posted by nevles on Sep. 12 2004,07:23
OK,
I'm a little sloooow sometimes! How do I install a programme (tar.gz or deb) either at boot or later at my request from a usb stick.I have a usb with DSL, optional and a second partition (/dev/sda2) for saving files to.I can access the progs. in optional as they are .dsl files but I want to install or at least access python. Where do I install it, and how do I run it?
nevles :cool:

Posted by nevles on Sep. 12 2004,07:25
Hi,
sorry i forgot, please.
ps great distro
nev

Posted by cbagger01 on Sep. 12 2004,16:18
Put your dsl or tar.gz files into your second partition and add the following to your boot command:

mydsl=sda2


for example:

dsl mydsl=sda2

Posted by roberts on Sep. 12 2004,16:21
Since you mention .dsl files, I assume you have been using some.
There is a python in the extension library. If you boot your system with the following:

boot: dsl mydsl=sda2

Then you should have all the extensions under your optional directory available on the system menu to load/use. You can run python from the menu, which opens an xterm with python running.

If you want to run other python programs then you would have to use some exports like this:

export PYTHONPATH=/opt/python/bin
export PATH="$PATH:$PYTHONPATH"

If you want to install deb files, then "enable apt" from the system menu tools section or use Synaptic again its on the system menu under tools.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.