1833747 Members
2468 Online
110063 Solutions
New Discussion

remove software

 
Dusan Stefanovic
Frequent Advisor

remove software

I install COBOL on HP-UX v11.23(Integrity).
I couldn't install with swinstall command (SD-UX). So I mount CD and start script
#sh ./setup.sh
Installation finished without problem. COBOL work's fine.
Now I want to uninstall COBOL.I can't see COBOL installation files with swlist (SD-UX)commands.
I install COBOL in /opt/microfocus directory.
Is there some other way to uninstall programs.
5 REPLIES 5
Luk Vandenbussche
Honored Contributor

Re: remove software

Hi Dusan,

I you can't see it with swlist then you can't remove it with swremove

The only solution to remove it is

rm -r /opt/microfocus

Arunvijai_4
Honored Contributor

Re: remove software

Dont you have any options for Uninstalling COBOL with the setup.sh or similar scripts in the CD. Just check that out. Otherwise, you can just delete /opt/microfocus

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Muthukumar_5
Honored Contributor

Re: remove software

Is that cobol binary is available in /opt/microfocus? Can you check swlist as,

# swlist -l file | grep -i 'cobol'

If it is not returning anything then remove /opt/microfocus directory manually.

-Muthu
Easy to suggest when don't know about the problem!
Cem Tugrul
Esteemed Contributor

Re: remove software

Hi Dusan,
it is only use swremove if you installed
something with swinstall so as others mentioned just rm -r /opt/microfocus

Good Luck,

Our greatest duty in this life is to help others. And please, if you can't
Geoff Wild
Honored Contributor

Re: remove software

If there's no optiond for uninstalling (with the setup program), then you will have to manually do so - look at the setup.sh file - see if it reads a file which determines the location of all files - then you could write a script to remove those files...

Unless the setup.sh does a swinstall, you will never see the software in a swlist...

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.