LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-03-2015, 01:16 PM   #16
AlexBB
Member
 
Registered: Mar 2014
Posts: 437

Original Poster
Rep: Reputation: Disabled

I am not that skilled with gnuplot and as a result I don't quite know, if a statement fails, is it because of something I did wrong or it is a bug or whatnot. Anyhow I need the latest edition. How can I install it (version 5.0)? How can I get root permissions? I am the administrator on my laptop. What else is needed?
 
Old 02-03-2015, 04:03 PM   #17
JeremyBoden
Senior Member
 
Registered: Nov 2011
Distribution: Debian
Posts: 1,041

Rep: Reputation: 206Reputation: 206Reputation: 206
If it were me...
How about creating a symbolic link of /usr/local/gnuplot -> actual location of the binary object for gnuplot 5.0

You will need root access to be able to create files in /usr/... files.
You can obtain this by using the sudo command.
Enter your password if sudo asks for a password.

I might mention that this is not guaranteed to work, but it might save a recompilation.

Alternatively, another method would be to tell apt-get to remove gnuplot (since it doesn't know anything about your compiled version) with
Code:
sudo apt-get purge gnuplot
Assuming your version is in your path, this is the only one which will get found (hopefully it isn't called gnuplot5.0.0 or whatever).

Of course, if gnuplot is used by any other software on your system, it will likely fail.

It's generally a bad idea to mix compiled code with stuff in repositories.
Next time you upgrade, you might have to repeat all this stuff.
 
Old 02-03-2015, 06:39 PM   #18
AlexBB
Member
 
Registered: Mar 2014
Posts: 437

Original Poster
Rep: Reputation: Disabled
Thank you very much Jeremy. I will try to do it either tomorrow or on the weekend when the head is clear.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
difficulties for installing gnuplot gnugpl Linux - Newbie 9 07-19-2012 02:01 PM
Yum is installing an old version of subversion -- how can I get the latest version? dhjdhj Linux - Newbie 6 06-18-2009 01:34 AM
Gnuplot allycavs Linux - Software 5 02-04-2005 07:31 AM
uninstalling old software version and installing the new version RottenMutt Linux - Newbie 4 07-10-2003 11:32 PM
problems installing gnuplot on RH 7.2 Hano Linux - Software 2 10-23-2002 09:00 AM


All times are GMT -5. The time now is 02:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration