Skip to content

Instantly share code, notes, and snippets.

@ptrxyz
Created June 23, 2021 17:13
Show Gist options
  • Save ptrxyz/ffbfe21d7df8db0efb6ab70a99a12d37 to your computer and use it in GitHub Desktop.
Save ptrxyz/ffbfe21d7df8db0efb6ab70a99a12d37 to your computer and use it in GitHub Desktop.
Chemotion RedHat Install -- Try 1
dnf update -y
dnf install -y epel-release
dnf --enablerepo=powertools -y install \
automake bison boost-devel ca-certificates cmake \
cronie curl dejavu-sans-fonts diffutils dirmngr \
eigen3-devel file-devel gcc gdbm-devel git \
gmp-devel google-crosextra-caladea-fonts \
google-crosextra-carlito-fonts google-noto-fonts-common \
ImageMagick ImageMagick-devel inkscape liberation-fonts \
libffi libffi-devel libreoffice-opensymbol-fonts \
libsass-devel libxml2-devel libxslt-devel make \
ncurses-devel nspr nss openssl-devel \
p7zip p7zip-plugins pandoc pango \
postgresql-libs \
readline-devel ruby-devel sqlite-devel \
sudo swig tzdata urw-fonts xorg-x11-fonts-100dpi \
xorg-x11-fonts-75dpi xorg-x11-fonts-base \
xorg-x11-fonts-cyrillic xorg-x11-fonts-Type1 \
redhat-rpm-config libpq-devel gcc-c++ \
patch autoconf automake bison bzip2 gcc-c++ libffi-devel libtool make patch \
readline-devel ruby sqlite-devel zlib-devel glibc-headers glibc-devel openssl-devel
dnf module enable -y nodejs:12
dnf install -y nodejs npm
node -v # should be 12...
npm install -g npm@7.6.2
/usr/local/bin/npm --version # should be 7.6.2
dnf module reset -y ruby
dnf module enable -y ruby:2.6
dnf module install -y ruby:2.6
git clone --depth=1 https://github.com/ComPlat/chemotion_ELN /tmp/chemotion
cd /tmp/chemotion
npm install
gem install bundler:1.17.3
bundle install --jobs 24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment