Re: cpan oddity
f...@dnsbed.com wrote: Jude DaShiell wrote: > > I ran cpan and did quick configuration and chose sudo to elevate > > privileges when necessary. Unfortunately I don't have write access on > > /usr/local/bin so cpan is crippled. > try cpanminus? > $ sudo apt install cpanminus Please note that when installing via cpanminus to a unprivileged directory, such as $HOME/perl5, you must also include it in your environment. see 'man local::lib'. -- Joel Roth
Re: cpan oddity
I ran the cpan command as regular user not sudo. I configured cpan to elevate privileges as necessary with sudo. I ended up wiping the whole cpan installation and starting over using local lib rather than sudo. For now it seems more successful. -- Jude "There are four boxes to be used in defense of liberty: soap, ballot, jury, and amo. Please use in that order." Ed Howdershelt 1940. On Mon, 27 Mar 2023, debian-u...@howorth.org.uk wrote: > f...@dnsbed.com wrote: > > On 2023-03-27 08:21, Jude DaShiell wrote: > > > I ran cpan and did quick configuration and chose sudo to elevate > > > privileges when necessary. Unfortunately I don't have write access > > > on /usr/local/bin so cpan is crippled. > > > > try cpanminus? > > $ sudo apt install cpanminus > > Yes, I haven't used cpan in many years. Use cpanm instead. > > As to the lack of write permission problem. I think we'll need more > information about what you did and what the output was. If your sudo > made you root, then how could you not have write access? > >
Re: cpan oddity
f...@dnsbed.com wrote: > On 2023-03-27 08:21, Jude DaShiell wrote: > > I ran cpan and did quick configuration and chose sudo to elevate > > privileges when necessary. Unfortunately I don't have write access > > on /usr/local/bin so cpan is crippled. > > try cpanminus? > $ sudo apt install cpanminus Yes, I haven't used cpan in many years. Use cpanm instead. As to the lack of write permission problem. I think we'll need more information about what you did and what the output was. If your sudo made you root, then how could you not have write access?
Re: cpan oddity
On 2023-03-27 08:21, Jude DaShiell wrote: I ran cpan and did quick configuration and chose sudo to elevate privileges when necessary. Unfortunately I don't have write access on /usr/local/bin so cpan is crippled. -- Jude "There are four boxes to be used in defense of liberty: soap, ballot, jury, and amo. Please use in that order." Ed Howdershelt 1940. try cpanminus? $ sudo apt install cpanminus
Re: cpan oddity
Jude DaShiell wrote: > I ran cpan and did quick configuration and chose sudo to elevate > privileges when necessary. Unfortunately I don't have write access on > /usr/local/bin so cpan is crippled. You can re-answer all the cpan questions by typing: cpan o conf init -dsr-
cpan oddity
I ran cpan and did quick configuration and chose sudo to elevate privileges when necessary. Unfortunately I don't have write access on /usr/local/bin so cpan is crippled. -- Jude "There are four boxes to be used in defense of liberty: soap, ballot, jury, and amo. Please use in that order." Ed Howdershelt 1940.