如何卸载 Oracle Instant 客户端?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/30675547/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 02:53:34  来源:igfitidea点击:

How do I deinstall Oracle Instant client?

oracleoracle11g

提问by Jim

I need to remove Oracle 11.2.0.1 Instant Client from a Windows 7 machine. I ran the OUI to remove it, but a popup displayed telling me to run [oracle_home]/deinstall/deinstall. Except that there is no deinstall/deinstall in the oracle_home for the Instant Client (there is for other clients). Apparently Oracle failed to include a deinstall for the Instant Client.

我需要从 Windows 7 机器上删除 Oracle 11.2.0.1 Instant Client。我运行 OUI 以将其删除,但显示的弹出窗口告诉我运行 [oracle_home]/deinstall/deinstall。除了在 oracle_home 中没有针对 Instant Client 的 deinstall/deinstall(其他客户端有)。显然,Oracle 未能包括对 Instant Client 的卸载。

回答by user3306087

You can run setup.exe one more time and install Oracle Administration Assistant for Windows in the same ORACLE_HOME directory, use Custom installation type enter image description here). After install check the folder and you'll see deinstall directory. Run the deinstall.bat as Administrator.

您可以再次运行 setup.exe 并在同一个 ORACLE_HOME 目录中安装适用于 Windows 的 Oracle Administration Assistant,使用自定义安装类型 在此处输入图片说明)。安装后检查文件夹,你会看到卸载目录。以管理员身份运行 deinstall.bat。

回答by Michael

Just adding my response to this, I kind of did mine by accident, so I found the following worked for:

只是添加我对此的回应,我有点意外地做了我的回应,所以我发现以下内容适用:

  1. Run the setup.exe
  2. Select the home environment that the instant client is installed into
  3. You should have 3 levels on the tree, make sure you only select the bottom node, the click remove, it should prompt you to confirm that you are going to remove the instant client and some other stuff.
  4. Once that finishes do the same with the 2nd level node and once that is gone it removes the top level node/home as well
  1. 运行 setup.exe
  2. 选择安装 Instant Client 的家庭环境
  3. 你应该在树上有 3 个级别,确保你只选择底部节点,点击删除,它应该提示你确认你要删除即时客户端和其他一些东西。
  4. 一旦完成,对第二级节点执行相同的操作,一旦它消失,它也会删除顶级节点/主节点

cheers Michael

欢呼迈克尔

回答by hui chen

You can use the Oracle Universal Installer but you need to start from the lowest level of the repository. If you directly select the whole environment, it won't work.

您可以使用 Oracle Universal Installer,但您需要从存储库的最低级别开始。如果直接选择整个环境是行不通的。

回答by HMa

The OUI shows a tree structure of the oracle instant client. Check the node of the client , not the root of the tree structure.

OUI 显示了 oracle 即时客户端的树结构。检查客户端的节点,而不是树结构的根。

回答by themackyo

I just had this issue on linux, I accidentally installed instant client. what you do is run the runinstallerwith -deinstall -home(full path to oracle home) arguments

我刚刚在 linux 上遇到了这个问题,我不小心安装了即时客户端。你所做的是运行runinstallerwith -deinstall -home(oracle home 的完整路径)参数

Mine looked like this

我的看起来像这样

./runInstaller -deinstall -home /opt/oracle/db/product/12.1.0/client_1

That should remove everything. It is odd because all the documents say just run OUI but the instant client does not come with any deinstallation programs.

那应该删除所有内容。这很奇怪,因为所有文件都说只运行 OUI 但即时客户端没有附带任何卸载程序。