CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Paraview & paraFoam (http://www.cfd-online.com/Forums/openfoam-paraview/)
-   -   installing paraview 4.0.1 (http://www.cfd-online.com/Forums/openfoam-paraview/128106-installing-paraview-4-0-1-a.html)

immortality January 3, 2014 12:47

installing paraview 4.0.1
 
Hi,
how can I notice about the newest version of paraview that has distributed?
and how can install the latest one?
when I use the following command,Ubuntu wants to download 235MB.is this value OK and installs the latest version in this way?
apt-get install paraview
Code:

ehsan@Ehsan:~$ sudo -s
[sudo] password for ehsan:
root@Ehsan:~# apt-get install paraview
Reading package lists... Done
Building dependency tree     
Reading state information... Done
The following extra packages will be installed:
  libgl2ps0 libhdf5-openmpi-1.8.4 libnetcdf6 libpq5 libvtk5.8 mpi-default-bin
  paraview-doc paraview-python python-support python-vtk tcl-vtk tk8.5
Suggested packages:
  libvtk5-dev vtk-examples vtk-doc hdf5-tools h5utils mayavi2
The following NEW packages will be installed:
  libgl2ps0 libhdf5-openmpi-1.8.4 libnetcdf6 libpq5 libvtk5.8 mpi-default-bin
  paraview paraview-doc paraview-python python-support python-vtk tcl-vtk
  tk8.5
0 upgraded, 13 newly installed, 0 to remove and 222 not upgraded.
Need to get 73.5 MB of archives.
After this operation, 235 MB of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.


wyldckat January 4, 2014 20:23

Hi Ehsan,

I wasn't able to use my machine at home for a couple of days, hence not being able to answer you sooner.
One quick way to know which version of a package is available is to use "apt-get changelog":
Code:

apt-get changelog paraview
The version should appear right at the beginning. Use the "q" key to exit the change log list.

The quickest way to install ParaView 4.0.1 on Ubuntu 12.04 is to get the package directly from www.paraview.org and unpack it where you find it more convenient.

Best regards,
Bruno

immortality January 5, 2014 05:49

Hi Bruno, thanks,
I had downloaded paraview 4.01 before.if I find its folder how can I install it? go to its folder and type apt-get install paraview,right?

wyldckat January 5, 2014 09:09

Hi Ehsan,

No, apt-get is for installing Ubuntu's own packages.

I'll quote myself from sometime ago:
Quote:

Originally Posted by wyldckat (Post 450721)
There isn't much to know. You simply:
  1. Download the tarball with the binary files for Linux x86_64 (aka 64-bit);
  2. Unpack said tarball;
  3. And then run paraview from within the bin folder.
If you're new to Linux, my advice is to read the tutorials provided here: http://linuxcommand.org/learning_the_shell.php

Best regards,
Bruno

immortality January 5, 2014 14:24

Dear Bruno,where I can find the latest version of swak4foam? there is no link for OF 2.2.1 in openfoamwiki.net

wyldckat January 5, 2014 15:47

Quote:

Originally Posted by immortality (Post 468711)
where in www.paraview.org I can install the latest version (4.0.1 still?)

Resources -> Download: http://www.paraview.org/paraview/resources/software.php

This command will download ParaView 4.0.1 for Linux 64-bit directly:
Code:

wget http://www.paraview.org/files/v4.0/ParaView-4.0.1-Linux-64bit.tar.gz
Quote:

Originally Posted by immortality (Post 468709)
Dear Bruno,where I can find the latest version of swak4foam? there is no link for OF 2.2.1 in openfoamwiki.net

Why are you asking this here? Isn't this thread about installing ParaView???

immortality January 5, 2014 16:18

thanks Bruno,
sorry I became mixed up with several threads.a little question, whats the difference between binary installer and source files? thanks.

wyldckat January 5, 2014 16:19

Quote:

Originally Posted by immortality (Post 468727)
binary installer and source files?

For example:

immortality January 5, 2014 16:21

then whats the difference? we have to compile source files while binary files installs when downloads concurrently?

wyldckat January 5, 2014 16:25

The binary packages are usually ready to use, sort-of like "plug-n-play". It's usually what you get on Windows: stuff that has to be bought and is ready to run upon installation.

Source packages = DIY: Do it yourself. ;) You get to build yourself the binaries from the source code. This way you can fix things yourself, in case you find something is wrong with the binaries.

immortality January 5, 2014 17:19

dear Bruno,I downloaded paraview with a quick internet ,but it isn't in downloads folder:eek: I used find command as you told but didn't find it.where it has downloaded?!
Code:

ehsan@Ehsan:~$ wget http://www.paraview.org/files/v4.0/ParaView-4.0.1-Linux-64bit.tar.gz
--2014-01-05 23:48:20--  http://www.paraview.org/files/v4.0/ParaView-4.0.1-Linux-64bit.tar.gz
Resolving www.paraview.org (www.paraview.org)... 66.194.253.19
Connecting to www.paraview.org (www.paraview.org)|66.194.253.19|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 150238673 (143M) [application/x-gzip]
Saving to: `ParaView-4.0.1-Linux-64bit.tar.gz'

100%[======================================>] 150,238,673 61.2K/s  in 42m 9s 

2014-01-06 00:30:34 (58.0 KB/s) - `ParaView-4.0.1-Linux-64bit.tar.gz' saved [150238673/150238673]

ehsan@Ehsan:~$ find /usr /opt $HOME -name paraview -type f
/opt/paraviewopenfoam3120/lib/paraview-3.12/paraview
/opt/paraviewopenfoam3120/bin/paraview
find: `/home/ehsan/.emacs.d': Permission denied


wyldckat January 5, 2014 17:30

Quote:

Originally Posted by immortality (Post 468740)
Code:

ehsan@Ehsan:~$ wget http://www.paraview.org/files/v4.0/ParaView-4.0.1-Linux-64bit.tar.gz

The file is apparently located at "~/ParaView-4.0.1-Linux-64bit.tar.gz", because of this:
Code:

ehsan@Ehsan:~$
The find command looks for the name "paraview", when the downloaded file is name "ParaView-4.0.1-Linux-64bit.tar.gz".

immortality January 5, 2014 19:45

yes it was there,but how to compile it? and after installation I have to open it first and open cases from its menus,right?

wyldckat January 10, 2014 16:43

Hi Ehsan,

Sorry, I'm not in a mood to repeat myself. I've found the thread where we have had already this discussion: http://www.cfd-online.com/Forums/ope...-parafoam.html

Best regards,
Bruno


All times are GMT -4. The time now is 14:33.