安装DBI模块时,首先运行perl Makefile.PL命令生成Makefile,然后执行make编译,如果需要,可以运行make test进行测试,最后通过make install完成安装。