데비안에 Perl 모듈 GD 및 GD::Polyline을 설치하는 방법은 무엇입니까?

데비안에 Perl 모듈 GD 및 GD::Polyline을 설치하는 방법은 무엇입니까?

시작하려고 해요서커스Debian에서는 두 개의 모듈이 누락되었습니다.

root@masi:/home/masi/circos-0.69# bin/circos -modules | grep missing
missing            GD
missing            GD::Polyline

설치하는 중

root@masi:/home/masi/circos-0.69# cpan GD
CPAN: Storable loaded ok (v2.49_01)
Reading '/root/.local/share/.cpan/Metadata'
  Database was generated on Fri, 18 Nov 2016 15:53:48 GMT
Running install for module 'GD'
CPAN: Digest::SHA loaded ok (v5.88)
CPAN: Compress::Zlib loaded ok (v2.064)
Checksum for /root/.local/share/.cpan/sources/authors/id/L/LD/LDS/GD-2.56.tar.gz ok
CPAN: File::Temp loaded ok (v0.2304)
CPAN: YAML loaded ok (v1.13)
CPAN: Parse::CPAN::Meta loaded ok (v1.4414)
CPAN: CPAN::Meta loaded ok (v2.142690)
CPAN: Module::CoreList loaded ok (v5.20150214)
CPAN: Module::Build loaded ok (v0.421)
Configuring L/LD/LDS/GD-2.56.tar.gz with Build.PL
**UNRECOVERABLE ERROR**
Could not find gdlib-config in the search path. Please install libgd 2.0.28 or higher.
Warning: No success on command[/usr/bin/perl Build.PL --installdirs site]
  LDS/GD-2.56.tar.gz
  /usr/bin/perl Build.PL --installdirs site -- NOT OK

나도 apt-get install libgd이렇게 했지만 cpan libgd도움이 되지 않았습니다.

운영 체제: Debian 8.5
Perl: 5.20
Linux 커널: 4.6 백포트됨

답변1

sudo apt-get install libgd-perl

GD 및 GD::Polyline이 설치됩니다.

관련 정보