From: Leonardo M. <lm...@ud...> - 2002-10-04 12:27:02
|
On Fri, 4 Oct 2002, Johnny boi wrote: > Hello again Leo, > > I tried typing "gnuplot" in the console, and all I get > is: > [root@localhost root]# gnuplot > bash: gnuplot: command not found > [root@localhost root]# Yeah. It probably installed the binary in a place not included in you path. If this is the case it is fixable: locate gnuplot |grep bin will probably tell you where it is, but then you'd have to either mofify the global path (/etc/profile) or do i for each user (~/.bash_profile). Much easier would be to use the packaging sysutem, which takes care of everything for you. You can go to an rpmfind.net mirror, such as: http://speakeasy.rpmfind.net Search for gnuplot and get a binary package for your distribution (in your case RH 7.1, package name ends in i386.rpm) Download this, and run as root: "rpm -Uvh package-name" That's it, it sould run after that. If you are thinking of working a lot in your system, it's worthwile upgrading, RH 7.1 is fairly old and Linux went a long way. As I said, Mandrake would probably best shot. Installing this package would mean opening the control panel, going to software managment, choosing install software, and typing gnuplot. More, Mandrake's 9 installation has a "scientific workstation" option that installs gnuplot and other nice goodies by default. Anyway, my 2cts, I strongly recommend sticking to the RPM packages whenever possible. RPM takes care of the software (installs/uninstalls properly, etc) > Should I install and use Numeric 22 instead, even > though I am using Python2.1? It may run and it shouldn't hurt > Anyway I think I should uninstall the gnuplot as well > as gnuplot-py. Basically I should start from scratch. > Is this recommended? I think it's extra work, just get gnuplot installed again and you are fine. Uninstalling from source is not trivial, there is no universal way to do it (check for a target in the Makefile, there probably is). That's why using rpm (or apt/get in Debian systems) is so cool. > Thanks for your ongoing help. My pleasure :-) Take care -- leo |