![]() |
|
Downloading DATAPLOT for Unix Hosts
Contact Information
|
September 2023
|
Introduction
|
Dataplot is a command driven program. You can optionally
run Dataplot using a graphical user interface (GUI) that is
implemented using the Tcl/Tk scripting language. Reference
will be made below to the "command line" version and the
"GUI" version.
|
The Tcl/Tk software is typically installed on most Linux platforms. Dataplot should work with version 8.4 or higher of Tcl/Tk.
|
Binary Installations
|
Package Managers for Installing Software
|
There are a large number of Linux distros and each of these distros
typically provide a package manager for binary installations of
software. This section provides links to package files.
|
Some of the advantages of using the package manager files are fast installation (no compilation is required) and any needed dependencies are automatically installed. The disadvantages are that super user permission is required and packages are specific to a given distro and to the version of the distro.
Red Hat Package Manager
|
Red Hat systems (Red Hat Enterprise (RHEL), CentOS, Rocky, Fedora)
use the Red Hat Package Manager (RPM). Note that RHEL, CentOS and
Rocky can use the same rpm files (CentOS and Rocky are derivatives
of RHEL). However, the rpm files for Fedora are different than
for Red Hat Enterprise.
|
The following RPM files are currently available
The following RPM files, while still available for download, are for now obsolete versions of Fedora/RHEL or older versions of Dataplot.
After you have downloaded the appropriate "rpm" file, you can install Dataplot by entering the command (this is demonstrated for the Fedora 37 rpm file)
Thanks to Chris Schanzle for putting the RPM package together. If your system is not supported, you can create an RPM file. Download the source from github (see the next section). Then see the INSTALL file for instructions on creating the RPM file.
Other Distros
|
Currently, we only provide binary installations for the
Red Hat Package Manager.
|
The following contain links to package managers created by others. Note that we are not involved in the creation of these packages, so cannot provide support if you have problems. Also note that there is sometimes a lag between the most recent version of Dataplot and the versions given here. If you have problems with these packages are would like the most recent version of Dataplot, you can build Dataplot from source as described below.
If you would like to contribute a package or are aware of a package for a distro not listed here, contact alan.heckert@nist.gov.
|
Installation from Source
|
Building from Source
|
Dataplot can also be installed from source. Source builds require
that the gfortran/gcc compilers are installed on your local
platform.
|
We have tested the source build on CentOS, Fedora, Ubuntu (a Debian derivative), Manjaro (an arch derivative), cygwin, MSYS2, and MinGW64.
|
Install any Needed Dependencies
|
Step 1: Install Any Desired Prerequisites
|
For a source build, the gfortran/gcc compilers need to be installed
on your local platform.
|
Dataplot can optionally utilize several external libraries that are available for Linux systems. NOTE:
The following dependencies are supported.
NOTE: For some Red Hat systems, you may need to use "yum" instead of "dnf".
|
Download and Unpack the Dataplot Files
|
Step 2: Download and Unpack the Dataplot Files
|
The Dataplot files are available on the following github site
|
Select the "Clone or Download" menu and then select the "Download ZIP" text. This will save the file
Move this file to a convenient location on your system and then enter
Alternatively, you can perform the download and unpack with the following command curl -L https://github.com/usnistgov/dataplot/tarball/master | tar -xz
|
Build Dataplot
|
Step 3: Build Dataplot
|
After the unzip command, enter the command
|
If you have installed the above developer libraries and you have root permissions, then you should not need to edit the Makefile. Otherwise, check the following two items in the Makefile.
The INSTALL file provides additional detail (e.g., if you want to build a version that can handle larger data set sizes). However, in most cases you should not need to modify anything other than the PREFIX and FEATURES lines. After making any needed modifications to the Makefile, enter
If the Makefile does not show any errors, then do
If you did not set the PREFIX line to a location that requires root permissions, then you can omit the "sudo".
Problems with Downloading or Installation
|
If you have problems with the download or installation, contact
alan.heckert@nist.gov
for assistance.
|
|
Test Dataplot Installation
|
Step 4a: Test Command Line Version of Dataplot
|
You can test the installation of the command line version of
Dataplot by entering the following commands.
|
device 1 x11 call minitest.dp exit Be sure that the directory containing the Dataplot executable is in your path. For example, if you have the executable in /usr/local/bin, you can add the following line to your .cshrc file (if you use the c-shell)
Step 4b: Test the GUI version of Dataplot
|
To test the Dataplot GUI, enter
|
Dataplot Configuration Files
|
There are two configuration files that you may want to edit
at some point.
|
Date created: 06/05/2001 |
Last updated: 09/15/2023 Please email comments on this WWW page to alan.heckert@nist.gov. |