lensfun

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
bmike1
Level 6
Level 6
Posts: 1067
Joined: Mon Nov 28, 2011 1:13 am

lensfun

Post by bmike1 »

How do I put the lensfun database on my system?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
:)~Mikey~(:
User avatar
JoeFootball
Level 13
Level 13
Posts: 4673
Joined: Tue Nov 24, 2009 1:52 pm
Location: /home/usa/mn/minneapolis/joe

Re: lensfun

Post by JoeFootball »

bmike1 wrote:How do I put the lensfun database on my system?
Sounds like you download it, then import the library with one of the supported applications.

How to use Lensfun?

Joe
phd21
Level 20
Level 20
Posts: 10104
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: lensfun

Post by phd21 »

Hi bmike1,

I just read your post and the good replies to it. Here are my thoughts on this as well.

It might be in the Linux Mint software repositories (Software Manager or Synaptic Package Manager (SPM)). I also noticed a "gimp-lensfun" in my "Synaptic Package Manager (SPM)" of Linux Mint 18.x.

If "lensfun" is not in the Mint Software Manager or Synaptic Package Manager (SPM), there is a PPA you can use which also has updated Darktable. I use this.
Darktable Releases : Pascal de Bruijn
https://launchpad.net/~pmjdebruijn/+arc ... le-release

To install this using the PPA method, open a console terminal, type in, or copy & paste, each line below one by one: Click "Select All" above command, right click the highlighted command, select Copy (or Ctrl+Insert), click in the console terminal window, and right click paste (or Shift+Insert or "Ctrl+Shift+v"), repeat for each command.

Code: Select all

sudo add-apt-repository ppa:pmjdebruijn/darktable-release

Code: Select all

sudo apt-get update

Code: Select all

sudo apt install lensfun
Hope this helps ...
Phd21: Mint 20 Cinnamon & KDE Neon 64-bit Awesome OS's, Dell Inspiron I5 7000 (7573, quad core i5-8250U ) 2 in 1 touch screen
bmike1
Level 6
Level 6
Posts: 1067
Joined: Mon Nov 28, 2011 1:13 am

Re: lensfun

Post by bmike1 »

thanks for trying.
E: Unable to locate package lensfun
:)~Mikey~(:
phd21
Level 20
Level 20
Posts: 10104
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: lensfun

Post by phd21 »

Hi bmike1,

If you added that PPA, ran the update, you should be able to install "lensfun" from the "Synaptic Package Manager (SPM)" or from the console terminal. I thought it was installed as part of darktable. It seems to me that it would show up under "lens correction", but you need to have a camera attached to configure it (I think).

Console terminal command might have to run separate data first.

Code: Select all

sudo apt install liblensfun-data liblensfun0

And, in case you did not know, you can also download deb file(s) from most PPA's by going to their PPA launchpad website, click view details midway on the right, clicking the package for your installed system, Xenial = Linux Mint 18.x, Bionic = Linux Mint 19.x, scroll down to see the deb file(s).

For Linux Mint 18.x based on Ubuntu 16.04 Xenial
If there is more than one deb file for a particular package, you may have to download and install them in some order.

64-bit
Lensfun data deb file
https://launchpad.net/~pmjdebruijn/+arc ... al_all.deb

Lensfun main deb file
https://launchpad.net/~pmjdebruijn/+arc ... _amd64.deb


Hope this helps ...
.
Lensfun-Synaptic-LM19.jpg
Phd21: Mint 20 Cinnamon & KDE Neon 64-bit Awesome OS's, Dell Inspiron I5 7000 (7573, quad core i5-8250U ) 2 in 1 touch screen
bmike1
Level 6
Level 6
Posts: 1067
Joined: Mon Nov 28, 2011 1:13 am

Re: lensfun

Post by bmike1 »

liblensfun0 is already the newest version (0.2.8-3pmjdebruijn3~xenial).
liblensfun-data is already the newest version (0.2.8-3pmjdebruijn3~xenial).
liblensfun-data set to manually installed.

so I got is all current. It is just that my lenses aren't in it. Bummer.
:)~Mikey~(:
phd21
Level 20
Level 20
Posts: 10104
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: lensfun

Post by phd21 »

Hi bmike1,

I am glad you finally got it installed.

Unfortunately, I do not have a nice digital (DSLR) camera to test this with although I certainly would love one.

Here is more information on lensfun:

Apparently, they are up to this version: 2018-06-29 Alpha release 0.3.95
In my Ubuntu 18.04 you can see that 0.3.2 is already available.


Read this: Lensfun 0.3.2 on Ubuntu Xenial 16.04 | ValiDOMs Welt
http://validom.net/blog/2016/08/16/lens ... ial-16-04/
The above link is for Linux Mint 18.x based on Ubuntu 16.04 Xenial, but the referenced PPA has deb files that could be installed in Linux Mint 19 as well. No need to compile source code because there is a PPA for Darktable and lensfun. I noticed a comment that said all they had to do to get Darktable working was to create a "symlink" to a file which is all that you may have to do with the currently installed LensFun packages.

Caution Note: When there is more than one PPA for a particular software or software packages there can be conflicts. You may have to disable any current PPA for that software or to remove it and the software before adding the other PPA and its software packages. You can disable (uncheck) a PPA through the "Software Sources" in the Mint Update Manager, "Synaptic Package Manager (SPM)", or there may be a menu option. You can remove a ppa through those options, or using the console terminal commands below:

Code: Select all

sudo apt install ppa-purge

Code: Select all

sudo ppa-purge <name of ppa>
How to Remove/Delete PPA on Ubuntu and its Derivatives - 2daygeek.com
https://www.2daygeek.com/how-to-remove- ... entary-os/

Info:
Lensfun
http://lensfun.sourceforge.net/

Lensfun
http://lensfun.sourceforge.net/lenslist/

Lens calibration for Lensfun
https://wilson.bronger.org/lens_calibration_tutorial/


lensfun/lensfun: This is NOT the official Lensfun repository but ONLY for the calibration team work!
https://github.com/lensfun/lensfun


Hope this helps ...
Phd21: Mint 20 Cinnamon & KDE Neon 64-bit Awesome OS's, Dell Inspiron I5 7000 (7573, quad core i5-8250U ) 2 in 1 touch screen
Locked

Return to “Beginner Questions”