How can I install Perl's DBI module on Ubuntu?

4

While I am trying to install perl modules-DBI i am getting this kind of error

Permission denied at /usr/local/share/perl/5.8.8/CPAN/HandleConfig.pm line 554

dhivi

Posted 2009-11-10T10:01:29.440

Reputation:

Answers

11

sudo aptitude install libdbi-perl

innaM

Posted 2009-11-10T10:01:29.440

Reputation: 9 208

4

try to do that from root account

catwalk

Posted 2009-11-10T10:01:29.440

Reputation:

Now it's sudo apt install libdbi-perl – kikerrobles – 2019-06-20T08:49:18.373

Ubuntu strongly discourages logging in as root and expects you to use sudo instead. – Paul Tomblin – 2009-11-10T12:36:52.197