LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 09:58 AM   #1
kkoistinen
Member
 
Registered: Jul 2012
Posts: 66

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, 10:11 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
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, 10:36 AM   #3
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

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, 12:26 PM   #4
kkoistinen
Member
 
Registered: Jul 2012
Posts: 66

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, 12:39 PM   #5
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

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, 01:48 PM   #6
kkoistinen
Member
 
Registered: Jul 2012
Posts: 66

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 02:24 PM.
 
Old 05-21-2014, 11:24 PM   #7
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

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-16-2014 11:22 PM
Backtrack - how to update software, libraries and dependencies echorequest Linux - Software 0 12-29-2007 06:20 AM
what is the best way to update slackware libraries? waelaltaqi Slackware 7 01-11-2007 09:42 AM
KDE libraries update problem fireedo SUSE / openSUSE 0 05-12-2005 12:49 PM

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

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