Uninstalling the Tool
If the DevKit Pipeline or any of its installed tools are no longer needed, you can uninstall them on the corresponding worker nodes. The uninstallation is considered successful if the related files are no longer present.
Uninstalling the DevKit Pipeline
Run the following command to uninstall the DevKit Pipeline. In this example, it is installed in /home/pipeline. Replace the example directory with the actual directory.
cd /home/pipeline rm -rf devkit-pipeline-v1.1 rm -rf devkit-pipeline-v1.1.tar.gz
Uninstalling the DevKit Web Tool
- Run the following command to uninstall the DevKit Web tool. In this example, it is installed in /opt. Replace the example directory with the actual directory.
bash /opt/DevKit/tools/uninstall.sh
- Type y and press Enter to uninstall DevKit Web. Command output:
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.
- If you type y and press Enter when "A task is running. Are you sure you want to uninstall DevKit?(y/n)" is displayed, the task in progress will be stopped.
- The uninstallation will completely clear the tool installation history.
Uninstalling the DevKit CLI Tool
- Run the following command to uninstall the DevKit CLI tool. Replace the example directory .local with the actual directory.
cd ${HOME}/.local rm -rf DevKit-CLI-24.0.T50-Linux-Kunpeng rm -rf DevKit-CLI-24.0.T50-Linux-Kunpeng.tar.gz - Modify the ~/.bashrc environment variable to delete the settings related to DevKit CLI.
sed -i '/DevKit-CLI-24.0.T50-Linux-Kunpeng/d' ${HOME}/.bashrc - Reload the environment variable. USER indicates the user who installs the tool.
su - USER
Uninstalling GCC for openEuler
- Run the following command to uninstall GCC for openEuler. Replace the example directory .local with the actual directory.
cd ${HOME}/.local rm -rf gcc-10.3.1-2023.12-aarch64-linux - Modify the ~/.bashrc environment variable to delete the settings related to GCC for openEuler.
sed -i '/.*export GCC_HOME=${HOME}\/.local/d' ${HOME}/.bashrc sed -i '/.*export .*=${GCC_HOME}.*/d' ${HOME}/.bashrc - Reload the environment variable. USER indicates the user who installs the tool.
su - USER
Uninstalling the BiSheng Compiler
- Run the following command to uninstall the BiSheng Compiler. Replace the example directory .local with the actual directory.
cd ${HOME}/.local rm -rf BiShengCompiler-3.2.0-aarch64-linux - Modify the ~/.bashrc environment variable to delete the settings related to the BiSheng Compiler.
sed -i '/.*export BISHENG_COMPILER_HOME=${HOME}\/.local/d' ${HOME}/.bashrc sed -i '/.*export .*=${BISHENG_COMPILER_HOME}.*/d' ${HOME}/.bashrc - Reload the environment variable. USER indicates the user who installs the tool.
su - USER
Uninstalling BiSheng JDK 8
- Run the following command to uninstall BiSheng JDK 8. Replace the example directory .local with the actual directory.
cd ${HOME}/.local rm -rf bisheng-jdk1.8.0_402 - Modify the ~/.bashrc environment variable to delete the settings related to BiSheng JDK 8.
sed -i '/bisheng-jdk1.8.0_402/,+3d' ${HOME}/.bashrc - Reload the environment variable. USER indicates the user who installs the tool.
su - USER
Uninstalling BiSheng JDK 17
- Run the following command to uninstall BiSheng JDK 17. Replace the example directory .local with the actual directory.
cd ${HOME}/.local rm -rf bisheng-jdk-17.0.10 - Modify the ~/.bashrc environment variable to delete the settings related to BiSheng JDK 17.
sed -i '/bisheng-jdk-17.0.10/,+1d' ${HOME}/.bashrc - Reload the environment variable. USER indicates the user who installs the tool.
su - USER
Uninstalling the Compatibility Testing Tool
- Run the following command to uninstall the Compatibility Testing tool. Replace the example directory .local with the actual directory.
cd ${HOME}/.local rm -rf compatibility_testing - Modify the ~/.bashrc environment variable to delete the settings related to the Compatibility Testing tool.
sed -i '/compatibility_testing/d' ${HOME}/.bashrc - Reload the environment variable. USER indicates the user who installs the tool.
su - USER
Uninstalling A-FOT
- Run the following command to uninstall A-FOT. Replace the example directory .local with the actual directory.
cd ${HOME}/.local rm -rf a-fot - Modify the ~/.bashrc environment variable to delete the settings related to A-FOT.
sed -i '/#*export A_FOT_HOME=${HOME}\/.local/d' ${HOME}/.bashrc sed -i '/#*export PATH=${A_FOT_HOME}:${PATH}/d' ${HOME}/.bashrc - Reload the environment variable. USER indicates the user who installs the tool.
su - USER
Uninstalling the Java Performance Testing Tool
Run the following command to uninstall the Java Performance Testing tool. Replace the example directory .local with the actual directory.
cd ${HOME}/.local
rm -rf devkit_tester
Uninstalling a Non-invasive Switching Dependency
Run the following command to uninstall a non-invasive switching dependency. Replace the example directory .local with the actual directory.
cd ${HOME}/.local
rm -rf wrap-bin
Uninstalling the Code Inspector
Run the following command to uninstall the Code Inspector. Replace the example directory .local with the actual directory.
cd ${HOME}/.local
rm -rf code-inspector-1.0.0