Difference between revisions of "Installing Python on HPUX"
>Johno (→Overview) |
>Johno (→Installing Python Manually) |
||
Line 6: | Line 6: | ||
'''''All of the installation information and links provided here were believed to be accurate at the time of writing. This information is provided as a service and is not warranted in any way. Vital Soft is NOT RESPONSIBLE for software installed on your server.''''' | '''''All of the installation information and links provided here were believed to be accurate at the time of writing. This information is provided as a service and is not warranted in any way. Vital Soft is NOT RESPONSIBLE for software installed on your server.''''' | ||
− | ==Installing Python Manually== | + | ==Installing Python Manually with Swinstall== |
Download Python and all of its dependency depot files [http://hpux.connect.org.uk/hppd/hpux/Languages/python-2.7.6/ here] | Download Python and all of its dependency depot files [http://hpux.connect.org.uk/hppd/hpux/Languages/python-2.7.6/ here] | ||
Line 32: | Line 32: | ||
Install the python depot | Install the python depot | ||
swinstall -s /tmp/python-2.7.6-ia64-11.xx.depot | swinstall -s /tmp/python-2.7.6-ia64-11.xx.depot | ||
− | |||
==Installing Python with Depot Helper== | ==Installing Python with Depot Helper== |
Revision as of 17:30, 21 November 2015
Contents
Overview
Python may be installed manually using swinstall or using the DepotHelper. Our preference is to use DepotHelper which simplifies the install.
All of the installation information and links provided here were believed to be accurate at the time of writing. This information is provided as a service and is not warranted in any way. Vital Soft is NOT RESPONSIBLE for software installed on your server.
Installing Python Manually with Swinstall
Download Python and all of its dependency depot files here
Transfer binary the depot files to /tmp on HPUX
Gunzip all of the depot.gz files
Install the dependency depots in this order :
swinstall -s /tmp/bzip2-1.0.6.depot swinstall -s /tmp/db-6.0.20.depot swinstall -s /tmp/expat-2.1.0.depot swinstall -s /tmp/gdbm-1.10.depot swinstall -s /tmp/gettext-0.18.3.1.depot swinstall -s /tmp/libffi-3.0.13.depot swinstall -s /tmp/libiconv-1.14.depot swinstall -s /tmp/ncurses-5.9.depot swinstall -s /tmp/openssl-1.0.1e.depot swinstall -s /tmp/readline-6.2.005.depot swinstall -s /tmp/sqlite-3.8.1.depot swinstall -s /tmp/zlib-1.2.8.depot
Install the python depot
swinstall -s /tmp/python-2.7.6-ia64-11.xx.depot
Installing Python with Depot Helper
Installing Depot Helper
Download Depot Helper
Transfer binary the depothelper-2.00-ia64-11.xx.depot.gz to /tmp and perform the following:
login root gunzip /tmp/depothelper-2.00-ia64-11.xx.depot.gz swinstall -s /tmp/depothelper-2.00-ia64-11.xx.depot
Press Return to continue with the install
Press the space bar to select the file
Press the tab key and use your cursor arrows to select Actions->Install
Wait for the initial installation prep to finish
Once it has finished, tab to OK and hit enter
Wait for the installation to complete
Once it has completed, tab to Done and press Enter
To exit the installer press tab, press enter, use your cursor to select Exit and press Enter
Installing Python
login root /usr/local/bin/depothelper -f python
example: # /usr/local/bin/depothelper -f python ================================================================== Package-version Comment Download Install ================================================================== ia64-11.xx Package list OK OK bzip2-1.0.6 Dependency (01/12) OK OK db-6.0.20 Dependency (02/12) OK OK expat-2.1.0 Dependency (03/12) OK OK gdbm-1.10 Dependency (04/12) OK OK gettext-0.18.3.1 Dependency (05/12) OK OK libffi-3.0.13 Dependency (06/12) OK OK libiconv-1.14 Dependency (07/12) OK OK ncurses-5.9 Dependency (08/12) OK OK openssl-1.0.1e Dependency (09/12) OK OK readline-6.2.005 Dependency (10/12) OK OK sqlite-3.8.1 Dependency (11/12) OK OK zlib-1.2.8 Dependency (12/12) OK OK python-2.7.6 Requested OK OK ==================================================================
Confirm python has been installed
login bolive $ python Python 2.7.6 (default, Nov 13 2013, 15:55:37) [C] on hp-ux11 Type "help", "copyright", "credits" or "license" for more information. >>> quit() $