Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gzagatti/7d15746be282cba28d86041f599dec91 to your computer and use it in GitHub Desktop.
Save gzagatti/7d15746be282cba28d86041f599dec91 to your computer and use it in GitHub Desktop.
Uninstall a conda package and its dependencies.
conda info --json r-essentials | jq -r ' ."r-essentials"[] | select(.version == "1.5.2" and .build == "r3.3.2_0") | .depends[] ' | awk '{print $1;}' | grep -E '^r-' | xargs -J {} conda uninstall {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment