1837083 Members
2830 Online
110112 Solutions
New Discussion

Patches

 
John B Goode
Advisor

Patches

Hi,
I'm new at this....smarter than some so the UNIX knowledge is a probable event....
I bought a HP 712/100 from Ebay and for the past 3 days have:
Configured correct resolution
Setup nsswitch to look in the hosts file and then DNS so I can Surf IT sites and run a Xserver. My UNIX version is HP-UX 11.0 and swlist shows the following:
HPUXEng32RT B.11.00 and
UXCoreMedia B.11.00.
I want to learn to install gzipped tar files and move around in the enviorment. My question is how do I patch this thing current without trashing it? There are alot of patches to choose from and I uploaded a .fs file to this site. I am able to gunzip and untar but make or make install and all that stuff doesn't work. I know I need a compiler and don't know enough yet to check it. I was wonderind if someone could let me know what and how to patch my UNIX box to something more current.
This forum is a wonderful thing and has really helped me.
3 REPLIES 3
Patrick Wallek
Honored Contributor

Re: Patches

If you uploaded the .fs file and then downloaded the patches that it said that you needed in gzip format then you need to do the following:

# gunzip file.gz
# tar -xvf file.tar

Now if you do an 'ls' you should see a lot of files and one should be a file called something like 'create_depot_hp-ux_11'. Now just run that file.

# ./create_depot_hp-ux_11

You need to make sure you have A LOT of disk space available. If you have un-tared the file, which it sounds like you have, you can transfer that file to a PC and then 'rm' it to save some disk space. Whatever size that gunziped file is, you will need about 4 times that amount.

Once you have run the create_depot script, it you will have an HP-UX software depot that you can install from. You do this via swinstall.

If you invoke 'swinstall' without any options, it will come up in GUI mode. At this point you specify the directory that you just ran the create_depot script from in the 'install from' location. If you did all of this in /tmp then the path will be /tmp/depot to install from.

Now just follow the prompts to install the patches.

Note that there should also be a README file or something similar included in the patch.tar file. That should also tell you how to install the patches.

HP does not use make to install patches. You will only need a compiler if you are installing applications from their source code.

There is a lot of good documentation availble to you at: http://docs.hp.com
Mehdi_1
Regular Advisor

Re: Patches

Hi

The place that you can download lot of software for your machine is:

http://hpux.connect.org.uk

In that site you can find lotof source and binary depots, that comes handy.

For start I would install the followings:

bison
flex
make
gcc
autoconf
automake
gzip
tar

That should give you enough tools to download and even compile more programs


Mehdi
John B Goode
Advisor

Re: Patches

Thanks so much for the help. I checked this before I was going to bed and saw replies. I work for the Navy as a tactical computer hardware tech and I'm trying to broaden my world into the software side of things and also MS Windows has become a bit of a bore. As I get more savvy I will make this promise to help others as you all are helping me...
later,
John