Search This Blog

Showing posts with label Installation. Show all posts
Showing posts with label Installation. Show all posts

Install the Standalone Adobe Flash Player on Linux

This is the procedure of Manual and off-line Installation of Adobe Flash Player on LINUX, follow these steps  

1.    Download Adobe flash player for LINUX from the official website Adobe Flash Player . You may choose the option of Flash Player for other platforms  if downloading from different operating system. And then copy the setup to your LINUX system.

2.    Login with "root" user on LINUX

3.    right click on the file (tar.gz) and click on "Extract here"

4.    Go to this location /usr/lib64/firefox/browser/ and create a folder named “plugins”

5.    Launch Terminal

6.    Go to that location where you extracted the file

7.    Run this command : sudo cp libflashplayer.so /usr/lib64/firefox/browser/plugins/

8.    Run this command : sudo cp –r user/* /usr


9.    Launch Mozilla Firefox and check if you have Adobe Flash Player



LAPACK Installation LINUX

Prerequisites : gfortran installed. 

LAPACK Installation Steps


Step 1: Download Lapack from here.

Step 2: unzip and untar using the following commands.

gunzip lapack-3.4.0.tgz
tar xvf lapack-3.4.0.tar

Step 3: Enter inside the lapack-3.4.0 directory.

cd   lapack-3.4.0

Step 4: Change the file "make.inc.example" to "make.inc"

cp make.inc.example make.inc

Step 5: Edit the file "Makefile" and apply the following changes.

uncomment the line by removing "#" from its start.
lib: blaslib variants lapacklib tmglib

and comment the following line by putting "#" at its start.
#lib: lapacklib tmglib


Step 6: Write the following command.

make

After the successful execution of this command, LAPACK installation is completed.


Gfortran Installation LINUX

GFortran or Gcc-fortran is a product of GCC. You can download and install it freely.

If you are using Ubuntu or Debian based LINUX operatting system, you can use the command "apt-get" to install it from the main repository.

Enter the following commands in linux shell:

sudo apt-get update
or
sudo apt-get install -y gfortran

The command "sudo apt-get update" will download the package's lists from the repositories and only updates the information on the newest versions of packages and their dependencies. It does not updates any softwares. It will update the information and dependencies of all the repositories. If you to install the latest packages, you may use the command "sudo apt-get upgrade".

The command "sudo apt-get install -y gfortran" will install the gfortran in your Linux system. You may not type "sudo" if you are logged in as root.

For open suse, the name of the package is "gcc-fortran", so you may use the following command to install gfortran,

sudo zypper install gcc-fortran



On Fedora or derived systems, some versions have gfortran package and some use the gcc-fortran package. So you can check the following commands to install gcc-fortran or gfortran on linux,

sudo yum install gfortran
or
sudo yum install -y gfortran
or
sudo yum install gcc-gfortran

ScaLapack Installation Linux

It is easy to install ScaLapack using ScaLapack-Installer.

For further options you should see Readme.

Prerequisites : mpich2 and gfortran installed.


Step 1: Download ScaLapack-Installer.

Step 2: unzip and untar using the following commands.

gunzip scalapack_installer.tgz
tar xvf scalapack_installer.tar

Step 3: write the following command in bash etc.

cd scalapack_installer

./setup.py --prefix=/home/arfeen/scalapack-install --mpibindir=/opt/mpich2/bin --downblas --downlapack


 Alternate ways of ScaLapack Installation

If you are using ubuntu, use the following commands for  ScaLapack Installation

$sudo apt-get install scalapack-mpi-test


If you are using Red Hat or Fedora, use the following commands for  ScaLapack Installation

$yum search scalapack-mpich2

$yum install scalapack-mpich2

Comment here if u are facing problems in ScaLapack installation.

Petsc Installation LINUX

Download petsc from here.

untar the file to petsc


1)
Edit .bashrc
#petsc
export PETSC_DIR=/home/arfeen/soft/petsc-3.2-p5
export PATH=$PATH:$PETSC_DIR

2)
chmod 777 -R petsc

3)
cd petsc

4)
./configure --download-f2cblaslapack=1 --with-mpi-dir=/opt/mpich2

note: for extra performance use the configuring option,
--with-debugging=no

5)
make all

6)
make test


Comment here if u are facing problems in PETSc installation.

Mpich2 installation LINUX

1) First make folder "mpich2-install". It will be the installation directory.

  cd /home/arfeen
  mkdir mpich2-install

2) Download mpich2-1.4.1p1.tar.gz from Here.

3) Unpack the tar file.

  gunzip mpich2-1.4.1p1.tar.gz
  tar xf mpich2-1.4.1p1.tar

4) Go to the top level directory:

  cd mpich2-1.4.1p1

5) chmod 777 -R mpich2-1.4.1p1

6) ./configure --prefix=/home/arfeen/mpich2

But if u have no c++ compiler, write the following command.

./configure --disable-cxx --prefix=/home/arfeen/mpich2

But if u have no fortran compiler, write the following command.

./configure --disable-f77 --disable-fc --disable-cxx --prefix=/home/arfeen/mpich2-install

7) Build mpich2:

  make

8) Install the mpich2 commands:

  make install

9) Set PATH by using the following command:

  PATH=/home/arfeen/mpich2-install/bin:$PATH; export PATH

10) Check that every thing is in order.

  which mpicc
  which mpirun

Comment here if u are facing problems in mpich2 installation.


Web Statistics