Skip to content

Instantly share code, notes, and snippets.

@adujardin
Created August 23, 2018 13:19
Show Gist options
  • Save adujardin/9aaf5bc509cf5b2cde09c31f9f35c39b to your computer and use it in GitHub Desktop.
Save adujardin/9aaf5bc509cf5b2cde09c31f9f35c39b to your computer and use it in GitHub Desktop.
ccache setup ubuntu
#https://askubuntu.com/a/470636/609717
# Install package
sudo apt install -y ccache
# Update symlinks
sudo /usr/sbin/update-ccache-symlinks
# Prepend ccache into the PATH
echo 'export PATH="/usr/lib/ccache:$PATH"' | tee -a ~/.bashrc
# Source bashrc to test the new PATH
source ~/.bashrc && echo $PATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment