Adding Arc Path to the Linux User's Environment
Adding Arc Path to the Linux User's Environment
To run Arc simply by typing arc from any directory — without specifying the full file path — you need to add the Arc binary location to the user's PATH environment variable.
Steps
1. Open the bash_profile File
Open the ~/.bash_profile file in your preferred text editor:
2. Add the Arc Path
Add the following lines to the file, replacing the path with the actual location of your Arc binary. In this example, Arc is installed at $HOME/utilities/arc:
Note: The
ARCPATHvariable points to the directory containing the Arc binary, not the binary itself.
3. Reload the Environment
Apply the changes without restarting your session:
Running Arc
After updating the PATH, you can start Arc from any directory:
To run Arc in the background (so the terminal remains usable):
Verify
Confirm Arc is accessible on the expected port: