New to unix/python. How to install

B

Bobby Owens

Hi,

Please excuse what is probably a completely newbie question, but my
situation is as follows.

I'm a windows/.NET developer but have now been asked to take over part
of the project which is written in python and runs on Unix.

I've muddled through the python code and figured out parts of it. I've
now installed Sun Solaris 10 on a VM ware installation successfully
and can muddle thorough the basics of the o/s. I cant figure out how
to install python. From looking online I've found what I think I need:

- python-2.3.3-sol9-intel-local
- libgcc-3.3-sol10-intel-local

I know the python looks like from only v9 of solaris but it was within
a sol10 package I found online.

From what I understand, I need the "libgcc" to compile the python
intstall. I cant figure out how to install them both however. Could
any kind souls please lend a hand. It would be much appreciated.

Either post here or pm me.

Regards

Bobby
(e-mail address removed)
 
C

Christopher De Vries

I've muddled through the python code and figured out parts of it. I've
now installed Sun Solaris 10 on a VM ware installation successfully
and can muddle thorough the basics of the o/s. I cant figure out how
to install python. From looking online I've found what I think I need:

- python-2.3.3-sol9-intel-local
- libgcc-3.3-sol10-intel-local

I wouldn't worry about these binary packages. Usually under solaris compiling
the source works fine. Download the source from this page:
http://www.python.org/download/

It comes as a gzipped tar file. You can unpack it by issuing the command:

gunzip -c Python-2.4.tgz | tar xvf -

Change into the Python-2.4 directory and run the commands:

../configure
make

as "root" run the command:

make install

Python should install into /usr/local. The python interpreter should be
/usr/local/bin/python. Since python is written in C, you do not need to use the
Gnu C compiler to compile it, ./configure should find an appropriate C
compiler, and everything should work fine. Feel free to reply if this series of
steps does not work.

Good luck,

Chris
 

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
474,219
Messages
2,571,117
Members
47,730
Latest member
scavoli

Latest Threads

Top