Difference between revisions of "Installing Python on HPUX"

From Vital Soft Wiki
Jump to: navigation, search
>Jeremyb
>Johno
(Overview)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
  
==Installing Python Manually==
+
==Overview==
  
Download Python and all of its dependency depot files [http://hpux.connect.org.uk/hppd/hpux/Languages/python-2.7.6/ here]
+
Python may be installed manually using swinstall or using the DepotHelper.  Our preference is to use DepotHelper which simplifies the install by streamlining the installation of all of the dependencies.
 +
 
 +
'''''All of the installation information and links provided here were believed to be accurate at the time of writing.  Screen shots and file names are version specific and will likely be different for your site specific installation.  This information is provided as a courtesy 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 [http://hpux.connect.org.uk/hppd/hpux/Languages/python-2.7.10/ here]
  
 
Transfer binary the depot files to /tmp on HPUX
 
Transfer binary the depot files to /tmp on HPUX
Line 27: Line 33:
 
   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 Depot Helper==
+
===Installing Depot Helper===
  
 
Download [http://hpux.connect.org.uk/hppd/hpux/Sysadmin/depothelper-2.00/ Depot Helper]
 
Download [http://hpux.connect.org.uk/hppd/hpux/Sysadmin/depothelper-2.00/ Depot Helper]
Line 79: Line 86:
  
  
==Installing Python with Depot Helper==
 
  
 +
===Installing Python===
 
   login root
 
   login root
 
   /usr/local/bin/depothelper -f python
 
   /usr/local/bin/depothelper -f python
Line 105: Line 112:
 
   ==================================================================
 
   ==================================================================
  
 
+
 
Confirm python has been installed :
+
==Confirm python has been installed==
 
   login bolive
 
   login bolive
 
   $ python
 
   $ python

Latest revision as of 17:40, 21 November 2015

Overview

Python may be installed manually using swinstall or using the DepotHelper. Our preference is to use DepotHelper which simplifies the install by streamlining the installation of all of the dependencies.

All of the installation information and links provided here were believed to be accurate at the time of writing. Screen shots and file names are version specific and will likely be different for your site specific installation. This information is provided as a courtesy 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

Depot helper install 1.PNG


Press the space bar to select the file

Depot helper install 2.PNG


Press the tab key and use your cursor arrows to select Actions->Install

Depot helper install 3.PNG


Wait for the initial installation prep to finish

Depot helper install 4.PNG


Once it has finished, tab to OK and hit enter

Depot helper install 5.PNG


Wait for the installation to complete

Depot helper install 6.PNG


Once it has completed, tab to Done and press Enter

Depot helper install 7.PNG


To exit the installer press tab, press enter, use your cursor to select Exit and press Enter

Depot helper install 8.PNG


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()
 $