Skip to content

Bug in Documentation (Binary download) #5871

Description

@iocron

It's interesting that this got unnoticed so far (tested on amazon linux, ubuntu). Based on the documentation https://www.parca.dev/docs/quickstart?environment=binary to download the agent (binary) you have to use the command below:

curl -sL https://github.com/parca-dev/parca-agent/releases/download/v0.40.2/parca-agent_0.40.2_`uname -s`_`uname -m` chmod +x ./parca-agent*
  1. This won't download the file, the -o flag is missing
  2. Potentially giving too much execute rights (chmod on ./parca-agent*) on all files that start with string "parca-agent..."
  3. Always quote URLs
  4. (optional) chmod u+x would be actually sufficient enough to run the command, since parca-agent needs to be started with root/sudo anyway

The corrected command (should usually work in all environments) would look like:

curl -o parca-agent -sL "https://github.com/parca-dev/parca-agent/releases/download/v0.40.2/parca-agent_0.40.2_$(uname -s)_$(uname -m)" && chmod u+x ./parca-agent

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions