Skip to content

Instantly share code, notes, and snippets.

@changx03
Last active September 26, 2023 00:24
Show Gist options
  • Save changx03/8f0ce23302bede44ef1128b2d148bca2 to your computer and use it in GitHub Desktop.
Save changx03/8f0ce23302bede44ef1128b2d148bca2 to your computer and use it in GitHub Desktop.
Change Ubuntu cache directory on remove server
# These parameters are only apply in your current terminal.
# Run them again once you start a new terminal!
export XDG_CACHE_HOME=/data/<username>/.cache
export PIP_CACHE_DIR=/data/<username>/.cache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment