Michael Schuster wrote:
> dick hoogendijk wrote:
>> I installed opera 9.52 from a tar.gz file. I used an install.sh script.
>> If I want to get rid of opera how do I do that? Afaik the install
>> script does not have an uninstall option.
> 
> pfexec pkgrm opera

hmmm

If it was installed via a tar file using its install.sh script, then
pkgrm won't help at all.  You would need to find an "uninstall.sh"
script in the tar file and hope it works, or dig apart the install.sh
script and write your own uninstall.   It sounds like there is no
uninstaller, so it probably means tracking it all down and removing
it by hand.

Been there, done that.  Here's some hints:

* Try using `find -newer /path/to/tar/file/you/installed -ls`
to get a list of files modified since you downloaded the tar file to
help find the files that were touched by the installer.  be sure to
weed out all the false positives before you use the list to actually
remove anything :-)

* edit the install.sh script to echo the install commands instead of
executing them, dump the output into a shell script and edit it to
rm the files.

This is one of the reasons why packages are preferred over tar files;
they are easier to manage.

    -John


Reply via email to