sudo should NOT be used to install perl modules at all (no elevated permissions are required in any platform).
apt is an Ubuntu OS package manager; CPAN is a perl module manager which amongst many packages might be installed using the OS package manager. If you upgrade the perl version then you will have to install the F::Q module in that new version as well and has no relation with future apt updates. They are two different and independent work flows. -----Original Message----- From: Jour Maken <[email protected]> Sent: Monday, May 22, 2023 1:33 PM To: [email protected] Subject: Re: [GNC] Price quotes Thank you for the F::Q update method. On Ubuntu Linux 22.04 LTS, would this need to be run with sudo, and would future apt updates be affected? Regards, Divakar On 22/05/23 22:56, Kalpesh Patel wrote: > F::Q was updated to version 1.55 which has a fix in it, albeit most > likely short term until Yahoo shuts off that spigot. In any platform > you can install/upgrade F::Q manually. Just run following two commands > in CMD or shell .... > > perl -MCPAN -e shell > install Finance::Quote > > # first command will put you in the CPAN command prompt. If doing so > for first time, accept all defaults which are likely to work fine as > they are sane setting. > # second command should install module and missing dependencies, and > upgrade any dependencies if out of date. > > > > For Windows platform this is what it should look like: > > Microsoft Windows [Version 10.0.22621.1702] > (c) Microsoft Corporation. All rights reserved. > > C:\Users\kalpesh>perl -MCPAN -e shell > Unable to get Terminal Size. The Win32 GetConsoleScreenBufferInfo call > didn't work. The COLUMNS and LINES environment variables didn't work. > at C:\Strawberry\perl\vendor\lib/Term/ReadLine/readline.pm line 410. > > cpan shell -- CPAN exploration and modules installation (v2.28) Enter > 'h' for help. > > cpan> install Finance::Quote > Database was generated on Mon, 22 May 2023 03:54:49 GMT Finance::Quote > is up to date (1.55). > > cpan>exit > C:\Users\kalpesh> > > > PS: there has been lengthy conversation about yahoo_json not working > on this list and a workaround/temporary fix for it. BTW it is not the > modules fault that it is not working. Yahoo now requires a cookie and > a matching crumb in order for API to work properly on the back-end. > > > -----Original Message----- > From: Murugan Muruganandam <[email protected]> > Sent: Monday, May 22, 2023 10:55 AM > To: Keith Bellairs <[email protected]>; gnucash-user email group > <[email protected]> > Subject: Re: [GNC] Price quotes > > Keith > > you need to give more details on the GNU version and also the Finance > quote version. if you have not updated, you need to get the latest > version where the yahoo issue is fixed > > > > > Saludos Cordiales > > > Murugan > > ________________________________ > From: gnucash-user > <[email protected]> on > behalf of Keith Bellairs <[email protected]> > Sent: Sunday, May 21, 2023 3:40 PM > To: gnucash-user email group <[email protected]> > Subject: [GNC] Price quotes > > I was using yahoo_json and it started failing to return anything. I > switched my securities over to Alphavantage and it works. But it is an > order of magnitude slower.Any word on Yahoo? > > Keith > _______________________________________________ > gnucash-user mailing list > [email protected] > To update your subscription preferences or to unsubscribe: > https://lists.gnucash.org/mailman/listinfo/gnucash-user > ----- > Please remember to CC this list on all your replies. > You can do this by using Reply-To-List or Reply-All. > > > _______________________________________________ > gnucash-user mailing list > [email protected] > To update your subscription preferences or to unsubscribe: > https://lists.gnucash.org/mailman/listinfo/gnucash-user > ----- > Please remember to CC this list on all your replies. > You can do this by using Reply-To-List or Reply-All. _______________________________________________ gnucash-user mailing list [email protected] To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user ----- Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
