LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 01-04-2015, 08:36 PM   #1
AlexBB
Member
 
Registered: Mar 2014
Posts: 464

Rep: Reputation: Disabled
Can's install gnuplot


Hi there. I hve been trying to isntall install gnuplot in this Ubuntu 14.04 laptop. I have successfully done it in other machines, including virtual but for some reason it does not work here.

For instance:

Quote:
alex@Aster:~$ gnuplot
The program 'gnuplot' can be found in the following packages:
* gnuplot-nox
* gnuplot-qt
* gnuplot-x11
Try: sudo apt-get install <selected package>
I do it again, the Ubuntu goes through all normal steps and as a result I still do not have the package. Why?
 
Old 01-04-2015, 10:53 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Gnuplot, Ubuntu 14.04 Trusty : The universe repository
http://packages.ubuntu.com/trusty/gnuplot

$ sudo apt-get update && sudo apt-get install gnuplot

And / or do a search : $ apt-cache search gnuplot

... If no package ``gnuplot´´ :
Please enable "universe" →
$ sudo apt-get install synaptic
→ → Open the Synaptic package manager >> Settings >> Repositories
... and tick universe, multiverse, restricted.

-
 
Old 01-04-2015, 11:34 PM   #3
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Install gnuplot-x11 with package manager.
 
Old 01-05-2015, 10:34 AM   #4
AlexBB
Member
 
Registered: Mar 2014
Posts: 464

Original Poster
Rep: Reputation: Disabled
Thanks for suggestions. Search command:

Quote:
alex@Aster:~$ apt-cache search gnuplot
bonnie++ - Hard drive benchmark suite
devscripts - scripts to make the life of a Debian Package maintainer easier
texlive-latex-extra - TeX Live: LaTeX supplementary packages
texlive-pictures - TeX Live: Graphics packages and programs
amanda-client - Advanced Maryland Automatic Network Disk Archiver (Client)
amanda-server - Advanced Maryland Automatic Network Disk Archiver (Server)
cdck - tool for verifying the quality of written CDs/DVDs
chiark-scripts - chiark system administration scripts
circos - plotter for visualizing data
collectl - Utility to collect Linux performance data
ctioga2 - polymorphic plotting program
feedgnuplot - Pipe-oriented frontend to Gnuplot
gausssum - parse and display Gaussian, GAMESS, and etc's output
gnuplot - Command-line driven interactive plotting program
gnuplot-doc - Command-line driven interactive plotting program. Doc-package
gnuplot-mode - Yet another Gnuplot mode for Emacs
gnuplot-nox - Command-line driven interactive plotting program. No-X package
gnuplot-qt - Command-line driven interactive plotting program. QT-package
gnuplot-x11 - Command-line driven interactive plotting program. X-package
jed-extra - collection of useful Jed modes and utilities
kayali - A Qt-based Computer Algebra System
libchart-gnuplot-perl - module for generating two- and three-dimensional plots
libfinance-bank-ie-permanenttsb-perl - perl interface to the PermanentTSB Open24 homebanking
libgnuplot-ocaml-dev - OCaml interface to the gnuplot utility
libgnuplot-ruby - Transitional package for ruby-gnuplot
libgnuplot-ruby1.8 - Transitional package for ruby-gnuplot
libgraphics-gnuplotif-perl - dynamic Perl interface to gnuplot
libploticus0 - script driven business graphics library
libploticus0-dev - Development files for the ploticus library
mathomatic - portable Computer Algebra System (CAS)
octave-plplot - Octave support for PLplot, a plotting library
plotdrop - A minimal GNOME frontend to GNUPlot
ploticus - script driven business graphics package
probcons-extra - Extra programs from the probcons package
pstoedit - PostScript and PDF files to editable vector graphics converter
python-gnuplot - Python interface to the gnuplot plotting program
python-scitools - Python library for scientific computing
rheolef - efficient Finite Element environment
rlplot - GUI application for generating publication quality graphs
ruby-gnuplot - Ruby library to interact with gnuplot
scidavis - application for scientific data analysis and visualization
stda - simple tools for data analysis (stda)
tcptrace - Tool for analyzing tcpdump output
alex@Aster:~$ gnuplot
The program 'gnuplot' can be found in the following packages:
* gnuplot-nox
* gnuplot-qt
* gnuplot-x11
Try: sudo apt-get install <selected package>
alex@Aster:~$
I don't uderstand the output. I've tried to install gnuplot-qt and gnuplot-nox with the same negative result. Will try other commands suggested. Thanks.
 
Old 01-05-2015, 11:17 AM   #5
AlexBB
Member
 
Registered: Mar 2014
Posts: 464

Original Poster
Rep: Reputation: Disabled
Well, I donm't think the install synaptic succeeded. All I got was a bunch of errors it seems. Also I want to stress I have installed gnuplot on other Ubuntu machines, including my virtual machine with no problem however now I don't have access to any of them temporarily and am working from my laptop.

Quote:
alex@Aster:~$ sudo apt-get install synaptic
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
docbook-xml librarian0 rarian-compat sgml-data
Suggested packages:
docbook docbook-dsssl docbook-xsl docbook-defguide perlsgml w3-recs opensp
libxml2-utils dwww menu deborphan
The following NEW packages will be installed:
docbook-xml librarian0 rarian-compat sgml-data synaptic
0 upgraded, 5 newly installed, 0 to remove and 350 not upgraded.
Need to get 3,205 kB of archives.
After this operation, 11.9 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
sgml-data docbook-xml librarian0 rarian-compat synaptic
Install these packages without verification [y/N]? y
Err http://us.archive.ubuntu.com/ubuntu/ raring/main sgml-data all 2.0.8
404 Not Found [IP: 91.189.91.15 80]
Err http://us.archive.ubuntu.com/ubuntu/ raring/main docbook-xml all 4.5-7.1
404 Not Found [IP: 91.189.91.15 80]
Get:1 http://us.archive.ubuntu.com/ubuntu/ raring/main librarian0 amd64 0.8.1-5build1 [57.9 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ raring/main rarian-compat amd64 0.8.1-5build1 [102 kB]
Err http://us.archive.ubuntu.com/ubuntu/ raring-updates/universe synaptic amd64 0.80~exp2raring1
404 Not Found [IP: 91.189.91.15 80]
Fetched 159 kB in 0s (185 kB/s)
Failed to fetch http://us.archive.ubuntu.com/ubuntu/..._2.0.8_all.deb 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/....5-7.1_all.deb 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/...ing1_amd64.deb 404 Not Found [IP: 91.189.91.15 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
alex@Aster:~$ gnuplot
The program 'gnuplot' can be found in the following packages:
* gnuplot-nox
* gnuplot-qt
* gnuplot-x11
Try: sudo apt-get install <selected package>
alex@Aster:~$
Also I don't know how to get to Synaptic Package Manager however it may be a moot point now since I dom't think the synaptic is in my laptop.

Thanks for your help. - A.

Last edited by AlexBB; 01-05-2015 at 11:20 AM.
 
Old 01-05-2015, 11:37 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Post #1 says : "Ubuntu 14.04".

But post #5 : "raring" → → That's the outdated Ubuntu 13.04 !

? What's the output from the command $ cat /etc/issue

Also : Please show your file /etc/apt/sources.list

-
 
Old 01-06-2015, 10:48 AM   #7
AlexBB
Member
 
Registered: Mar 2014
Posts: 464

Original Poster
Rep: Reputation: Disabled
knudfl hi. You are correct. It is Ubuntu 13.04. I was not aware of this. It is a confusing situation for me. I am bedridden now and another family member gave me this laptop and set up a remote desktop with an rack mount R5400 system. On that machine with a double boot the Ubuntu is definitely 14.04 but in the laptop it seems to be 13.04:

Quote:
alex@Aster:~/JAVA$ cat /etc/issue
Ubuntu 13.04 \n \l
I actually tried to install gnuplot on both machines with the same result. And I know for a fact I have gnuplot in my rackmount because I used it so many times before. I also just found out I cannot install Java either with the same manifestations: Ubuntu goes through the motions, gives me all this copious output and after I try to use javac command it point me to the packages to install which I just installed.

I also ran an update command this morning and hoped that if there was an old version here it would be updated. Nothing like this happened however.

So, I don't know what to do and until I recovered and took possession of may rack mount I am handicapped. Thanks.
 
Old 01-06-2015, 10:55 AM   #8
AlexBB
Member
 
Registered: Mar 2014
Posts: 464

Original Poster
Rep: Reputation: Disabled
This is the file you are requesting. I understand it only partially. Could you comment? I can probably reinstall the Ubuntu 14.04. I do have a CD here.

Quote:
#deb cdrom:[Ubuntu 13.04 _Raring Ringtail_ - Release amd64 (20130424)]/ raring main restrictedmain
Sorry I decided to remove the content of the quote because I don't think it is of interest to anybody anymore.

Last edited by AlexBB; 01-06-2015 at 08:08 PM.
 
Old 01-06-2015, 10:57 AM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
← #7 .

Ubuntu 13.04 was obviously moved to "old releases",
and you will have to replace the content of /etc/apt/sources.list with :
Code:
deb http://old-releases.ubuntu.com/ubuntu/ raring main restricted
deb http://old-releases.ubuntu.com/ubuntu/ raring multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ raring-updates main restricted
deb http://old-releases.ubuntu.com/ubuntu/ raring-updates multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ raring-backports main restricted
deb http://old-releases.ubuntu.com/ubuntu/ raring-backports multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ raring-security main restricted
deb http://old-releases.ubuntu.com/ubuntu/ raring-security multiverse universe
 
Old 01-06-2015, 12:41 PM   #10
AlexBB
Member
 
Registered: Mar 2014
Posts: 464

Original Poster
Rep: Reputation: Disabled
Thank you. It does not allow me to save he new content. I do have admin privileges on this laptop now but it does not ask me for my sudo credentail. I will try another approach now.

There is no way I can do anything about this file. Permission denied is the answer when I try to save your code in a separate text file and copy it to /etc/apt/sources.list. I will have to reinstall Ubuntu it seems. A.

Last edited by AlexBB; 01-06-2015 at 12:48 PM.
 
Old 01-06-2015, 01:21 PM   #11
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
← #10 .

HOWTO edit /etc/apt/sources.list :
$ sudo gedit /etc/apt/sources.list

Or replace 'gedit' with your preferred editor.
 
Old 01-06-2015, 03:52 PM   #12
AlexBB
Member
 
Registered: Mar 2014
Posts: 464

Original Poster
Rep: Reputation: Disabled
Amazingly, it worked. I don't understand now why it did not work for me in the first place. I opened it in gedit. Perhaps I forgot to use the sudo command. Now I will try to install gnuplot again. Thanks, - A.
 
Old 01-06-2015, 03:57 PM   #13
AlexBB
Member
 
Registered: Mar 2014
Posts: 464

Original Poster
Rep: Reputation: Disabled
Now I have a different problem:

Quote:
alex@Aster:~$ gnuplot
The program 'gnuplot' can be found in the following packages:
* gnuplot-nox
* gnuplot-qt
* gnuplot-x11
Try: sudo apt-get install <selected package>
alex@Aster:~$ sudo apt-get install gnuplot-nox
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package gnuplot-nox
alex@Aster:~$
It was able to locate it before.
 
Old 01-06-2015, 05:01 PM   #14
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
← #13 .

The commands are :

$ sudo apt-get update
$ apt-cache search gnuplot
$ sudo apt-get install gnuplot

... Or you can use 'synaptic'.
* The `Refresh´ button will do the required 'apt-get update'.

-
 
Old 01-06-2015, 07:56 PM   #15
AlexBB
Member
 
Registered: Mar 2014
Posts: 464

Original Poster
Rep: Reputation: Disabled
Thank you very much for your help, however, the attempt resulted in failure and it is not your fault. I have two machines here: one is a laptop with Ubuntu 13.04 and the other is Dell rackmount R5400. So, another person set up a remote desktop for me from the laptop to the rackmount. I am temporary bedridden, this is why all this arrangement. So, in the rackmpount R5400 I have Ubuntui 14.04 and in the laptop this outdated Ubuntu 13.04. I know for a fact that I have gnuplot in the rackmount since I've used that package numerous times in the past.

Now, when I ran your three commands remotely they went through but most likely it did nothing to change the already installed software. Actually I have run all of them myself in the past two or three days. Every time I run a command I get a copious output which is hard for me to interprete. I am an application programmer and my mind is elsewhere.

So, my remote R5400 has the gnuplot and when I try to run a command: gnuplot file.gnu the system hangs up and I don't see the graphic. I began to suspect that for some weird reason the actual graphic is generated in my rackmount and I don't see it. I tried to send my wife there to describe what she saw but I could not figure out what it was. It is just a total mess.

So, I came up with an idea to copy all files I need to visualize into this laptop's directory, bypassing the remote desktop. However I cannot install gnuplot in the laptop. The system goes through the motions and comes up eventually with the same response: it offers me three packages for gnuplot to install as if I did not just install it the 15th time.

That's my story. I began this thread a few days ago and perhaps tomorrow I will get back my ability to walk again and the whole thing will become a moot point. Then I will go to my racmount and work.

I really appeciate your help. Some positive experience in analysing the system is what I am going to get out of it. Thanks, - A.

Last edited by AlexBB; 01-06-2015 at 08:04 PM.
 
  


Reply



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
[SOLVED] gnuplot 4.6.3 fskmh Slackware 3 05-02-2013 03:37 PM
Install gnuplot without as normal user cstrieder Ubuntu 3 02-03-2010 04:09 PM
Can't install gnuplot in kubuntu 7.04 matuk_444 Ubuntu 2 08-03-2007 07:57 AM
need help for gnuplot eph Linux - Newbie 1 08-23-2004 08:41 AM
about gnuplot Rex_chaos Linux - Software 0 09-25-2003 08:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:59 PM.

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
Open Source Consulting | Domain Registration