This is a guide for installing the free molecular viewer, Biovia Discovery Studio Viewer 2021 (Biovia DSV 2021) on a computer running Ubuntu 22.04. This procedure worked for me, but "your mileage may vary".
0. Before carrying out the following steps, get the System Requirements for installing DSV2021 in Linux. The names of the system libraries are for RHEL or CentOS. Find the equivalent library names for Ubuntu and determine if these are installed on your system. If the required libraries are not installed, locate and install them.
00. This guide assumes that you will be installing DSV2021 in ~/progs/BIOVIA2021, where "~/" is your home directory and "progs" is a subdirectory in home where you install programs. On my own system, I use the name "zware" for "progs".
000. You will also need to locate a source for libpng15.so.15. This will be added to the ~/progs/BIOVIA2021/DiscoveryStudio2021/lib directory in step 23 below.
https://ubuntuforums.org/showthread.php?t=2138623
Hello Community!
I actually found a way to install it properly:
for those who wanted to install libpng15-s0-15 (or even any other libraries)
first Download library (in this case libpng15)
`http://sourceforge.net/projects/libpng/files/libpng15/`
locate the downloaded file and extract to Downloads folder.
now go to TERMINAL and type
`cd Downloads/libpng-1.5.15
./configure --prefix=usr/local/libpng
make check
sudo make install
make check`
Congratulations you just installed the libpng
Now we need to create a shortcut and put it in /usr/lib for any program that is depended on it to work
In TERMINAL type:
cd (only if you are not using a new terminal)
sudo updatedb (this could take a few seconds)
locate libpng (locate the ".../libpng15.so.15" line and COPY)
now we will create a NEW LINK (shortcut) of that file to "/usr/lib/"
`sudo ln -s /usr/local/libpng/lib/libpng15.so.15 /usr/lib/libpng15.so.15`
you can now successfully execute applications that require libpng15.so.15
chmod +x BIOVIA_2021.DS2021.Client.bin
./BIOVIA_2021.DS2021.Client.bin --noexec --target ~/progs/BIOVIA2021
cd ~/progs/BIOVIA2021
chmod +x install_DSClient.sh
./install_DSClient.sh
~/progs/BIOVIA2021/DiscoveryStudio2021
cd ~/progs/BIOVIA2021/DiscoveryStudio2021/lp_installer
chmod +x lp_setup_linux.sh
./lp_setup_linux.sh --noexec --target ~/progs/BIOVIA2021
cd ~/progs/BIOVIA2021/LicensePack/etc
./lp_config
sudo apt install tcsh
./lp_echovars
cd ~/progs/BIOVIA2021/DiscoveryStudio2021/bin
./config_lp_location ~/progs/BIOVIA2021/LicensePack/
25. Open DiscoveryStudio2021 in a text editor; change ACCELRYS_DEBUG=0 to ACCELRYS_DEBUG=1. Then when DSV is started via the terminal, you will get a verbose readout that can be inspected for errors.
./DiscoveryStudio2021