[SOLVED] Can not get a command line program to run
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi there. I came to the forum after trying to solve my problem searching the web to no avail. This is the issue: I downloaded the source for a program called gnuplot (which is a command line program.) I managed to compile with some errors and was able to run the help command of the program but other than that the program was not really working. I discovered too late that the program is available for Fedora which is my current distribution. After issuing a make uninstall inside the source code folder, the program does not run at all. On the other hand When I install from the Fedora repositories, I get a success message "Installed: gnuplot-5... Complete!" But when I try to run the program I get "bash: /usr/local/bin/gnuplot: No such a file or directory. I have issued so many commands I am afraid I created a big mess!
When you downloaded the source and built it, it was installed under /usr/local/ which is reserved for your local builds. When you downloaded the Fedora version, it installed the program under /usr, most likely /usr/bin/gnuplot, which is where the official system components are placed. You can go ahead and mess up /usr/local all you want. Have fun experimenting.
Thank you guys. Smallpond was right on the money. I now can see the help options from gnuplot. I've been using Linux for a decade and an half and still feel like a newbie.
Now I just have to figure out how use the little program. :-)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.