Installation: Difference between revisions

Jump to navigation Jump to search
m
Line 1: Line 1:




Line 158: Line 159:
=== WSL2 ===
=== WSL2 ===


CCP4 7.1 including coot-0.9.5 works in a Ubuntu 20.04 LTS machine under WSL2.  
CCP4 7.1 including coot-0.9.5 works in a Ubuntu 20.04 LTS machine under WSL2 on Windows 10 version 20H2.  


[https://docs.microsoft.com/windows/wsl/install-win10 After installation of WSL2], I installed [https://mobaxterm.mobatek.net/ MobaXterm] as the Xserver. When the Windows firewall asked whether it should allow MobaXterm communication, I answered "yes" for both private and public networks.
[https://docs.microsoft.com/windows/wsl/install-win10 After installation of WSL2], I installed [https://mobaxterm.mobatek.net/ MobaXterm] as the Xserver. When the Windows firewall asked whether it should allow MobaXterm communication, I answered "yes" for both private and public networks.


If you want to install CCP4 as a regular user, you need (as this is Linux):
If you want to install CCP4 as a regular user, you need (as this is Linux! And replace MYWSLNAME with your WSL user name):
  sudo mkdir /opt/xtal
  sudo mkdir /opt/xtal
  sudo chown MYWSLNAME /opt/xtal
  sudo chown MYWSLNAME /opt/xtal
Line 170: Line 171:
When installing CCP4, let it "modify the environment" for you. If you forgot this, insert a line into your ~/.bashrc :
When installing CCP4, let it "modify the environment" for you. If you forgot this, insert a line into your ~/.bashrc :
  source /opt/xtal/ccp4-7.1/bin/ccp4.setup-sh  
  source /opt/xtal/ccp4-7.1/bin/ccp4.setup-sh  
afterwards. I created a file in the Windows filesystem (replace MYUSERNAME with your Windows username):
afterwards (this is not WSL specific, but is just Linux). I created a file in the Windows filesystem (replace MYUSERNAME with your Windows user name):
  cd /mnt/c/Users/MYUSERNAME/
  cd /mnt/c/Users/MYUSERNAME/
  echo "[wsl2]" > .wslconfig
  echo "[wsl2]" > .wslconfig
2,684

edits

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

Navigation menu