From 45f2db284d6bd9da42f4b0dbb02239e7e6b3a775 Mon Sep 17 00:00:00 2001 From: Edwin Kofler <24364012+eankeen@users.noreply.github.com> Date: Wed, 18 Nov 2020 07:55:12 -0800 Subject: [PATCH] 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 --- website/docs/00-getting-started.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/00-getting-started.md b/website/docs/00-getting-started.md index d5b2f341a..13ae349b9 100644 --- a/website/docs/00-getting-started.md +++ b/website/docs/00-getting-started.md @@ -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