Single line NMR Pipe installation
Download, install and set up NMRPipe on Ubuntu with the single line!
wget -qO- https://raw.githubusercontent.com/AI-ffinity/nmr_tutorials/refs/heads/main/NMR_Pipe/nmrpipe_autoinstall.sh | bash
Alternatively, download the script nmrpipe_autoinstall.sh and execute it.
The script will take care of downloading the source files, installing dependancies, and the post-installation modifications of the ~/.cshrc file.
Requirements
- Ubuntu 22 or older
- Admin rights
wgetto fetch the scriptcshortcshshell to run NMR pipe
Note on Ubuntu 24
NMRPipe release from 03. Apr 2025 made the software compatible with the newest versions of Ubuntu. However, if the GUI still won’t display, an old solution may help:
- Get the following two files (X11 libraries from Ubuntu 20)
- https://www.ibbr.umd.edu/nmrpipe/libX11.so.6
- https://www.ibbr.umd.edu/nmrpipe/libXau.so.6
- Put them in the nmrbin.*/lib directory.
Tested on Ubuntu 24-based TuxedoOS with KDE desktop environment.
If something still doesn’t work, try MATE desktop environment, which was used on the NMRPipe development virtual machine. If there are still problems, use NMRPipe in a virtual machine.
See this thread for more details.
Flow
- Creates a folder
tmp_downloadin the current directory - Checks if the necessary files already exist and downloads them, if necessary
- Creates the installation directory:
/opt/nmrpipe(here you’ll have to type your admin password) - Installs the dependancies
- Copies the installation scripts there and executes the
install.com - Modifes the
~/.cshrcfile as directed in README_NMRPIPE_USERS - Prompts user to remove the
tmp_downloadfolder with the source archives.
Simple as that!