Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Oracle: All versions FAQ

Tips and Tricks

How do you completely uninstall Oracle9i from a Sun system? by Michael42
Posted: 20 Apr 04

1. Use the OUI and uninstall products.
   This is done by selecting Deinstall Products and
   Oracle Homes -- OraHome92 -- [x] Oracle9i Database

   Then select the [Remove] button.

2. Run the script below (change as your environment requires):


# Confirm
echo "Purge All Oracle Files and Directories"
echo ""
echo "About to purge all Oracle directories and files from this system."
echo "Press Ctr-C to abort or Enter to continue"
echo ""
echo "IMPORTANT: Make sure you have uninstalled Oracle using Oracle installer before running!"
read pause

echo Removing Oracle directories and files...
rm -r /usr1/oracle
rm -r /var/opt/oracle

rm /usr/local/bin/dbhome
rm /usr/local/bin/oraenv
rm /usr/local/bin/coraenv
rm /var/temp/.oracle

echo .
echo Oracle Removed

Back to Oracle: All versions FAQ Index
Back to Oracle: All versions Forum

My Archive

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close