---
title: 卸载软件
description: "OmniOperator算子加速软件卸载仅需在管理节点操作并确保OmniOperator算子加速上层引擎处于没有任务执行的状态。"
url: https://www.hikunpeng.com/document/detail/zh/kunpengboostkithistory/2400/bds/kunpengbds_omniruntime_20_0230.html
sourcePath: /source/zh/kunpengboostkithistory/2400/bds/kunpengbds_omniruntime_20_0230.html
indexId: 2a292f9b1cdc737ea4122bfc7af59392188c3c34e72eda59630e68dae96a3d1e78
---
# 卸载软件

OmniOperator算子加速软件卸载仅需在管理节点操作并确保OmniOperator算子加速上层引擎处于没有任务执行的状态。

安装目录以“/opt/omni-operator/conf”和“/opt/omni-operator/lib”为例，Hive Extension配置的目录以“/opt/omni-operator/hive”为例。

1. 删除conf和hive文件夹。
  1 2 rm -rf /opt/omni-operator/conf rm -rf /opt/omni-operator/hive

2. 进入“/opt/omni-operator/lib”目录，并删除依赖SO文件以及OmniOperator算子加速相关文件。
  1 2 3 cd /opt/omni-operator/lib rm -rf libjemalloc.so.2 libLLVM-15.so rm -rf include libboostkit-omniop* boostkit-omniop* libsecurec.so

3. 可选：如果使用的是Spark引擎，请从HDFS中删除OmniOperator算子加速安装包。
  1 hdfs dfs -rm -f /user/root/omni-operator.tar.gz

4. 修改环境变量配置。

  a. 打开环境变量文件“~/.bashrc”。
    1 vi ~/.bashrc

  b. 按“i”进入编辑模式，删除LD_LIBRARY_PATH中与OmniOperator算子加速相关的路径配置。
  c. 按“Esc”键，输入:wq!，按“Enter”保存并退出编辑。
  d. 执刷新环境变量。
    1 source ~/.bashrc
