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 05-21-2014, 10:58 AM   #1
kkoistinen
LQ Newbie
 
Registered: Jul 2012
Posts: 15

Rep: Reputation: Disabled
How to update libraries


Hello,

I am looking for information on how to update libraries. I have problems with Persistence of Vision ray-tracer that requires libpng12-0 update but I don't know to do this. I am asking this because I suppose learning how to do this would be of benefit in future.
 
Old 05-21-2014, 11:11 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,812
Blog Entries: 1

Rep: Reputation: 259Reputation: 259Reputation: 259
Try using your package manager to start. If the latest version (or at least the minimum version you need) isn't available via your package manager, you can build the library from source.
 
Old 05-21-2014, 11:36 AM   #3
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
What distro are you using? And what version of libpng12-0 do you have and which one do you need? In Debian Testing, which I'm running, the current version is 1.2.50-1. I see this same version is also being used in Debian Unstable (Sid).
jdk
 
Old 05-21-2014, 01:26 PM   #4
kkoistinen
LQ Newbie
 
Registered: Jul 2012
Posts: 15

Original Poster
Rep: Reputation: Disabled
I am using Ubuntu 14.04. My language pack is finnish. The problem is as follows:

I have downloaded file povray_3.6.1.1-12_amd64.deb from Internet. When I try to install it, Ubuntu gives me the following error:

Violates existing packet 'libpng12-0' which is contradictory with following: 'povray-3.5'. But /home/kkoistinen74/Lataukset/povray_3.6.1.1-12_amd64.deb gives it as follows: 'povray-3.5, povray-3.6'

I assume I should do something (upgrade?) to libpng12-0 but don't know how to do this or what to do. Naturally above error is translated from finnish.
 
Old 05-21-2014, 01:39 PM   #5
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
But what version of libpng12-0 do you have installed now. And why do you need to download povray from the internet. You should be able to install it with your package manager. This is what weibullguy already suggested. The package povray exists in the Debian repos so it should be found in the Ubuntu repos as well.
Quote:
Naturally above error is translated from finnish.
Tietysti.
jdk
 
Old 05-21-2014, 02:48 PM   #6
kkoistinen
LQ Newbie
 
Registered: Jul 2012
Posts: 15

Original Poster
Rep: Reputation: Disabled
My version of libpng12-0 is libpng12-0 1.2.50-1ubuntu2. The reason why I have to download povray from Internet is that I am unable to install it through normal Ubuntu software installation. It is very likely that I am doing something wrong here. Should I try to install povray through apt-get in terminal? What should I type?

Edited later:

I managed to install Povray through information in Internet. Thank you all for help with this issue.

Last edited by kkoistinen; 05-21-2014 at 03:24 PM.
 
Old 05-22-2014, 12:24 AM   #7
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
As a service to others please mark this thread as [SOLVED]. You can use the Thread Tools menu located above your first post of this thread.
jdk
 
  


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
[SOLVED] Update Steam Runtime Libraries ShaneRoach Debian 4 05-17-2014 12:22 AM
Backtrack - how to update software, libraries and dependencies echorequest Linux - Software 0 12-29-2007 07:20 AM
what is the best way to update slackware libraries? waelaltaqi Slackware 7 01-11-2007 10:42 AM
KDE libraries update problem fireedo SUSE / openSUSE 0 05-12-2005 01:49 PM


All times are GMT -5. The time now is 02:07 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration