2,684
edits
(→macOS: explain Intel Mac versus Silicon Mac) Tags: Mobile edit Mobile web edit Advanced mobile edit |
(→macOS) 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". | Become familiar with the concept and ways to run commands as "root" (administrator) - google "mac osx become root". Installation tasks that are run in a Terminal window require root privileges if the programs and their links are written to /usr/local/bin. | ||
Therefore, if /usr/local/bin does not yet exist, prepare the following steps by opening the Terminal window, and then | Therefore, if /usr/local/bin does not yet exist, prepare the following steps by opening the Terminal window, and then | ||
Line 94: | Line 94: | ||
If you are an academic user, | If you are an academic user, | ||
# obtain root | # obtain root privileges (it will ask for your password): | ||
sudo su | sudo su | ||
cd /usr/local/bin | cd /usr/local/bin | ||
Line 101: | Line 101: | ||
# release root permissions: | # release root permissions: | ||
exit | exit | ||
(If you don't have root | (If you don't have root privileges and run in $HOME/bin, only the curl and ln commands have to be run) | ||
Starting with macOS Catalina, you may also need | Starting with macOS Catalina, you may also need | ||
sudo xattr -dr XDS-OSX_64/* | sudo xattr -dr XDS-OSX_64/* | ||
Line 162: | Line 162: | ||
chmod +x get_folder.sh | chmod +x get_folder.sh | ||
./get_folder.sh | ./get_folder.sh | ||
Release root privileges: | |||
exit | exit | ||
If you want to update the programs some time later, just run these commands again. | If you want to update the programs some time later, just run these commands again. |