Read more:
How to install cygwin
How to add packages after install Cygwin
Installation:
apt-cyg install autoconf
Result:
$ apt-cyg install autoconf Installing autoconf --2016-08-20 21:40:43-- http://cygwin.mirror.constant.com//noarch/release/autoconf/autoconf-13-1.tar.bz2 Resolving cygwin.mirror.constant.com (cygwin.mirror.constant.com)... 108.61.5.83 Connecting to cygwin.mirror.constant.com (cygwin.mirror.constant.com)|108.61.5.83|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 3388 (3,3K) [application/octet-stream] Saving to: ‘autoconf-13-1.tar.bz2’ autoconf-13-1.tar.b 100%[===================>] 3,31K --.-KB/s in 0s 2016-08-20 21:40:45 (23,0 MB/s) - ‘autoconf-13-1.tar.bz2’ saved [3388/3388] autoconf-13-1.tar.bz2: OK Unpacking... Package autoconf requires the following packages, installing: autoconf2.1 autoconf2.5 bash sed Installing autoconf2.1 --2016-08-20 21:40:45-- http://cygwin.mirror.constant.com//noarch/release/autoconf2.1/autoconf2.1-2.13-12.tar.bz2 Resolving cygwin.mirror.constant.com (cygwin.mirror.constant.com)... 108.61.5.83 Connecting to cygwin.mirror.constant.com (cygwin.mirror.constant.com)|108.61.5.83|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 204911 (200K) [application/octet-stream] Saving to: ‘autoconf2.1-2.13-12.tar.bz2’ autoconf2.1-2.13-12 100%[===================>] 200,11K 46,7KB/s in 4,3s 2016-08-20 21:40:50 (46,7 KB/s) - ‘autoconf2.1-2.13-12.tar.bz2’ saved [204911/204911] autoconf2.1-2.13-12.tar.bz2: OK Unpacking... Package autoconf2.1 requires the following packages, installing: bash coreutils info m4 perl Package bash is already installed, skipping Package coreutils is already installed, skipping Package info is already installed, skipping Installing m4 --2016-08-20 21:40:51-- http://cygwin.mirror.constant.com//x86_64/release/m4/m4-1.4.17-2.tar.xz Resolving cygwin.mirror.constant.com (cygwin.mirror.constant.com)... 108.61.5.83 Connecting to cygwin.mirror.constant.com (cygwin.mirror.constant.com)|108.61.5.83|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 275592 (269K) [application/octet-stream] Saving to: ‘m4-1.4.17-2.tar.xz’ m4-1.4.17-2.tar.xz 100%[===================>] 269,13K 62,5KB/s in 4,3s 2016-08-20 21:40:56 (62,5 KB/s) - ‘m4-1.4.17-2.tar.xz’ saved [275592/275592] m4-1.4.17-2.tar.xz: OK Unpacking... Package m4 requires the following packages, installing: cygwin libsigsegv2 Package cygwin is already installed, skipping Package libsigsegv2 is already installed, skipping Installing perl --2016-08-20 21:40:57-- http://cygwin.mirror.constant.com//x86_64/release/perl/perl-5.22.2-1.tar.xz Resolving cygwin.mirror.constant.com (cygwin.mirror.constant.com)... 108.61.5.83 Connecting to cygwin.mirror.constant.com (cygwin.mirror.constant.com)|108.61.5.83|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 3531600 (3,4M) [application/octet-stream] Saving to: ‘perl-5.22.2-1.tar.xz’ perl-5.22.2-1.tar.x 100%[===================>] 3,37M 83,2KB/s in 92s 2016-08-20 21:42:29 (37,5 KB/s) - ‘perl-5.22.2-1.tar.xz’ saved [3531600/3531600] perl-5.22.2-1.tar.xz: OK Unpacking... Package perl requires the following packages, installing: cygwin libcrypt0 libdb5.3 libgdbm4 libssp0 perl_autorebase perl_base Package cygwin is already installed, skipping Package libcrypt0 is already installed, skipping Package libdb5.3 is already installed, skipping Package libgdbm4 is already installed, skipping Package libssp0 is already installed, skipping Installing perl_autorebase --2016-08-20 21:42:33-- http://cygwin.mirror.constant.com//x86_64/release/perl/perl_autorebase/perl_autorebase-5.22.2-1.tar.xz Resolving cygwin.mirror.constant.com (cygwin.mirror.constant.com)... 108.61.5.83 Connecting to cygwin.mirror.constant.com (cygwin.mirror.constant.com)|108.61.5.83|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 264 [application/octet-stream] Saving to: ‘perl_autorebase-5.22.2-1.tar.xz’ perl_autorebase-5.2 100%[===================>] 264 --.-KB/s in 0s 2016-08-20 21:42:33 (1,35 MB/s) - ‘perl_autorebase-5.22.2-1.tar.xz’ saved [264/264] perl_autorebase-5.22.2-1.tar.xz: OK Unpacking... Installing perl_base --2016-08-20 21:42:34-- http://cygwin.mirror.constant.com//x86_64/release/perl/perl_base/perl_base-5.22.2-1.tar.xz Resolving cygwin.mirror.constant.com (cygwin.mirror.constant.com)... 108.61.5.83 Connecting to cygwin.mirror.constant.com (cygwin.mirror.constant.com)|108.61.5.83|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 2945432 (2,8M) [application/octet-stream] Saving to: ‘perl_base-5.22.2-1.tar.xz’ perl_base-5.22.2-1. 100%[===================>] 2,81M 25,7KB/s in 68s 2016-08-20 21:43:42 (42,3 KB/s) - ‘perl_base-5.22.2-1.tar.xz’ saved [2945432/2945432] perl_base-5.22.2-1.tar.xz: OK Unpacking... Package perl_base requires the following packages, installing: cygwin libcrypt0 libssp0 Package cygwin is already installed, skipping Package libcrypt0 is already installed, skipping Package libssp0 is already installed, skipping Installing autoconf2.5 --2016-08-20 21:43:52-- http://cygwin.mirror.constant.com//noarch/release/autoconf2.5/autoconf2.5-2.69-3.tar.xz Resolving cygwin.mirror.constant.com (cygwin.mirror.constant.com)... 108.61.5.83 Connecting to cygwin.mirror.constant.com (cygwin.mirror.constant.com)|108.61.5.83|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 720716 (704K) [application/octet-stream] Saving to: ‘autoconf2.5-2.69-3.tar.xz’ autoconf2.5-2.69-3. 100%[===================>] 703,82K 43,6KB/s in 26s 2016-08-20 21:44:19 (26,8 KB/s) - ‘autoconf2.5-2.69-3.tar.xz’ saved [720716/720716] autoconf2.5-2.69-3.tar.xz: OK Unpacking... Package autoconf2.5 requires the following packages, installing: bash m4 perl Package bash is already installed, skipping Package m4 is already installed, skipping Package perl is already installed, skipping Package bash is already installed, skipping Package sed is already installed, skipping Running /etc/postinstall/autoconf.sh Package autoconf installed