如果用户不再使用DevKit Pipeline工具或者其安装的某些组件,则可以在对应工作节点执行卸载操作,卸载后查看无对应文件即卸载成功。
cd /home/pipeline rm -rf devkit-pipeline-v1.0.3 rm -rf devkit-pipeline-v1.0.3.tar.gz
bash /opt/DevKit/tools/uninstall.sh
You will remove devkit from your operating system, do you want to continue? [y/N]: y get devkit config The system uses yum to manage packages. Delete sudo tools Delete sudo tools success Delete /opt/DevKit/logs/sys_perf file success Delete /opt/DevKit/logs/components_log file success Delete /opt/DevKit/tools/python_venv_aituner file success File /opt/DevKit/config/agent_space/aituner not exists, continue Delete tuner install path Delete devkit install path success Starting uninstalling DevKit for Java Stopping Service DevKit for Java if it's running. unregister Service DevKit for Java. Removed /etc/systemd/system/multi-user.target.wants/java_perf.service. WARN: none file under DevKit Home /opt/DevKit/devkitplugins is found for DevKit for Java start removing files under DevKit for Java's home folder start removing java_perf.service files under /home/root/java_perf The uninstallation is completed. Thanks for using DevKit for Java during these times! Hope see you again! delete web ssl service certificates success no crontab for devkit devkit:x:1000:1000::/home/devkit:/sbin/nologin Execute uninstall success.
cd ${HOME}/.local rm -rf DevKit-CLI-24.0.RC2-Linux-Kunpeng rm -rf DevKit-CLI-24.0.RC2-Linux-Kunpeng.tar.gz
sed -i '/DevKit-CLI-24.0.RC2-Linux-Kunpeng/d' ${HOME}/.bashrc
su - USER
cd ${HOME}/.local rm -rf gcc-10.3.1-2023.12-aarch64-linux
sed -i '/.*export GCC_HOME=${HOME}\/.local/d' ${HOME}/.bashrc sed -i '/.*export .*=${GCC_HOME}.*/d' ${HOME}/.bashrc
su - USER
cd ${HOME}/.local rm -rf BiShengCompiler-3.2.0-aarch64-linux
sed -i '/.*export BISHENG_COMPILER_HOME=${HOME}\/.local/d' ${HOME}/.bashrc sed -i '/.*export .*=${BISHENG_COMPILER_HOME}.*/d' ${HOME}/.bashrc
su - USER
cd ${HOME}/.local rm -rf bisheng-jdk1.8.0_402
sed -i '/bisheng-jdk1.8.0_402/,+3d' ${HOME}/.bashrc
su - USER
cd ${HOME}/.local rm -rf bisheng-jdk-17.0.10
sed -i '/bisheng-jdk-17.0.10/,+1d' ${HOME}/.bashrc
su - USER
cd ${HOME}/.local rm -rf compatibility_testing
sed -i '/compatibility_testing/d' ${HOME}/.bashrc
su - USER
cd ${HOME}/.local rm -rf a-fot
sed -i '/#*export A_FOT_HOME=${HOME}\/.local/d' ${HOME}/.bashrc sed -i '/#*export PATH=${A_FOT_HOME}:${PATH}/d' ${HOME}/.bashrc
su - USER
cd ${HOME}/.local rm -rf devkit_tester
cd ${HOME}/.local rm -rf wrap-bin
cd ${HOME}/.local rm -rf code-inspector-1.0.0