Friday, August 14, 2020

Installation of BURAI in Ubuntu

 Installation of BURAI in Ubuntu 18.04/20.04 LTS

Dear Readers,

Today you will learn how to install BURAI a Quantum Espresso GUI package in Ubuntu.

Before that, I have a suggestion for you "Always use an LTS (Long Term Support) version of Ubuntu in your system."  So that you can finish your research easily without spending your time in updating the unstable versions of Ubuntu and sometimes it is difficult to install some applications in "odd" versions of Ubuntu.

Note: LTS versions are released in every  "even year in the month of April" eg. 16.04, 18.04, 20.04. here 16,18 and 20 denoting the year and 04 the month.

Now let's start the installation.

Step-1: Download the latest version of the java development kit (JDK) and BURAI

        Note: to download java you have to create an account at oracle first. 

         For java go to this link: Java JDK

         For BURAI go to this link: BURAI 

         Download the installation script: install.sh 

Step-2: Remove the existing version of java 

sudo apt-get purge openjdk*

sudo apt-get purge 

sudo update-alternatives --remove "java" "/opt/jdk/jdk1.8.0_261/bin/java" 

sudo update-alternatives --remove "javac" "/opt/jdk/jdk1.8.0_261/bin/javac"

sudo apt autoremove

sudo apt-get update

Step-3: Installation of Java 

sudo mkdir -p /opt/jdk

sudo cp ~/Downloads/jdk-8u261-linux-x64.tar.gz  /opt/jdk/            # your java file should be in "Download" directory

cd /opt/jdk

sudo tar zxvf jdk-8u261-linux-x64.tar.gz

sudo update-alternatives --install /usr/bin/java java /opt/jdk/jdk1.8.0_261/bin/java 100

sudo update-alternatives --install /usr/bin/javac javac /opt/jdk/jdk1.8.0_261/bin/javac 100 

java -version


Step-4: Package required for Quantum Espresso compilation

sudo apt-get install -y gfortran

sudo apt-get install -y openmpi-bin libopenmpi-dev

Step-5: Installation of BURAI in /usr/local/bin 

sudo cp ~/Downloads/BURAI1.3_Linux.tgz /usr/local/bin/

cd /usr/local/bin

sudo tar zxvf BURAI1.3_Linux.tgz

cd BURAI1.3

sudo ./makeLauncher.sh

sudo cp BURAI.desktop ~/Desktop/





 

5 comments:

  1. hello sir, I am not able to install this BURAI in my ubntu. Can you please help me?

    ReplyDelete
    Replies
    1. java version was updated but no change in install script, i cant also install burai

      Delete
  2. Hi Saira I have installed many more times BURAI and change the UBUNTU from 16.04 to 22.04 but i cant see the atomic configuration shapes. Please help me

    ReplyDelete

How to install Virtual Box and Import OVA file

 How to install VirtualBox and Import OVA file  Steps to Follow: 1. Download the latest version of VirtualBox  from  here 2. Download the ...