Comments (8)
There will be an uninstall script in a future release. For now, you want to loop over the executables in /opt/chefdk/bin
and remove the corresponding symlinks in /usr/bin/
. Then you can rm -rf /opt/chefdk
and finally pkgutil --forget com.getchef.pkg.chefdk
to remove it from the package database. Side note, it would be cool if OS X had an uninstaller.
from chef-dk.
@rberger On Mac OSX ChefDK can now be installed with homebrew cask. You can uninstall it with brew cask uninstall chefdk
, which will remove the symlinks and com.getchef.pkg.chefdk
.
from chef-dk.
I made uninstall script for Mac OS.
https://gist.github.com/otukutun/0106977649dd765eb9b7
from chef-dk.
I recommend you also clear out the chefdk's ruby in your user directory. rm -rf ~/.chefdk/
should do the trick.
from chef-dk.
Should I also care about my ~/.gem directory when uninstalling chef-dk?
from chef-dk.
@ricardolupo If you're using ChefDK's ruby as your local system ruby environment, it shouldn't touch ~/.gem.
However I'd be wary about removing /.chefdk entirely on upgrades. That directory is also where the policyfile-downloaded cookbooks are cached (/.chefdk/cache).
from chef-dk.
I remove the ~/.chefdk for those times I've managed to, yet again, totally hose my gems.
from chef-dk.
Thanks @otukutun, your script uninstalled fine for me when run under sudo (or root).
from chef-dk.
Related Issues (20)
- Gemfile.lock in Working Directory Causes Bundler version error HOT 3
- inspec bug in chefdk 4.4.14 HOT 10
- Omnibus and Hab appbundling are not the same HOT 1
- Dependabot can't resolve your Ruby dependency files HOT 2
- Dependabot can't resolve your Ruby dependency files HOT 2
- Improve test execution times with a pre-warmed docker image HOT 1
- Ship DK 3 for Oct HOT 1
- Ship DK 4 for Oct HOT 1
- Release DK 3 to resolve libxslt CVE HOT 1
- Cookbook generators failed to generate new cookbooks -- undefined method `metadata' HOT 2
- Release Chef-DK 4.6 HOT 1
- Release DK for December HOT 1
- policyfile checksum keeps changing HOT 2
- Your .dependabot/config.yml contained invalid details HOT 1
- Release DK for Feb HOT 1
- Fix ChefDK 3 build pipeline
- DK release notes are not up to date on docs.chef.io HOT 2
- Any Documentation/script to remove chefdk from linux system? HOT 4
- Generate Policyfile.lock.json without Kitchen Test HOT 1
- Running chef-zero/chef-solo on chef server itself.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chef-dk.