Fix Infer Installation Procedure (#1344)

Summary:
Similar to the `tar` command, append `sudo` to the `ln` command since it fails due to 'Permission Denied' errors on Linux

Pull Request resolved: https://github.com/facebook/infer/pull/1344

Reviewed By: skcho

Differential Revision: D24917642

Pulled By: jvillard

fbshipit-source-id: d593d12b8
master
Edwin Kofler 4 years ago committed by Facebook GitHub Bot
parent ce9472f451
commit 45f2db284d

@ -25,7 +25,7 @@ latest release, eg `VERSION=0.17.0`):
VERSION=0.XX.Y; \
curl -sSL "https://github.com/facebook/infer/releases/download/v$VERSION/infer-linux64-v$VERSION.tar.xz" \
| sudo tar -C /opt -xJ && \
ln -s "/opt/infer-linux64-v$VERSION/bin/infer" /usr/local/bin/infer
sudo ln -s "/opt/infer-linux64-v$VERSION/bin/infer" /usr/local/bin/infer
```
If the binaries do not work for you, or if you would rather build infer from

Loading…
Cancel
Save