Installation: Difference between revisions

Jump to navigation Jump to search
m
m (apt install libxcb-xinerama0)
Tags: Mobile edit Mobile web edit Visual edit
Line 149: Line 149:
... can be downloaded from https://{{SERVERNAME}}/pub/mac_bin/ . A simple way to obtain them is is to open a Terminal, and type:
... can be downloaded from https://{{SERVERNAME}}/pub/mac_bin/ . A simple way to obtain them is is to open a Terminal, and type:
  sudo su
  sudo su
which asks for the password and gives you administrator permissions. Then,
which asks for the password and gives you administrator permissions. Then, for Intel Macs,
  # any folder would do; here we use /usr/local/bin/mac_bin
  # any folder would do; here we use /usr/local/bin/mac_bin
  mkdir -p /usr/local/bin/mac_bin
  mkdir -p /usr/local/bin/mac_bin
Line 156: Line 156:
  chmod +x get_folder.sh
  chmod +x get_folder.sh
  ./get_folder.sh
  ./get_folder.sh
Release root privileges:
For Silicon Macs,
# any folder would do; here we use /usr/local/bin/mac_bin
mkdir -p /usr/local/bin/mac_bin
cd /usr/local/bin/mac_bin
curl -O -R https://{{SERVERNAME}}/pub/mac_bin/get_folder_silicon.sh
chmod +x get_folder_silicon.sh
./get_folder_silicon.sh
After that, 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.


In order to enable [[Eiger]] data processing, the <code>get_folder.sh</code> script  
In order to enable [[Eiger]] data processing, the <code>get_folder.sh</code> (or <code>get_folder_silicon.sh</code>) script  
# copies Dectris' Neggia library and DLS's Durin library into <code>/usr/local/lib64</code> . NOTE (since the script does not yet handle this automatically) that the names of the native libraries for the Apple Silicon Macs ends with *-Apple-arm64.so and you can either rename them or use that name in the LIB= line of XDS.INP; and you should also install the xdsgui_mac_silicon.dmg since that needs these plugin libraries in Menu/Preferences/Paths/generic library .
# copies Dectris' Neggia library and DLS's Durin library into <code>/usr/local/lib64</code> . NOTE (since the script does not yet handle this automatically) that the names of the native libraries for the Apple Silicon Macs ends with *-Apple-arm64.so and you can either rename them or use that name in the LIB= line of XDS.INP; and you should also install the xdsgui_mac_silicon.dmg since that needs these plugin libraries in Menu/Preferences/Paths/generic library .
# copies [https://www.globalphasing.com GlobalPhasing's] <code>hdf2mini-cbf</code> into <code>/usr/local/bin</code>, but under the name <code>H5ToXds</code> (consider getting a [https://www.globalphasing.com/autoproc/ autoPROC] license!)
# copies [https://www.globalphasing.com GlobalPhasing's] <code>hdf2mini-cbf</code> into <code>/usr/local/bin</code>, but under the name <code>H5ToXds</code> (consider getting a [https://www.globalphasing.com/autoproc/ autoPROC] license!)
2,684

edits

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

Navigation menu