build minimal python 2.6 on linux

R

r

I would like to install minimal version if python 2.6 on a linux laptop
(and no there is not one already installed...i checked)
i have no way to access the net with the laptop.
So basicly i down loaded the 2.6 source and unpacked it on my other
PC.
The files weigh in at 51MB and some change.
Since transfer from USB on the laptop is painfully slow, and the cdrom
is toast, i need to slim down the 2.6 source as much as possible, so
it doesn't take 2 days to copy, and besides i don't need all this crap
anyway.

I know right away i can lose:
-Demo
-Doc
-Mac
-IDLE
-PC...???
-PCbuild...???

What else can i dump to slim down to just python-Tkinter only
note: i DO want to keep all the built-in modules.

And i know this may be asking alot but:
where do i put the files before i run "./configure"
does it matter what directory there in??
any help here would be great since i am new to linux
and have never built a python installation.
Gracias amigos!
 
P

Paul Rubin

r said:
The files weigh in at 51MB and some change.
Since transfer from USB on the laptop is painfully slow, and the cdrom
is toast, i need to slim down the 2.6 source as much as possible, so
it doesn't take 2 days to copy,

Even with USB 1.0, 51 mb should only take a minute or so to copy.
 
D

Diez B. Roggisch

r said:
I would like to install minimal version if python 2.6 on a linux laptop
(and no there is not one already installed...i checked)
i have no way to access the net with the laptop.
So basicly i down loaded the 2.6 source and unpacked it on my other
PC.
The files weigh in at 51MB and some change.
Since transfer from USB on the laptop is painfully slow, and the cdrom
is toast, i need to slim down the 2.6 source as much as possible, so
it doesn't take 2 days to copy, and besides i don't need all this crap
anyway.

I know right away i can lose:
-Demo
-Doc
-Mac
-IDLE
-PC...???
-PCbuild...???

What else can i dump to slim down to just python-Tkinter only
note: i DO want to keep all the built-in modules.

And i know this may be asking alot but:
where do i put the files before i run "./configure"
does it matter what directory there in??
any help here would be great since i am new to linux
and have never built a python installation.
Gracias amigos!

The real issue here are the tools neded for building. Are they there?

Out of my head: GCC, autoconf, automake, sqlite-dev, libz-dev and
probably some more.

Maybe going with a pre-installed (or installable) python2.5 is the
better idea, if you are so heavily constrained.

Diez
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,022
Latest member
MaybelleMa

Latest Threads

Top