Installation: Difference between revisions

Jump to navigation Jump to search
→‎macOS: continued
(→‎macOS: continue fixing explanations of where root is needed)
Tags: Mobile edit Mobile web edit Advanced mobile edit
(→‎macOS: continued)
Tags: Mobile edit Mobile web edit Advanced mobile edit
Line 81: Line 81:
== macOS ==
== macOS ==


Become familiar with the concept and ways to run commands as "root" (administrator) - google "mac osx become root". All the installation tasks that are run in a Terminal window require root privileges, since some of the programs and their links are written to /usr/local/bin. (As an alternative that does not require root for installation, one may create a directory $HOME/bin and use that for the programs and links. That would also require modification of the $PATH, by a one-time <code>echo 'export PATH=$PATH:$HOME/bin' >> ~/.profile; echo 'export PATH=$PATH:$HOME/bin' >> ~/.zprofile</code>)
Become familiar with the concept and ways to run commands as "root" (administrator) - google "mac osx become root". All the installation tasks that are run in a Terminal window require root privileges, since some of the programs and their links are written to /usr/local/bin. (As an alternative that does not require root for installation, one may create a directory $HOME/bin and use that for the programs and links. That would also require modification of the $PATH, by a one-time  
echo 'export PATH=$PATH:$HOME/bin' >> ~/.profile
echo 'export PATH=$PATH:$HOME/bin' >> ~/.zprofile</code>
)


So, prepare the following steps by opening the Terminal window, and then
If /usr/local/bin does not yet exist, prepare the following steps by opening the Terminal window, and then
  sudo su              # this will make you root, and ask for your password
  sudo mkdir /usr/local/bin
mkdir /usr/local/bin # only if /usr/local/bin was not created before


=== [[XDS]] package ===
=== [[XDS]] package ===
2,684

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu