Installation FAQ

From DavinciWiki
(Difference between revisions)
Jump to: navigation, search
Line 16: Line 16:
 
===I don't like the current image viewer, how do I change it?===
 
===I don't like the current image viewer, how do I change it?===
 
You can always change the default viewer by setting the environment variable $DV_VIEWER. You can either set that in you system or in davinci using command.
 
You can always change the default viewer by setting the environment variable $DV_VIEWER. You can either set that in you system or in davinci using command.
  putenv("DV_VIEWER","/path/to/your/favorite/imageviewer")
+
  dv> putenv("DV_VIEWER","/path/to/your/favorite/imageviewer")
  
  
Line 23: Line 23:
 
Linux version of Davinci uses  ImageMagick "display" command by default. Most likely ImageMagick is not installed.  
 
Linux version of Davinci uses  ImageMagick "display" command by default. Most likely ImageMagick is not installed.  
 
The solution is to either install ImageMagick or to change the $DV_VIEWER environment variable to your favorite Image Viewer. To set the variable you can either set it on your system shell, or better in the Davinci shell by
 
The solution is to either install ImageMagick or to change the $DV_VIEWER environment variable to your favorite Image Viewer. To set the variable you can either set it on your system shell, or better in the Davinci shell by
  putenv("DV_VIEWER","/path/to/your/favorite/imageviewer")
+
  dv> putenv("DV_VIEWER","/path/to/your/favorite/imageviewer")
  
  
 
===Plotting command "xplot" doesn't work. It dies silently. What should I do?===
 
===Plotting command "xplot" doesn't work. It dies silently. What should I do?===
 
Most likely gnuplot is not installed on your system.  Try installing the gnuplot. If it is installed, make sure that it is installed under /usr/bin/gnuplot. You can override the path by setting the environment variable GPLOT_CMD
 
Most likely gnuplot is not installed on your system.  Try installing the gnuplot. If it is installed, make sure that it is installed under /usr/bin/gnuplot. You can override the path by setting the environment variable GPLOT_CMD
  putenv("GPLOT_CMD","/path/to/your/gnuplot")
+
  dv> putenv("GPLOT_CMD","/path/to/your/gnuplot")
 
Make sure you set this variable before any gnuplot command is invoked.
 
Make sure you set this variable before any gnuplot command is invoked.
 +
 +
 +
 +
===What is Davinci Scripts Library and how do I load it?===
 +
The Davinci Library is a set of files containing all of the specified [[:Category:User Defined Functions|User Defined Functions]]  that are shown in the DavinciWiki. Depending on the platform that you have installed your Davinci, you need to "source" an appropriate dvrc file. For example in Linux you would "source" the library as follows:
 +
 +
dv> source("/usr/src/share/davinci/library/library_linux.dvrc")
 +
 +
This will automatically source other necessary dvrc files and initialize relevant variables.

Revision as of 14:19, 27 July 2007


Contents

Frequently Asked Questions About Installation and Running Davinci

Where do I get Davinci and how do I install it?

Davinci is available for multiple platforms. See these pages for more details: Download Davinci for Mac

Download Davinci for Windows

Download Davinci for Linux


I don't like the current image viewer, how do I change it?

You can always change the default viewer by setting the environment variable $DV_VIEWER. You can either set that in you system or in davinci using command.

dv> putenv("DV_VIEWER","/path/to/your/favorite/imageviewer")


I am getting "/usr/bin/display: No such file or directory", when trying to display an image. What should I do?

Linux version of Davinci uses ImageMagick "display" command by default. Most likely ImageMagick is not installed. The solution is to either install ImageMagick or to change the $DV_VIEWER environment variable to your favorite Image Viewer. To set the variable you can either set it on your system shell, or better in the Davinci shell by

dv> putenv("DV_VIEWER","/path/to/your/favorite/imageviewer")


Plotting command "xplot" doesn't work. It dies silently. What should I do?

Most likely gnuplot is not installed on your system. Try installing the gnuplot. If it is installed, make sure that it is installed under /usr/bin/gnuplot. You can override the path by setting the environment variable GPLOT_CMD

dv> putenv("GPLOT_CMD","/path/to/your/gnuplot")

Make sure you set this variable before any gnuplot command is invoked.


What is Davinci Scripts Library and how do I load it?

The Davinci Library is a set of files containing all of the specified User Defined Functions that are shown in the DavinciWiki. Depending on the platform that you have installed your Davinci, you need to "source" an appropriate dvrc file. For example in Linux you would "source" the library as follows:

dv> source("/usr/src/share/davinci/library/library_linux.dvrc")

This will automatically source other necessary dvrc files and initialize relevant variables.

Personal tools