LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 02-22-2011, 08:30 AM   #1
ndphysics
LQ Newbie
 
Registered: Feb 2011
Location: Orlando
Posts: 3

Rep: Reputation: 0
Question How to upgrade gnuplot from 4.2 to 4.4 in Ubuntu environment?


I am working in Linux in Ubuntu-environment. I could not get some of the features of Gnuplot with the 4.2 version. I tried to upgrade it. But it says the newest version is install in your computer. But it is not so. How to uninstall gnuplot 4.2 and reinstall gnuplot 4.4? May you help me in this regard please?
 
Old 02-23-2011, 01:23 AM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,818

Rep: Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004
What that means is that the newest version it found in your distributions repositories is 4.2, and not 4.4, hence 4.4 has not been packaged yet. If you really can't wait, then apt-get remove gnuplot and download the source to version 4.4 and manually compile. Good luck!
 
Old 02-23-2011, 01:29 AM   #3
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,818

Rep: Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004
And to help you out, here you go man:

http://www.miscdebris.net/blog/2010/...-ubuntu-linux/
 
Old 02-23-2011, 04:46 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2019 CentOS6.10 CentOS7.6 + 50+ other Linux OS, for test only.
Posts: 17,218

Rep: Reputation: 3555Reputation: 3555Reputation: 3555Reputation: 3555Reputation: 3555Reputation: 3555Reputation: 3555Reputation: 3555Reputation: 3555Reputation: 3555Reputation: 3555
'sudo dpkg -i <package>.deb' will update the package, when <package>
is a later version than the already installed one.

Add this to /etc/apt/sources.list : Natty source / src :
Code:
deb-src http://mirrors.nic.funet.fi/ubuntu/ natty main restricted
deb-src http://mirrors.nic.funet.fi/ubuntu/ natty universe
deb-src http://mirrors.nic.funet.fi/ubuntu/ natty-security main
deb-src http://mirrors.nic.funet.fi/ubuntu/ natty-security universe
deb-src http://mirrors.nic.funet.fi/ubuntu/ natty-security multiverse
Next : 1) sudo apt-get update
2) sudo apt-get build-dep gnuplot
3) sudo apt-get -b source gnuplot=4.4.2-0ubuntu1
4) sudo dpkg -i gnuplot_4.4.2-0ubuntu1*

Also : Please specify Ubuntu version, every time you ask a question.
The command 'cat /etc/issue' will reply with the version.
http://www.linuxquestions.org/linux/...Ask_a_Question
http://linuxsilo.net/docs/smart-questions_en.html
..
 
Old 03-03-2011, 08:13 AM   #5
ndphysics
LQ Newbie
 
Registered: Feb 2011
Location: Orlando
Posts: 3

Original Poster
Rep: Reputation: 0
My problem was not solved. It figured it out why. My ubuntu version is 10.4 but Gnuplot 4.4 is designed for ubuntu 10.10 latest]. But I could not upgrade my ubuntu. It says "An Unresolveable error occured" Do you have any idea how to solve it please?
 
Old 03-03-2011, 08:59 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2019 CentOS6.10 CentOS7.6 + 50+ other Linux OS, for test only.
Posts: 17,218

Rep: Reputation: 3555Reputation: 3555Reputation: 3555Reputation: 3555Reputation: 3555Reputation: 3555Reputation: 3555Reputation: 3555Reputation: 3555Reputation: 3555Reputation: 3555
Post # 5.

? Did you try out the solution in post # 4 ?

Following it step by step, you will get gnuplot_4.4.2-0ubuntu1<arch>.deb
created in /home/<user-name>.
 
Old 03-03-2011, 07:40 PM   #7
ndphysics
LQ Newbie
 
Registered: Feb 2011
Location: Orlando
Posts: 3

Original Poster
Rep: Reputation: 0
Yes I tried but not working please. I had the same problem in my desktop but got solved when I upgraded my Ubuntu. But in my Labtop I have not been able to upgrade the Ubuntu. Do you think I have to put the question in different title? Thank you for your suggestion and valuable time.
 
Old 03-04-2011, 04:57 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2019 CentOS6.10 CentOS7.6 + 50+ other Linux OS, for test only.
Posts: 17,218

Rep: Reputation: 3555Reputation: 3555Reputation: 3555Reputation: 3555Reputation: 3555Reputation: 3555Reputation: 3555Reputation: 3555Reputation: 3555Reputation: 3555Reputation: 3555
First build, gnuplot-4.4.0: maverick "src" was added to /etc/apt/sources.list.
Tricky : libwxgtk2.8-dev, libwxbase2.8-dev must be [lucid] versions,
because the [lucid-updates] currently are faulty packages.
http://packages.ubuntu.com/lucid/libwxbase2.8-dev

sudo apt-get -b source gnuplot=4.4.0-1 → → the result is ...
dpkg-deb: building .. 'gnuplot' in '../gnuplot_4.4.0-1_all.deb'.
dpkg-deb: building .. 'gnuplot-doc' in '../gnuplot-doc_4.4.0-1_all.deb'.
dpkg-deb: building .. 'gnuplot-nox' in '../gnuplot-nox_4.4.0-1_amd64.deb'.
dpkg-deb: building .. 'gnuplot-x11' in '../gnuplot-x11_4.4.0-1_amd64.deb'.



Second build : gnuplot-4.4.2 : 1) install pmake
2) sudo apt-get -b source libedit2=2.11-20080614-2
sudo dpkg -i \
libedit2_2.11-20080614-2_amd64.deb libedit-dev_2.11-20080614-2_amd64.deb
3) sudo apt-get -b source gnuplot=4.4.2-0ubuntu1 → → the result is ...
dpkg-deb: building .. 'gnuplot' in '../gnuplot_4.4.2-0ubuntu1_all.deb'.
dpkg-deb: building .. 'gnuplot-doc' in '../gnuplot-doc_4.4.2-0ubuntu1_all.deb'.
dpkg-deb: building .. 'gnuplot-nox' in '../gnuplot-nox_4.4.2-0ubuntu1_amd64.deb'.
dpkg-deb: building .. 'gnuplot-x11' in '../gnuplot-x11_4.4.2-0ubuntu1_amd64.deb'.

Probably the same for 32bits : I don't think, you told which architecture
you are using. The command 'uname -a' will tell.
I guess, I can upload the packages, if you don't want to build gnuplot.

..

Last edited by knudfl; 03-04-2011 at 06:24 AM.
 
  


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
Cant upgrade kde4.0 base system, desktop environment etc riba43 SUSE / openSUSE 5 04-16-2008 06:19 PM
MySQL Live upgrade from 4 -> 5 in production environment with replication? x_terminat_or_3 Linux - Server 2 09-17-2007 01:47 PM
Using dist-upgrade to upgrade from Debian to Ubuntu jcbparry Debian 8 09-13-2007 07:25 AM
Kernal Upgrade in Remove Server Environment Jubalint Debian 2 02-18-2007 08:45 AM
LXer: Screenshots of OpenSolaris Live Upgrade in Debian/NexentaOS environment LXer Syndicated Linux News 0 06-21-2006 02:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 02:58 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