Created
August 2, 2017 15:34
-
-
Save gzagatti/7d15746be282cba28d86041f599dec91 to your computer and use it in GitHub Desktop.
Uninstall a conda package and its dependencies.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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