Thursday, 26 June 2014

Installing Graphic Layer Engine in Linux

Installing Graphic Layer Engine in Linux


GLE (Graphics Layout Engine) is a graphics scripting language designed for creating publication quality figures (e.g., a chart, plot, graph, or diagram). It supports various chart types (including function plot, histogram, bar chart, scatter plot, contour plot, color map, and surface plot) through a simple but flexible set of graphing commands.


The optional software packages should all be included in your Linux distribution's package repository. You should be able to find and install them by searching the repository for the package names (i.e., "qt4", "libtiff", "libpng", ...). If, for a given package, a version is available with "devel" or "dev" in the name, then install that version. The "devel" packages typically include the "C" header files of the library, which are required to compile GLE.

QGLE requires Ghostscript to be installed as a library named "libgs.so" (the actual name may include a version number). Normally this file should be part of GhostScript. If your distribution does not include "libgs.so" in its GhostScript package, then download gs8.54-linux.zip and extract it in your home directory, or somewhere under "/usr" (as root). This ZIP file contains a GhostScript binary that includes "libgs.so".



Step 1- Download binary file from here

Step 2- If you are installing it from souce code .tar.gz file or .tar

than follow these commands

Install required packages to compile the source file

          sudo apt-get install cmake

          sudo apt-get install make
 
now uzip the source code using 

        tar -xvzf filename-x.y.z.tar.gz

 than change the directory in terminal to the newly extracted directory
     
       cd dirname-x.y.z

now follow these commands
 -----------------------------------------------------------------------------------------------------------------------    
      ./configure -nomake examples -nomake tools -nomake demos -no-qt3support -no-phonon -no-webkit

make

sudo make install
-----------------------------------------------------------------------------------------------------------------------

If you have to install gle on Redhat /CentOS system than follow these steps

(remember above method work on every distro but for your ease go ahead)

download the Debian package file from here

and follow these steps-

Step1- You need to convert .deb file to rpm file so install alien first
       download alien to convert the file from here

Step2- now run these commands to convert the .deb file into rpm file


               # sudo alien -r libsox1_14.2.0-1_i386.deb
                  libsox1-14.2.0-2.i386.rpm generated


Step3- Now to install this rpm file .

            # rpm -i filename.rpm

Done

Proper way to install nvidia 390 fix error

Proper way to install nvidia 390 if you see any error in the process look below; command  sudo apt purge --autoremove '*nvidia*...