New to unix/python. How to install

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bobby Owens

    #1

    New to unix/python. How to install

    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
    bobby.owens@ntl world.com
  • Christopher De Vries

    #2
    Re: New to unix/python. How to install

    On Sun, Feb 06, 2005 at 01:42:22PM -0800, Bobby Owens wrote:[color=blue]
    > 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[/color]

    I wouldn't worry about these binary packages. Usually under solaris compiling
    the source works fine. Download the source from this page:


    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

    Comment

    Working...