To install libsocket-perl just follow these instructions.
sudo apt-get install libsocket-perl
Which will install libsocket-perl and any other packages on which it depends.
|Maintainer||Debian Perl Group <email@example.com>|
|Description||networking constants and support functions functions related to socket-based networking. The values and functions provided are useful when used in conjunction with Perl core functions such as socket(), setsockopt() and bind(). It also provides several other support functions, mostly for dealing with conversions of network addresses between human-readable and native binary forms, and for hostname resolver operations.|