Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

Any Documentation/script to remove chefdk from linux system? #2847

Open
yogeshlc opened this issue Apr 9, 2020 · 4 comments
Open

Any Documentation/script to remove chefdk from linux system? #2847

yogeshlc opened this issue Apr 9, 2020 · 4 comments

Comments

@yogeshlc
Copy link

yogeshlc commented Apr 9, 2020

Is there any documentation to uninstall chefdk from linux system. I got a link to uninstall complete chef (https://docs.chef.io/uninstall/) but there is no mention about chefdk.

Is there any ready made script/ documentation to remove/unistall chefdk?

@yogeshlc yogeshlc changed the title Any Documentation to remove chefdk from linux system? Any Documentation/script to remove chefdk from linux system? Apr 9, 2020
@yogeshlc
Copy link
Author

yogeshlc commented Apr 13, 2020

From https://chef.readthedocs.io/en/latest/install_workstation.html

Uninstall

The Chef development kit can be uninstalled using the steps below that are appropriate for the platform on which the Chef development kit is installed.

Debian
Use the following command to remove the Chef development kit on Debian-based platforms:

$ dpkg -P chefdk
Mac OS X
Use the following commands to remove the Chef development kit on Mac OS X.

To remove installed files:

$ sudo rm -rf /opt/chefdk
To remove the system installation entry:

$ sudo pkgutil --forget com.getchef.pkg.chefdk
To remove the symlinks under /usr/bin:

$ sudo find /usr/bin -lname '/opt/chefdk/*' -delete
Red Hat Enterprise Linux
Use the following commands to remove the Chef development kit on Red Hat Enterprise Linux-based platforms:

$ rpm -qa *chefdk*
or:

$ yum remove
Microsoft Windows
Use Add / Remove Programs to remove the Chef development kit on the Microsoft Windows platform.

@yogeshlc
Copy link
Author

Closing this issue by linking to exiting issue which is similar one.
Link Issue: Document how to uninstall chefdk #17

@yogeshlc yogeshlc reopened this Apr 13, 2020
@yogeshlc
Copy link
Author

Reopening this issue as Issue #17 is closed and dont have enough input.

@yogeshlc
Copy link
Author

I Tried following command,

sudo yum remove -y chefdk-3.9.0-1.el7.x86_64

which has removed the chefdk completely.
Still need to see which all reference links are still hanging.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant