HP-UX depothelper to download dependencies for open source ports
I always needed to install gcc, bash and wget on HP-UX. Open source ports of most of such kind of softwares are available for download at http://hpux.connect.org.uk/.
However, installing any of these requires satisfying different dependencies from http://hpux.connect.org.uk
Depothelper is one such tool from http://hpux.connect.org.uk. It downloads all required dependencies required for your pre-complied depots from http://hpux.connect.org.uk/
Below is the example for installing gcc from http://hpux.connect.org.uk/. It eventually failed to install gcc but that was due to space constraints and requires some amount of work. But below example suffice to explain the overall concept and working of Depothelper tool.
However, installing any of these requires satisfying different dependencies from http://hpux.connect.org.uk
Depothelper is one such tool from http://hpux.connect.org.uk. It downloads all required dependencies required for your pre-complied depots from http://hpux.connect.org.uk/
Below is the example for installing gcc from http://hpux.connect.org.uk/. It eventually failed to install gcc but that was due to space constraints and requires some amount of work. But below example suffice to explain the overall concept and working of Depothelper tool.
-----------------------------START------------------------------>
(root@hp-box)[/My_Depots] swinstall -s /My_Depots/depothelper-2.00-ia64-11.31.depot depothelper
======= 03/25/13 15:58:50 IST BEGIN swinstall SESSION
(non-interactive) (jobid=hp-box-0191)
* Session started for user "root@hp-box".
* Beginning Selection
* Target connection succeeded for "hp-box:/".
* Source:
/My_Depots/depothelper-2.00-ia64-11.31.depot
* Targets: hp-box:/
* Software selections:
depothelper.depothelper-RUN,r=2.00,a=HP-UX_B.11.31_64
* Selection succeeded.
* Beginning Analysis and Execution
* Session selections have been saved in the file
"/.sw/sessions/swinstall.last".
* The analysis phase succeeded for "hp-box:/".
* The execution phase succeeded for "hp-box:/".
* Analysis and Execution succeeded.
NOTE: More information may be found in the agent logfile using the
command "swjob -a log hp-box-0191 @ hp-box:/".
======= 03/25/13 15:59:19 IST END swinstall SESSION (non-interactive)
(jobid=hp-box-0191)
(root@hp-box)[/My_Depots] depothelper
depothelper: Must specify at least one package[-version]
Syntax: depothelper [options] package[-version] [package[-version]...]
Options are as follows:
-a
-c
-e
-f forces depot downloads/installs, even if already downloaded/installed
-h (or -?) displays this syntax message
-l [package[-version]...] lists packages with their dependencies. If no
parameter is supplied, all installed packages are displayed
-n will download the depots but not install them. If -u is also supplied,
then a list of depots (including any dependencies) to be uninstalled
will be displayed rather than actually being uninstalled
-o
-p
-r will remove downloaded depots that successfully installed
-u uninstalls the specified packages and if possible, uninstalls
their dependencies as well
If -a/-o don't specify hppa/11.31, then -n is assumed (i.e. no install)
(root@hp-box)[/My_Depots] depothelper gcc
======================================================================================================================================================
Package-version Comment Download Install
======================================================================================================================================================
hppa-11.31 Package list OK OK
gettext-0.16.1 Uninstall old ver. N/A OK
gettext-0.18.2 Dependency (01/03) OK OK
libiconv-1.11 Uninstall old ver. N/A OK
libiconv-1.14 Dependency (02/03) OK OK
zlib-1.2.3 Uninstall old ver. N/A OK
zlib-1.2.7 Dependency (03/03) OK OK
gcc-4.2.3 Requested Downloading...
gcc-4.2.3 Requested OK FAILED
======================================================================================================================================================
(root@hp-box)[/My_Depots]
Hope it helps.
Never miss an update. Subscribe and follow to stay informed. Delivered Every Tuesday.
We hate spam too, we will never share your details.
Mandar Pise
Opinions expressed by techsutram contributors are their own. More details
Mandar is a seasoned software professional for more than a decade. He is Cloud, AI, IoT, Blockchain and Fintech enthusiast. He writes to benefit others from his experiences. His overall goal is to help people learn about the Cloud, AI, IoT, Blockchain and Fintech and the effects they will have economically and socially in the future.
Weekly Newsletter
Never miss an update. Subscribe and follow to stay informed.
Delivered Every Tuesday.
Delivered Every Tuesday.
Thank you! You have successfully subscribed to our newsletter.
We hate spam too, we will never share your details.
No comments:
Post a Comment
Your valuable comments are welcome. (Moderated)