Step 1:
yum groupinstall 'Development Tools'
Result:
... extras | 2.9 kB 00:00 nginx | 2.9 kB 00:00 nodesource | 2.5 kB 00:00 remi | 3.0 kB 00:00 remi-debuginfo | 3.0 kB 00:00 remi-php55 | 3.0 kB 00:00 remi-php55-debuginfo | 3.0 kB 00:01 remi-php56 | 3.0 kB 00:00 remi-php56-debuginfo | 3.0 kB 00:00 remi-safe | 3.0 kB 00:00 remi-test | 3.0 kB 00:00 remi-test-debuginfo | 3.0 kB 00:00 updates | 2.9 kB 00:00 vesta | 2.9 kB 00:00 (1/16): extras/7/x86_64/primary_db | 205 kB 00:00 (2/16): epel/x86_64/group_gz | 95 kB 00:00 (3/16): nginx/x86_64/primary_db | 55 kB 00:02 (4/16): nodesource/x86_64/primary_db | 46 kB 00:02 (5/16): epel/x86_64/updateinfo | 1.0 MB 00:04 (6/16): remi-php55-debuginfo/x86_64/primary_db | 54 kB 00:00 (7/16): remi-php55/primary_db | 237 kB 00:05 (8/16): remi-php56-debuginfo/x86_64/primary_db | 55 kB 00:00 (9/16): remi-debuginfo/x86_64/primary_db | 566 kB 00:07 (10/16): remi-php56/primary_db | 246 kB 00:06 (11/16): remi-test-debuginfo/x86_64/primary_db | 145 kB 00:04 (12/16): updates/7/x86_64/primary_db | 3.7 MB 00:00 (13/16): remi-test/primary_db | 710 kB 00:12 (14/16): epel/x86_64/primary_db | 6.9 MB 00:30 (15/16): remi-safe/primary_db | 1.8 MB 00:22 (16/16): remi/primary_db | 2.7 MB 00:35 Resolving Dependencies --> Running transaction check ---> Package autoconf.noarch 0:2.69-11.el7 will be installed ---> Package automake.noarch 0:1.13.4-3.el7 will be installed --> Processing Dependency: perl(Thread::Queue) for package: automake-1.13.4-3.el7.noarch --> Processing Dependency: perl(TAP::Parser) for package: automake-1.13.4-3.el7.noarch ---> Package bison.x86_64 0:3.0.4-2.el7 will be installed ---> Package byacc.x86_64 0:1.9.20130304-3.el7 will be installed ---> Package cscope.x86_64 0:15.8-10.el7 will be installed --> Processing Dependency: emacs-filesystem for package: cscope-15.8-10.el7.x86_64 ---> Package ctags.x86_64 0:5.8-13.el7 will be installed ---> Package diffstat.x86_64 0:1.57-4.el7 will be installed ---> Package doxygen.x86_64 1:1.8.5-4.el7 will be installed ---> Package elfutils.x86_64 0:0.176-4.el7 will be installed ---> Package gcc.x86_64 0:4.8.5-39.el7 will be installed --> Processing Dependency: cpp = 4.8.5-39.el7 for package: gcc-4.8.5-39.el7.x86_64 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.8.5-39.el7.x86_64 --> Processing Dependency: libmpfr.so.4()(64bit) for package: gcc-4.8.5-39.el7.x86_64 --> Processing Dependency: libmpc.so.3()(64bit) for package: gcc-4.8.5-39.el7.x86_64 ---> Package gcc-c++.x86_64 0:4.8.5-39.el7 will be installed --> Processing Dependency: libstdc++-devel = 4.8.5-39.el7 for package: gcc-c++-4.8.5-39.el7.x86_64 ---> Package gcc-gfortran.x86_64 0:4.8.5-39.el7 will be installed --> Processing Dependency: libquadmath-devel = 4.8.5-39.el7 for package: gcc-gfortran-4.8.5-39.el7.x86_64 --> Processing Dependency: libquadmath = 4.8.5-39.el7 for package: gcc-gfortran-4.8.5-39.el7.x86_64 --> Processing Dependency: libgfortran = 4.8.5-39.el7 for package: gcc-gfortran-4.8.5-39.el7.x86_64 --> Processing Dependency: libgfortran.so.3()(64bit) for package: gcc-gfortran-4.8.5-39.el7.x86_64 ---> Package git.x86_64 0:1.8.3.1-23.el7_8 will be installed --> Processing Dependency: perl-Git = 1.8.3.1-23.el7_8 for package: git-1.8.3.1-23.el7_8.x86_64 --> Processing Dependency: rsync for package: git-1.8.3.1-23.el7_8.x86_64 --> Processing Dependency: perl(Term::ReadKey) for package: git-1.8.3.1-23.el7_8.x86_64 --> Processing Dependency: perl(Git) for package: git-1.8.3.1-23.el7_8.x86_64 --> Processing Dependency: perl(Error) for package: git-1.8.3.1-23.el7_8.x86_64 ---> Package indent.x86_64 0:2.2.11-13.el7 will be installed ---> Package intltool.noarch 0:0.50.2-7.el7 will be installed --> Processing Dependency: perl(XML::Parser) for package: intltool-0.50.2-7.el7.noarch --> Processing Dependency: gettext-devel for package: intltool-0.50.2-7.el7.noarch ---> Package libtool.x86_64 0:2.4.2-22.el7_3 will be installed ---> Package patch.x86_64 0:2.7.1-12.el7_7 will be installed ---> Package patchutils.x86_64 0:0.3.3-4.el7 will be installed ---> Package rcs.x86_64 0:5.9.0-7.el7 will be installed ---> Package redhat-rpm-config.noarch 0:9.1.0-88.el7.centos will be installed --> Processing Dependency: dwz >= 0.4 for package: redhat-rpm-config-9.1.0-88.el7.centos.noarch --> Processing Dependency: python-srpm-macros for package: redhat-rpm-config-9.1.0-88.el7.centos.noarch --> Processing Dependency: perl-srpm-macros for package: redhat-rpm-config-9.1.0-88.el7.centos.noarch ---> Package rpm-build.x86_64 0:4.11.3-43.el7 will be installed --> Processing Dependency: bzip2 for package: rpm-build-4.11.3-43.el7.x86_64 --> Processing Dependency: /usr/bin/gdb-add-index for package: rpm-build-4.11.3-43.el7.x86_64 ---> Package rpm-sign.x86_64 0:4.11.3-43.el7 will be installed ---> Package subversion.x86_64 0:1.7.14-14.el7 will be installed --> Processing Dependency: subversion-libs(x86-64) = 1.7.14-14.el7 for package: subversion-1.7.14-14.el7.x86_64 --> Processing Dependency: libsvn_wc-1.so.0()(64bit) for package: subversion-1.7.14-14.el7.x86_64 --> Processing Dependency: libsvn_subr-1.so.0()(64bit) for package: subversion-1.7.14-14.el7.x86_64 --> Processing Dependency: libsvn_repos-1.so.0()(64bit) for package: subversion-1.7.14-14.el7.x86_64 --> Processing Dependency: libsvn_ra_svn-1.so.0()(64bit) for package: subversion-1.7.14-14.el7.x86_64 --> Processing Dependency: libsvn_ra_neon-1.so.0()(64bit) for package: subversion-1.7.14-14.el7.x86_64 --> Processing Dependency: libsvn_ra_local-1.so.0()(64bit) for package: subversion-1.7.14-14.el7.x86_64 --> Processing Dependency: libsvn_ra-1.so.0()(64bit) for package: subversion-1.7.14-14.el7.x86_64 --> Processing Dependency: libsvn_fs_util-1.so.0()(64bit) for package: subversion-1.7.14-14.el7.x86_64 --> Processing Dependency: libsvn_fs_fs-1.so.0()(64bit) for package: subversion-1.7.14-14.el7.x86_64 --> Processing Dependency: libsvn_fs_base-1.so.0()(64bit) for package: subversion-1.7.14-14.el7.x86_64 --> Processing Dependency: libsvn_fs-1.so.0()(64bit) for package: subversion-1.7.14-14.el7.x86_64 --> Processing Dependency: libsvn_diff-1.so.0()(64bit) for package: subversion-1.7.14-14.el7.x86_64 --> Processing Dependency: libsvn_delta-1.so.0()(64bit) for package: subversion-1.7.14-14.el7.x86_64 --> Processing Dependency: libsvn_client-1.so.0()(64bit) for package: subversion-1.7.14-14.el7.x86_64 --> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.7.14-14.el7.x86_64 ---> Package swig.x86_64 0:2.0.10-5.el7 will be installed ---> Package systemtap.x86_64 0:4.0-11.el7 will be installed --> Processing Dependency: systemtap-devel = 4.0-11.el7 for package: systemtap-4.0-11.el7.x86_64 --> Processing Dependency: systemtap-client = 4.0-11.el7 for package: systemtap-4.0-11.el7.x86_64 --> Running transaction check ---> Package bzip2.x86_64 0:1.0.6-13.el7 will be installed ---> Package cpp.x86_64 0:4.8.5-39.el7 will be installed ---> Package dwz.x86_64 0:0.11-3.el7 will be installed ---> Package emacs-filesystem.noarch 1:24.3-23.el7 will be installed ---> Package gdb.x86_64 0:7.6.1-119.el7 will be installed ---> Package gettext-devel.x86_64 0:0.19.8.1-3.el7 will be installed --> Processing Dependency: gettext-common-devel = 0.19.8.1-3.el7 for package: gettext-devel-0.19.8.1-3.el7.x86_64 ---> Package glibc-devel.x86_64 0:2.17-307.el7.1 will be installed --> Processing Dependency: glibc-headers = 2.17-307.el7.1 for package: glibc-devel-2.17-307.el7.1.x86_64 --> Processing Dependency: glibc-headers for package: glibc-devel-2.17-307.el7.1.x86_64 ---> Package libgfortran.x86_64 0:4.8.5-39.el7 will be installed ---> Package libmpc.x86_64 0:1.0.1-3.el7 will be installed ---> Package libquadmath.x86_64 0:4.8.5-39.el7 will be installed ---> Package libquadmath-devel.x86_64 0:4.8.5-39.el7 will be installed ---> Package libstdc++-devel.x86_64 0:4.8.5-39.el7 will be installed ---> Package mpfr.x86_64 0:3.1.1-4.el7 will be installed ---> Package neon.x86_64 0:0.30.0-4.el7 will be installed --> Processing Dependency: libgnutls.so.28(GNUTLS_3_0_0)(64bit) for package: neon-0.30.0-4.el7.x86_64 --> Processing Dependency: libgnutls.so.28(GNUTLS_2_12)(64bit) for package: neon-0.30.0-4.el7.x86_64 --> Processing Dependency: libgnutls.so.28(GNUTLS_1_4)(64bit) for package: neon-0.30.0-4.el7.x86_64 --> Processing Dependency: libproxy.so.1()(64bit) for package: neon-0.30.0-4.el7.x86_64 --> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.30.0-4.el7.x86_64 --> Processing Dependency: libgnutls.so.28()(64bit) for package: neon-0.30.0-4.el7.x86_64 ---> Package perl-Error.noarch 1:0.17020-2.el7 will be installed ---> Package perl-Git.noarch 0:1.8.3.1-23.el7_8 will be installed ---> Package perl-TermReadKey.x86_64 0:2.30-20.el7 will be installed ---> Package perl-Test-Harness.noarch 0:3.28-3.el7 will be installed ---> Package perl-Thread-Queue.noarch 0:3.02-2.el7 will be installed ---> Package perl-XML-Parser.x86_64 0:2.41-10.el7 will be installed ---> Package perl-srpm-macros.noarch 0:1-8.el7 will be installed ---> Package python-srpm-macros.noarch 0:3-32.el7 will be installed ---> Package rsync.x86_64 0:3.1.2-10.el7 will be installed ---> Package subversion-libs.x86_64 0:1.7.14-14.el7 will be installed ---> Package systemtap-client.x86_64 0:4.0-11.el7 will be installed --> Processing Dependency: systemtap-runtime = 4.0-11.el7 for package: systemtap-client-4.0-11.el7.x86_64 --> Processing Dependency: mokutil for package: systemtap-client-4.0-11.el7.x86_64 ---> Package systemtap-devel.x86_64 0:4.0-11.el7 will be installed --> Processing Dependency: kernel-devel-uname-r for package: systemtap-devel-4.0-11.el7.x86_64 --> Running transaction check ---> Package gettext-common-devel.noarch 0:0.19.8.1-3.el7 will be installed ---> Package glibc-headers.x86_64 0:2.17-307.el7.1 will be installed --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.17-307.el7.1.x86_64 --> Processing Dependency: kernel-headers for package: glibc-headers-2.17-307.el7.1.x86_64 ---> Package gnutls.x86_64 0:3.3.29-9.el7_6 will be installed --> Processing Dependency: trousers >= 0.3.11.2 for package: gnutls-3.3.29-9.el7_6.x86_64 --> Processing Dependency: libnettle.so.4()(64bit) for package: gnutls-3.3.29-9.el7_6.x86_64 --> Processing Dependency: libhogweed.so.2()(64bit) for package: gnutls-3.3.29-9.el7_6.x86_64 ---> Package kernel-debug-devel.x86_64 0:3.10.0-1127.18.2.el7 will be installed ---> Package libproxy.x86_64 0:0.4.11-11.el7 will be installed --> Processing Dependency: libmodman.so.1()(64bit) for package: libproxy-0.4.11-11.el7.x86_64 ---> Package mokutil.x86_64 0:15-7.el7_9 will be installed --> Processing Dependency: libefivar.so.1(libefivar.so.0)(64bit) for package: mokutil-15-7.el7_9.x86_64 --> Processing Dependency: libefivar.so.1(LIBEFIVAR_0.24)(64bit) for package: mokutil-15-7.el7_9.x86_64 --> Processing Dependency: libefivar.so.1()(64bit) for package: mokutil-15-7.el7_9.x86_64 ---> Package pakchois.x86_64 0:0.4-10.el7 will be installed ---> Package systemtap-runtime.x86_64 0:4.0-11.el7 will be installed --> Processing Dependency: libsymtabAPI.so.9.3()(64bit) for package: systemtap-runtime-4.0-11.el7.x86_64 --> Processing Dependency: libdyninstAPI.so.9.3()(64bit) for package: systemtap-runtime-4.0-11.el7.x86_64 --> Running transaction check ---> Package dyninst.x86_64 0:9.3.1-3.el7 will be installed --> Processing Dependency: libdwarf.so.0()(64bit) for package: dyninst-9.3.1-3.el7.x86_64 --> Processing Dependency: libboost_thread-mt.so.1.53.0()(64bit) for package: dyninst-9.3.1-3.el7.x86_64 --> Processing Dependency: libboost_system-mt.so.1.53.0()(64bit) for package: dyninst-9.3.1-3.el7.x86_64 --> Processing Dependency: libboost_date_time-mt.so.1.53.0()(64bit) for package: dyninst-9.3.1-3.el7.x86_64 ---> Package efivar-libs.x86_64 0:36-12.el7 will be installed ---> Package kernel-headers.x86_64 0:3.10.0-1127.18.2.el7 will be installed ---> Package libmodman.x86_64 0:2.0.1-8.el7 will be installed ---> Package nettle.x86_64 0:2.7.1-8.el7 will be installed ---> Package trousers.x86_64 0:0.3.14-2.el7 will be installed --> Running transaction check ---> Package boost-date-time.x86_64 0:1.53.0-28.el7 will be installed ---> Package boost-system.x86_64 0:1.53.0-28.el7 will be installed ---> Package boost-thread.x86_64 0:1.53.0-28.el7 will be installed ---> Package libdwarf.x86_64 0:20130207-4.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing for group install "Development Tools": autoconf noarch 2.69-11.el7 base 701 k automake noarch 1.13.4-3.el7 base 679 k bison x86_64 3.0.4-2.el7 base 674 k byacc x86_64 1.9.20130304-3.el7 base 65 k cscope x86_64 15.8-10.el7 base 203 k ctags x86_64 5.8-13.el7 base 155 k diffstat x86_64 1.57-4.el7 base 35 k doxygen x86_64 1:1.8.5-4.el7 base 3.6 M elfutils x86_64 0.176-4.el7 base 308 k gcc x86_64 4.8.5-39.el7 base 16 M gcc-c++ x86_64 4.8.5-39.el7 base 7.2 M gcc-gfortran x86_64 4.8.5-39.el7 base 6.7 M git x86_64 1.8.3.1-23.el7_8 updates 4.4 M indent x86_64 2.2.11-13.el7 base 150 k intltool noarch 0.50.2-7.el7 base 59 k libtool x86_64 2.4.2-22.el7_3 base 588 k patch x86_64 2.7.1-12.el7_7 base 111 k patchutils x86_64 0.3.3-4.el7 base 104 k rcs x86_64 5.9.0-7.el7 base 230 k redhat-rpm-config noarch 9.1.0-88.el7.centos base 81 k rpm-build x86_64 4.11.3-43.el7 base 149 k rpm-sign x86_64 4.11.3-43.el7 base 49 k subversion x86_64 1.7.14-14.el7 base 1.0 M swig x86_64 2.0.10-5.el7 base 1.3 M systemtap x86_64 4.0-11.el7 base 15 k Installing for dependencies: boost-date-time x86_64 1.53.0-28.el7 base 52 k boost-system x86_64 1.53.0-28.el7 base 40 k boost-thread x86_64 1.53.0-28.el7 base 58 k bzip2 x86_64 1.0.6-13.el7 base 52 k cpp x86_64 4.8.5-39.el7 base 5.9 M dwz x86_64 0.11-3.el7 base 99 k dyninst x86_64 9.3.1-3.el7 base 3.5 M efivar-libs x86_64 36-12.el7 base 88 k emacs-filesystem noarch 1:24.3-23.el7 base 58 k gdb x86_64 7.6.1-119.el7 base 2.4 M gettext-common-devel noarch 0.19.8.1-3.el7 base 410 k gettext-devel x86_64 0.19.8.1-3.el7 base 320 k glibc-devel x86_64 2.17-307.el7.1 base 1.1 M glibc-headers x86_64 2.17-307.el7.1 base 689 k gnutls x86_64 3.3.29-9.el7_6 base 680 k kernel-debug-devel x86_64 3.10.0-1127.18.2.el7 updates 18 M kernel-headers x86_64 3.10.0-1127.18.2.el7 updates 9.0 M libdwarf x86_64 20130207-4.el7 base 109 k libgfortran x86_64 4.8.5-39.el7 base 300 k libmodman x86_64 2.0.1-8.el7 base 28 k libmpc x86_64 1.0.1-3.el7 base 51 k libproxy x86_64 0.4.11-11.el7 base 64 k libquadmath x86_64 4.8.5-39.el7 base 190 k libquadmath-devel x86_64 4.8.5-39.el7 base 53 k libstdc++-devel x86_64 4.8.5-39.el7 base 1.5 M mokutil x86_64 15-7.el7_9 updates 42 k mpfr x86_64 3.1.1-4.el7 base 203 k neon x86_64 0.30.0-4.el7 base 166 k nettle x86_64 2.7.1-8.el7 base 327 k pakchois x86_64 0.4-10.el7 base 14 k perl-Error noarch 1:0.17020-2.el7 base 32 k perl-Git noarch 1.8.3.1-23.el7_8 updates 56 k perl-TermReadKey x86_64 2.30-20.el7 base 31 k perl-Test-Harness noarch 3.28-3.el7 base 302 k perl-Thread-Queue noarch 3.02-2.el7 base 17 k perl-XML-Parser x86_64 2.41-10.el7 base 223 k perl-srpm-macros noarch 1-8.el7 base 4.6 k python-srpm-macros noarch 3-32.el7 base 8.4 k rsync x86_64 3.1.2-10.el7 base 404 k subversion-libs x86_64 1.7.14-14.el7 base 922 k systemtap-client x86_64 4.0-11.el7 base 3.6 M systemtap-devel x86_64 4.0-11.el7 base 2.2 M systemtap-runtime x86_64 4.0-11.el7 base 443 k trousers x86_64 0.3.14-2.el7 base 289 k Transaction Summary ================================================================================ Install 25 Packages (+44 Dependent packages) Total download size: 98 M Installed size: 250 M Is this ok [y/d/N]: y Downloading packages: (1/69): automake-1.13.4-3.el7.noarch.rpm | 679 kB 00:00 (2/69): autoconf-2.69-11.el7.noarch.rpm | 701 kB 00:00 (3/69): bison-3.0.4-2.el7.x86_64.rpm | 674 kB 00:00 (4/69): boost-date-time-1.53.0-28.el7.x86_64.rpm | 52 kB 00:00 (5/69): boost-system-1.53.0-28.el7.x86_64.rpm | 40 kB 00:00 (6/69): boost-thread-1.53.0-28.el7.x86_64.rpm | 58 kB 00:00 (7/69): byacc-1.9.20130304-3.el7.x86_64.rpm | 65 kB 00:00 (8/69): bzip2-1.0.6-13.el7.x86_64.rpm | 52 kB 00:00 (9/69): cscope-15.8-10.el7.x86_64.rpm | 203 kB 00:00 (10/69): ctags-5.8-13.el7.x86_64.rpm | 155 kB 00:00 (11/69): cpp-4.8.5-39.el7.x86_64.rpm | 5.9 MB 00:00 (12/69): diffstat-1.57-4.el7.x86_64.rpm | 35 kB 00:00 (13/69): dwz-0.11-3.el7.x86_64.rpm | 99 kB 00:00 (14/69): doxygen-1.8.5-4.el7.x86_64.rpm | 3.6 MB 00:00 (15/69): dyninst-9.3.1-3.el7.x86_64.rpm | 3.5 MB 00:00 (16/69): efivar-libs-36-12.el7.x86_64.rpm | 88 kB 00:00 (17/69): emacs-filesystem-24.3-23.el7.noarch.rpm | 58 kB 00:00 (18/69): elfutils-0.176-4.el7.x86_64.rpm | 308 kB 00:00 (19/69): gcc-4.8.5-39.el7.x86_64.rpm | 16 MB 00:00 (20/69): gcc-c++-4.8.5-39.el7.x86_64.rpm | 7.2 MB 00:00 (21/69): gcc-gfortran-4.8.5-39.el7.x86_64.rpm | 6.7 MB 00:00 (22/69): gdb-7.6.1-119.el7.x86_64.rpm | 2.4 MB 00:00 (23/69): gettext-common-devel-0.19.8.1-3.el7.noarch.rpm | 410 kB 00:00 (24/69): gettext-devel-0.19.8.1-3.el7.x86_64.rpm | 320 kB 00:00 (25/69): glibc-devel-2.17-307.el7.1.x86_64.rpm | 1.1 MB 00:00 (26/69): gnutls-3.3.29-9.el7_6.x86_64.rpm | 680 kB 00:00 (27/69): indent-2.2.11-13.el7.x86_64.rpm | 150 kB 00:00 (28/69): git-1.8.3.1-23.el7_8.x86_64.rpm | 4.4 MB 00:00 (29/69): glibc-headers-2.17-307.el7.1.x86_64.rpm | 689 kB 00:00 (30/69): intltool-0.50.2-7.el7.noarch.rpm | 59 kB 00:00 (31/69): libdwarf-20130207-4.el7.x86_64.rpm | 109 kB 00:00 (32/69): libmodman-2.0.1-8.el7.x86_64.rpm | 28 kB 00:00 (33/69): libmpc-1.0.1-3.el7.x86_64.rpm | 51 kB 00:00 (34/69): libproxy-0.4.11-11.el7.x86_64.rpm | 64 kB 00:00 (35/69): kernel-headers-3.10.0-1127.18.2.el7.x86_64.rpm | 9.0 MB 00:00 (36/69): libquadmath-4.8.5-39.el7.x86_64.rpm | 190 kB 00:00 (37/69): libquadmath-devel-4.8.5-39.el7.x86_64.rpm | 53 kB 00:00 (38/69): libgfortran-4.8.5-39.el7.x86_64.rpm | 300 kB 00:00 (39/69): libtool-2.4.2-22.el7_3.x86_64.rpm | 588 kB 00:00 (40/69): libstdc++-devel-4.8.5-39.el7.x86_64.rpm | 1.5 MB 00:00 (41/69): neon-0.30.0-4.el7.x86_64.rpm | 166 kB 00:00 (42/69): mpfr-3.1.1-4.el7.x86_64.rpm | 203 kB 00:00 (43/69): kernel-debug-devel-3.10.0-1127.18.2.el7.x86_64.rp | 18 MB 00:00 (44/69): pakchois-0.4-10.el7.x86_64.rpm | 14 kB 00:00 (45/69): nettle-2.7.1-8.el7.x86_64.rpm | 327 kB 00:00 (46/69): patch-2.7.1-12.el7_7.x86_64.rpm | 111 kB 00:00 (47/69): perl-Error-0.17020-2.el7.noarch.rpm | 32 kB 00:00 (48/69): perl-TermReadKey-2.30-20.el7.x86_64.rpm | 31 kB 00:00 (49/69): perl-Test-Harness-3.28-3.el7.noarch.rpm | 302 kB 00:00 (50/69): perl-Thread-Queue-3.02-2.el7.noarch.rpm | 17 kB 00:00 (51/69): perl-XML-Parser-2.41-10.el7.x86_64.rpm | 223 kB 00:00 (52/69): perl-srpm-macros-1-8.el7.noarch.rpm | 4.6 kB 00:00 (53/69): python-srpm-macros-3-32.el7.noarch.rpm | 8.4 kB 00:00 (54/69): mokutil-15-7.el7_9.x86_64.rpm | 42 kB 00:00 (55/69): rcs-5.9.0-7.el7.x86_64.rpm | 230 kB 00:00 (56/69): patchutils-0.3.3-4.el7.x86_64.rpm | 104 kB 00:00 (57/69): redhat-rpm-config-9.1.0-88.el7.centos.noarch.rpm | 81 kB 00:00 (58/69): perl-Git-1.8.3.1-23.el7_8.noarch.rpm | 56 kB 00:00 (59/69): rpm-sign-4.11.3-43.el7.x86_64.rpm | 49 kB 00:00 (60/69): rpm-build-4.11.3-43.el7.x86_64.rpm | 149 kB 00:00 (61/69): rsync-3.1.2-10.el7.x86_64.rpm | 404 kB 00:00 (62/69): subversion-1.7.14-14.el7.x86_64.rpm | 1.0 MB 00:00 (63/69): subversion-libs-1.7.14-14.el7.x86_64.rpm | 922 kB 00:00 (64/69): systemtap-4.0-11.el7.x86_64.rpm | 15 kB 00:00 (65/69): swig-2.0.10-5.el7.x86_64.rpm | 1.3 MB 00:00 (66/69): systemtap-devel-4.0-11.el7.x86_64.rpm | 2.2 MB 00:00 (67/69): systemtap-client-4.0-11.el7.x86_64.rpm | 3.6 MB 00:00 (68/69): systemtap-runtime-4.0-11.el7.x86_64.rpm | 443 kB 00:00 (69/69): trousers-0.3.14-2.el7.x86_64.rpm | 289 kB 00:00 -------------------------------------------------------------------------------- Total 25 MB/s | 98 MB 00:03 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : mpfr-3.1.1-4.el7.x86_64 1/69 Installing : libmpc-1.0.1-3.el7.x86_64 2/69 Installing : libquadmath-4.8.5-39.el7.x86_64 3/69 Installing : autoconf-2.69-11.el7.noarch 4/69 Installing : 1:perl-Error-0.17020-2.el7.noarch 5/69 Installing : boost-system-1.53.0-28.el7.x86_64 6/69 Installing : patch-2.7.1-12.el7_7.x86_64 7/69 Installing : perl-Thread-Queue-3.02-2.el7.noarch 8/69 Installing : boost-thread-1.53.0-28.el7.x86_64 9/69 Installing : libgfortran-4.8.5-39.el7.x86_64 10/69 Installing : cpp-4.8.5-39.el7.x86_64 11/69 Installing : perl-srpm-macros-1-8.el7.noarch 12/69 Installing : pakchois-0.4-10.el7.x86_64 13/69 Installing : gettext-common-devel-0.19.8.1-3.el7.noarch 14/69 Installing : dwz-0.11-3.el7.x86_64 15/69 Installing : rsync-3.1.2-10.el7.x86_64 16/69 Installing : 1:emacs-filesystem-24.3-23.el7.noarch 17/69 Installing : perl-TermReadKey-2.30-20.el7.x86_64 18/69 Installing : perl-Git-1.8.3.1-23.el7_8.noarch 19/69 Installing : git-1.8.3.1-23.el7_8.x86_64 20/69 Installing : gettext-devel-0.19.8.1-3.el7.x86_64 21/69 Installing : libstdc++-devel-4.8.5-39.el7.x86_64 22/69 Installing : gdb-7.6.1-119.el7.x86_64 23/69 Installing : elfutils-0.176-4.el7.x86_64 24/69 Installing : bzip2-1.0.6-13.el7.x86_64 25/69 Installing : libmodman-2.0.1-8.el7.x86_64 26/69 Installing : libproxy-0.4.11-11.el7.x86_64 27/69 Installing : boost-date-time-1.53.0-28.el7.x86_64 28/69 Installing : python-srpm-macros-3-32.el7.noarch 29/69 Installing : redhat-rpm-config-9.1.0-88.el7.centos.noarch 30/69 Installing : perl-Test-Harness-3.28-3.el7.noarch 31/69 Installing : automake-1.13.4-3.el7.noarch 32/69 Installing : nettle-2.7.1-8.el7.x86_64 33/69 Installing : kernel-debug-devel-3.10.0-1127.18.2.el7.x86_64 34/69 Installing : efivar-libs-36-12.el7.x86_64 35/69 Installing : mokutil-15-7.el7_9.x86_64 36/69 Installing : libdwarf-20130207-4.el7.x86_64 37/69 Installing : dyninst-9.3.1-3.el7.x86_64 38/69 Installing : systemtap-runtime-4.0-11.el7.x86_64 39/69 Installing : kernel-headers-3.10.0-1127.18.2.el7.x86_64 40/69 Installing : glibc-headers-2.17-307.el7.1.x86_64 41/69 Installing : glibc-devel-2.17-307.el7.1.x86_64 42/69 Installing : gcc-4.8.5-39.el7.x86_64 43/69 Installing : systemtap-devel-4.0-11.el7.x86_64 44/69 Installing : systemtap-client-4.0-11.el7.x86_64 45/69 Installing : libquadmath-devel-4.8.5-39.el7.x86_64 46/69 Installing : perl-XML-Parser-2.41-10.el7.x86_64 47/69 Installing : trousers-0.3.14-2.el7.x86_64 48/69 Installing : gnutls-3.3.29-9.el7_6.x86_64 49/69 Installing : neon-0.30.0-4.el7.x86_64 50/69 Installing : subversion-libs-1.7.14-14.el7.x86_64 51/69 Installing : subversion-1.7.14-14.el7.x86_64 52/69 Installing : intltool-0.50.2-7.el7.noarch 53/69 Installing : gcc-gfortran-4.8.5-39.el7.x86_64 54/69 Installing : systemtap-4.0-11.el7.x86_64 55/69 Installing : libtool-2.4.2-22.el7_3.x86_64 56/69 Installing : gcc-c++-4.8.5-39.el7.x86_64 57/69 Installing : rpm-build-4.11.3-43.el7.x86_64 58/69 Installing : cscope-15.8-10.el7.x86_64 59/69 Installing : diffstat-1.57-4.el7.x86_64 60/69 Installing : bison-3.0.4-2.el7.x86_64 61/69 Installing : patchutils-0.3.3-4.el7.x86_64 62/69 Installing : indent-2.2.11-13.el7.x86_64 63/69 Installing : swig-2.0.10-5.el7.x86_64 64/69 Installing : rpm-sign-4.11.3-43.el7.x86_64 65/69 Installing : 1:doxygen-1.8.5-4.el7.x86_64 66/69 Installing : rcs-5.9.0-7.el7.x86_64 67/69 Installing : byacc-1.9.20130304-3.el7.x86_64 68/69 Installing : ctags-5.8-13.el7.x86_64 69/69 Verifying : trousers-0.3.14-2.el7.x86_64 1/69 Verifying : ctags-5.8-13.el7.x86_64 2/69 Verifying : subversion-libs-1.7.14-14.el7.x86_64 3/69 Verifying : rpm-build-4.11.3-43.el7.x86_64 4/69 Verifying : systemtap-4.0-11.el7.x86_64 5/69 Verifying : perl-XML-Parser-2.41-10.el7.x86_64 6/69 Verifying : kernel-headers-3.10.0-1127.18.2.el7.x86_64 7/69 Verifying : mpfr-3.1.1-4.el7.x86_64 8/69 Verifying : byacc-1.9.20130304-3.el7.x86_64 9/69 Verifying : libgfortran-4.8.5-39.el7.x86_64 10/69 Verifying : libdwarf-20130207-4.el7.x86_64 11/69 Verifying : efivar-libs-36-12.el7.x86_64 12/69 Verifying : automake-1.13.4-3.el7.noarch 13/69 Verifying : gcc-4.8.5-39.el7.x86_64 14/69 Verifying : kernel-debug-devel-3.10.0-1127.18.2.el7.x86_64 15/69 Verifying : git-1.8.3.1-23.el7_8.x86_64 16/69 Verifying : rcs-5.9.0-7.el7.x86_64 17/69 Verifying : 1:doxygen-1.8.5-4.el7.x86_64 18/69 Verifying : nettle-2.7.1-8.el7.x86_64 19/69 Verifying : boost-thread-1.53.0-28.el7.x86_64 20/69 Verifying : subversion-1.7.14-14.el7.x86_64 21/69 Verifying : perl-Test-Harness-3.28-3.el7.noarch 22/69 Verifying : systemtap-devel-4.0-11.el7.x86_64 23/69 Verifying : perl-Thread-Queue-3.02-2.el7.noarch 24/69 Verifying : rpm-sign-4.11.3-43.el7.x86_64 25/69 Verifying : python-srpm-macros-3-32.el7.noarch 26/69 Verifying : neon-0.30.0-4.el7.x86_64 27/69 Verifying : intltool-0.50.2-7.el7.noarch 28/69 Verifying : gnutls-3.3.29-9.el7_6.x86_64 29/69 Verifying : boost-date-time-1.53.0-28.el7.x86_64 30/69 Verifying : dyninst-9.3.1-3.el7.x86_64 31/69 Verifying : swig-2.0.10-5.el7.x86_64 32/69 Verifying : perl-Git-1.8.3.1-23.el7_8.noarch 33/69 Verifying : libtool-2.4.2-22.el7_3.x86_64 34/69 Verifying : patch-2.7.1-12.el7_7.x86_64 35/69 Verifying : boost-system-1.53.0-28.el7.x86_64 36/69 Verifying : libmodman-2.0.1-8.el7.x86_64 37/69 Verifying : gcc-c++-4.8.5-39.el7.x86_64 38/69 Verifying : mokutil-15-7.el7_9.x86_64 39/69 Verifying : gettext-devel-0.19.8.1-3.el7.x86_64 40/69 Verifying : libproxy-0.4.11-11.el7.x86_64 41/69 Verifying : 1:perl-Error-0.17020-2.el7.noarch 42/69 Verifying : indent-2.2.11-13.el7.x86_64 43/69 Verifying : bzip2-1.0.6-13.el7.x86_64 44/69 Verifying : gcc-gfortran-4.8.5-39.el7.x86_64 45/69 Verifying : systemtap-runtime-4.0-11.el7.x86_64 46/69 Verifying : libmpc-1.0.1-3.el7.x86_64 47/69 Verifying : libquadmath-devel-4.8.5-39.el7.x86_64 48/69 Verifying : patchutils-0.3.3-4.el7.x86_64 49/69 Verifying : elfutils-0.176-4.el7.x86_64 50/69 Verifying : systemtap-client-4.0-11.el7.x86_64 51/69 Verifying : cscope-15.8-10.el7.x86_64 52/69 Verifying : bison-3.0.4-2.el7.x86_64 53/69 Verifying : gdb-7.6.1-119.el7.x86_64 54/69 Verifying : autoconf-2.69-11.el7.noarch 55/69 Verifying : libstdc++-devel-4.8.5-39.el7.x86_64 56/69 Verifying : glibc-devel-2.17-307.el7.1.x86_64 57/69 Verifying : perl-TermReadKey-2.30-20.el7.x86_64 58/69 Verifying : glibc-headers-2.17-307.el7.1.x86_64 59/69 Verifying : 1:emacs-filesystem-24.3-23.el7.noarch 60/69 Verifying : libquadmath-4.8.5-39.el7.x86_64 61/69 Verifying : rsync-3.1.2-10.el7.x86_64 62/69 Verifying : dwz-0.11-3.el7.x86_64 63/69 Verifying : diffstat-1.57-4.el7.x86_64 64/69 Verifying : cpp-4.8.5-39.el7.x86_64 65/69 Verifying : gettext-common-devel-0.19.8.1-3.el7.noarch 66/69 Verifying : pakchois-0.4-10.el7.x86_64 67/69 Verifying : perl-srpm-macros-1-8.el7.noarch 68/69 Verifying : redhat-rpm-config-9.1.0-88.el7.centos.noarch 69/69 Installed: autoconf.noarch 0:2.69-11.el7 automake.noarch 0:1.13.4-3.el7 bison.x86_64 0:3.0.4-2.el7 byacc.x86_64 0:1.9.20130304-3.el7 cscope.x86_64 0:15.8-10.el7 ctags.x86_64 0:5.8-13.el7 diffstat.x86_64 0:1.57-4.el7 doxygen.x86_64 1:1.8.5-4.el7 elfutils.x86_64 0:0.176-4.el7 gcc.x86_64 0:4.8.5-39.el7 gcc-c++.x86_64 0:4.8.5-39.el7 gcc-gfortran.x86_64 0:4.8.5-39.el7 git.x86_64 0:1.8.3.1-23.el7_8 indent.x86_64 0:2.2.11-13.el7 intltool.noarch 0:0.50.2-7.el7 libtool.x86_64 0:2.4.2-22.el7_3 patch.x86_64 0:2.7.1-12.el7_7 patchutils.x86_64 0:0.3.3-4.el7 rcs.x86_64 0:5.9.0-7.el7 redhat-rpm-config.noarch 0:9.1.0-88.el7.centos rpm-build.x86_64 0:4.11.3-43.el7 rpm-sign.x86_64 0:4.11.3-43.el7 subversion.x86_64 0:1.7.14-14.el7 swig.x86_64 0:2.0.10-5.el7 systemtap.x86_64 0:4.0-11.el7 Dependency Installed: boost-date-time.x86_64 0:1.53.0-28.el7 boost-system.x86_64 0:1.53.0-28.el7 boost-thread.x86_64 0:1.53.0-28.el7 bzip2.x86_64 0:1.0.6-13.el7 cpp.x86_64 0:4.8.5-39.el7 dwz.x86_64 0:0.11-3.el7 dyninst.x86_64 0:9.3.1-3.el7 efivar-libs.x86_64 0:36-12.el7 emacs-filesystem.noarch 1:24.3-23.el7 gdb.x86_64 0:7.6.1-119.el7 gettext-common-devel.noarch 0:0.19.8.1-3.el7 gettext-devel.x86_64 0:0.19.8.1-3.el7 glibc-devel.x86_64 0:2.17-307.el7.1 glibc-headers.x86_64 0:2.17-307.el7.1 gnutls.x86_64 0:3.3.29-9.el7_6 kernel-debug-devel.x86_64 0:3.10.0-1127.18.2.el7 kernel-headers.x86_64 0:3.10.0-1127.18.2.el7 libdwarf.x86_64 0:20130207-4.el7 libgfortran.x86_64 0:4.8.5-39.el7 libmodman.x86_64 0:2.0.1-8.el7 libmpc.x86_64 0:1.0.1-3.el7 libproxy.x86_64 0:0.4.11-11.el7 libquadmath.x86_64 0:4.8.5-39.el7 libquadmath-devel.x86_64 0:4.8.5-39.el7 libstdc++-devel.x86_64 0:4.8.5-39.el7 mokutil.x86_64 0:15-7.el7_9 mpfr.x86_64 0:3.1.1-4.el7 neon.x86_64 0:0.30.0-4.el7 nettle.x86_64 0:2.7.1-8.el7 pakchois.x86_64 0:0.4-10.el7 perl-Error.noarch 1:0.17020-2.el7 perl-Git.noarch 0:1.8.3.1-23.el7_8 perl-TermReadKey.x86_64 0:2.30-20.el7 perl-Test-Harness.noarch 0:3.28-3.el7 perl-Thread-Queue.noarch 0:3.02-2.el7 perl-XML-Parser.x86_64 0:2.41-10.el7 perl-srpm-macros.noarch 0:1-8.el7 python-srpm-macros.noarch 0:3-32.el7 rsync.x86_64 0:3.1.2-10.el7 subversion-libs.x86_64 0:1.7.14-14.el7 systemtap-client.x86_64 0:4.0-11.el7 systemtap-devel.x86_64 0:4.0-11.el7 systemtap-runtime.x86_64 0:4.0-11.el7 trousers.x86_64 0:0.3.14-2.el7 Complete!
Step 2: Install from Source
In this tutorial, we use the Dante version 1.4.2 (Download Pages)
wget https://www.inet.no/dante/files/dante-1.4.2.tar.gz tar -xvf dante-1.4.2.tar.gz cd dante-1.4.2 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-client --without-libwrap --without-bsdauth --without-gssapi --without-krb5 --without-upnp --without-pam make make install
Result:
[root@tutorialspots ~]# wget https://www.inet.no/dante/files/dante-1.4.2.tar.gz --2020-07-30 13:12:45-- https://www.inet.no/dante/files/dante-1.4.2.tar.gz Resolving www.inet.no (www.inet.no)... 156.116.30.76 Connecting to www.inet.no (www.inet.no)|156.116.30.76|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 1317794 (1.3M) [application/octet-stream] Saving to: ‘dante-1.4.2.tar.gz’ 100%[======================================>] 1,317,794 170KB/s in 9.8s 2020-07-30 13:12:57 (132 KB/s) - ‘dante-1.4.2.tar.gz’ saved [1317794/1317794] [root@tutorialspots ~]# tar -xvf dante-1.4.2.tar.gz dante-1.4.2/m4/libtool.m4 dante-1.4.2/m4/ltoptions.m4 dante-1.4.2/m4/ltsugar.m4 dante-1.4.2/m4/ltversion.m4 dante-1.4.2/m4/lt~obsolete.m4 dante-1.4.2/Makefile.in dante-1.4.2/Makefile.am dante-1.4.2/configure dante-1.4.2/acinclude.m4 dante-1.4.2/compiler.m4 dante-1.4.2/osdep.m4 dante-1.4.2/libscompat.m4 dante-1.4.2/danteopt.m4 dante-1.4.2/preload.m4 dante-1.4.2/gssapi.m4 dante-1.4.2/kerberos.m4 dante-1.4.2/sasl.m4 dante-1.4.2/ldap.m4 dante-1.4.2/mapfile.m4 dante-1.4.2/miniupnpc.m4 dante-1.4.2/sharedopt.m4 dante-1.4.2/sockopt.m4 dante-1.4.2/configure.ac dante-1.4.2/aclocal.m4 dante-1.4.2/VERSION.in dante-1.4.2/INSTALL dante-1.4.2/NEWS dante-1.4.2/README dante-1.4.2/depcomp dante-1.4.2/config.guess dante-1.4.2/config.sub dante-1.4.2/install-sh dante-1.4.2/missing dante-1.4.2/ltmain.sh dante-1.4.2/BUGS dante-1.4.2/CREDITS dante-1.4.2/LICENSE dante-1.4.2/SUPPORT dante-1.4.2/VERSION dante-1.4.2/UPGRADE dante-1.4.2/README.ldap dante-1.4.2/include/Makefile.in dante-1.4.2/include/Makefile.am dante-1.4.2/include/autoconf.h.in dante-1.4.2/include/common.h dante-1.4.2/include/config.h dante-1.4.2/include/errorsymbols.h dante-1.4.2/include/fmt.h dante-1.4.2/include/interposition.h dante-1.4.2/include/osdep.h dante-1.4.2/include/qos.h dante-1.4.2/include/redefac.h dante-1.4.2/include/sockd.h dante-1.4.2/include/socks.h dante-1.4.2/include/socks_gssapi.h dante-1.4.2/include/symbols.h dante-1.4.2/include/tostring.h dante-1.4.2/include/upnp.h dante-1.4.2/include/yacconfig.h dante-1.4.2/include/monitor.h dante-1.4.2/include/redefgen.sh dante-1.4.2/include/symbols_common.txt dante-1.4.2/include/symbols_darwin.txt dante-1.4.2/include/symbols_freebsd.txt dante-1.4.2/include/symbols_glibc.txt dante-1.4.2/include/symbols_osol.txt dante-1.4.2/include/symbols_osol_stdio.txt dante-1.4.2/include/symbols_preload.txt dante-1.4.2/libscompat/Makefile.in dante-1.4.2/libscompat/Makefile.am dante-1.4.2/libscompat/ifaddrs.h dante-1.4.2/libscompat/timers.h dante-1.4.2/libscompat/vis_compat.h dante-1.4.2/libscompat/daemon.c dante-1.4.2/libscompat/difftime.c dante-1.4.2/libscompat/getifaddrs.c dante-1.4.2/libscompat/hstrerror.c dante-1.4.2/libscompat/inet_ntoa.c dante-1.4.2/libscompat/inet_pton.c dante-1.4.2/libscompat/issetugid.c dante-1.4.2/libscompat/memmove.c dante-1.4.2/libscompat/pselect.c dante-1.4.2/libscompat/seteuid.c dante-1.4.2/libscompat/setproctitle.c dante-1.4.2/libscompat/sockatmark.c dante-1.4.2/libscompat/strlcpy.c dante-1.4.2/libscompat/strvis.c dante-1.4.2/libscompat/vsyslog.c dante-1.4.2/libscompat/in_cksum.h dante-1.4.2/libscompat/in_cksum.c dante-1.4.2/unlicensed/Makefile.in dante-1.4.2/unlicensed/Makefile.am dante-1.4.2/unlicensed/checkmodule.c dante-1.4.2/unlicensed/bandwidth.c dante-1.4.2/unlicensed/bandwidth_key.c dante-1.4.2/unlicensed/redirect.c dante-1.4.2/unlicensed/redirect_key.c dante-1.4.2/unlicensed/ldap.c dante-1.4.2/unlicensed/ldap_key.c dante-1.4.2/example/Makefile.in dante-1.4.2/example/Makefile.am dante-1.4.2/example/socks-simple.conf dante-1.4.2/example/socks.conf dante-1.4.2/example/sockd.conf dante-1.4.2/example/sockd-basic.conf dante-1.4.2/example/socks-simple-withoutnameserver.conf dante-1.4.2/example/sockd-chaining.conf dante-1.4.2/doc/Makefile.in dante-1.4.2/doc/Makefile.am dante-1.4.2/doc/sockd.8 dante-1.4.2/doc/sockd.conf.5 dante-1.4.2/doc/socks.conf.5 dante-1.4.2/doc/socksify.1 dante-1.4.2/doc/rfc1928.txt dante-1.4.2/doc/rfc1929.txt dante-1.4.2/doc/rfc1961.txt dante-1.4.2/doc/SOCKS4.protocol dante-1.4.2/doc/SOCKS4A.protocol dante-1.4.2/doc/README.socksify dante-1.4.2/doc/README.survey dante-1.4.2/doc/README.usage dante-1.4.2/bin/Makefile.in dante-1.4.2/bin/Makefile.am dante-1.4.2/bin/socksify.in dante-1.4.2/SPECS/Makefile.in dante-1.4.2/SPECS/Makefile.am dante-1.4.2/SPECS/dante.spec.in dante-1.4.2/SPECS/dante.spec dante-1.4.2/capi/Makefile.in dante-1.4.2/capi/Makefile.am dante-1.4.2/capi/socks.h.in dante-1.4.2/capi/socks.h dante-1.4.2/capi/socks_glibc.h dante-1.4.2/contrib/Makefile.in dante-1.4.2/contrib/Makefile.am dante-1.4.2/contrib/README dante-1.4.2/contrib/sockd-stat.awk dante-1.4.2/contrib/StartupItems.Dante dante-1.4.2/contrib/StartupParameters.plist dante-1.4.2/sockd/Makefile.in dante-1.4.2/sockd/Makefile.am dante-1.4.2/sockd/accesscheck.c dante-1.4.2/sockd/auth_bsd.c dante-1.4.2/sockd/auth_pam.c dante-1.4.2/sockd/auth_password.c dante-1.4.2/sockd/bandwidth.c dante-1.4.2/sockd/bandwidth_key.c dante-1.4.2/sockd/checkmodule.c dante-1.4.2/sockd/cpu.c dante-1.4.2/sockd/cpuaffinity.c dante-1.4.2/sockd/cpupolicy.c dante-1.4.2/sockd/dante_udp.c dante-1.4.2/sockd/fmt_sockd.c dante-1.4.2/sockd/getoutaddr.c dante-1.4.2/sockd/ldap.c dante-1.4.2/sockd/ldap_key.c dante-1.4.2/sockd/ldap_util.c dante-1.4.2/sockd/math.c dante-1.4.2/sockd/method_gssapi.c dante-1.4.2/sockd/method_uname.c dante-1.4.2/sockd/monitor.c dante-1.4.2/sockd/monitor_util.c dante-1.4.2/sockd/mother_util.c dante-1.4.2/sockd/privileges.c dante-1.4.2/sockd/redirect.c dante-1.4.2/sockd/redirect_key.c dante-1.4.2/sockd/rule.c dante-1.4.2/sockd/serverconfig.c dante-1.4.2/sockd/session.c dante-1.4.2/sockd/shmem.c dante-1.4.2/sockd/shmemconfig.c dante-1.4.2/sockd/sockd.c dante-1.4.2/sockd/sockd_child.c dante-1.4.2/sockd/sockd_icmp.c dante-1.4.2/sockd/sockd_io.c dante-1.4.2/sockd/sockd_io_misc.c dante-1.4.2/sockd/sockd_negotiate.c dante-1.4.2/sockd/sockd_protocol.c dante-1.4.2/sockd/sockd_request.c dante-1.4.2/sockd/sockd_socket.c dante-1.4.2/sockd/sockd_tcp.c dante-1.4.2/sockd/sockd_udp.c dante-1.4.2/sockd/sockd_util.c dante-1.4.2/sockd/statistics.c dante-1.4.2/sockd/udp_port.c dante-1.4.2/dlib/interposition.c dante-1.4.2/dlib/Makefile.in dante-1.4.2/dlib/Makefile.am dante-1.4.2/dlib/int_osf1.c dante-1.4.2/dlib/int_osf2.c dante-1.4.2/dlib/int_osf3.c dante-1.4.2/lib/addressmatch.c dante-1.4.2/lib/authneg.c dante-1.4.2/lib/broken.c dante-1.4.2/lib/clientprotocol.c dante-1.4.2/lib/config.c dante-1.4.2/lib/config_parse.c dante-1.4.2/lib/config_scan.c dante-1.4.2/lib/debug.c dante-1.4.2/lib/errorsymbols.c dante-1.4.2/lib/fmt.c dante-1.4.2/lib/fmt_customer.c dante-1.4.2/lib/fmt_protocol.c dante-1.4.2/lib/gssapi.c dante-1.4.2/lib/hostcache.c dante-1.4.2/lib/hostid.c dante-1.4.2/lib/httpproxy.c dante-1.4.2/lib/hw.c dante-1.4.2/lib/iface.c dante-1.4.2/lib/io.c dante-1.4.2/lib/iobuf.c dante-1.4.2/lib/ipv6.c dante-1.4.2/lib/log.c dante-1.4.2/lib/method.c dante-1.4.2/lib/parse_util.c dante-1.4.2/lib/protocol.c dante-1.4.2/lib/serr.c dante-1.4.2/lib/showconfig.c dante-1.4.2/lib/sockaddr.c dante-1.4.2/lib/socket.c dante-1.4.2/lib/socketopt.c dante-1.4.2/lib/sockopt.c dante-1.4.2/lib/tcpinfo.c dante-1.4.2/lib/time.c dante-1.4.2/lib/tostring.c dante-1.4.2/lib/udp_util.c dante-1.4.2/lib/upnp.c dante-1.4.2/lib/userio.c dante-1.4.2/lib/util.c dante-1.4.2/lib/Makefile.in dante-1.4.2/lib/Makefile.am dante-1.4.2/lib/config_parse.h dante-1.4.2/lib/Raccept.c dante-1.4.2/lib/Rbind.c dante-1.4.2/lib/Rbindresvport.c dante-1.4.2/lib/Rcompat.c dante-1.4.2/lib/Rconnect.c dante-1.4.2/lib/Rgethostbyname.c dante-1.4.2/lib/Rgetpeername.c dante-1.4.2/lib/Rgetsockname.c dante-1.4.2/lib/Rgetsockopt.c dante-1.4.2/lib/Rlisten.c dante-1.4.2/lib/Rrresvport.c dante-1.4.2/lib/address.c dante-1.4.2/lib/client.c dante-1.4.2/lib/clientconfig.c dante-1.4.2/lib/connectchild.c dante-1.4.2/lib/udp.c dante-1.4.2/lib/config_parse.y dante-1.4.2/lib/config_scan.l dante-1.4.2/dlib64/Makefile.in dante-1.4.2/dlib64/Makefile.am [root@tutorialspots ~]# cd dante-1.4.2 [root@tutorialspots dante-1.4.2]# ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-client --without-libwrap --without-bsdauth --without-gssapi --without-krb5 --without-upnp --without-pam ... Configure status: Client: Disabled, using --disable-client Server: Enabled Preloading: Enabled Libwrap: Disabled, using --without-libwrap BSD Auth: Disabled, using --without-bsdauth PAM: Disabled, using --without-pam GSSAPI: Not found/disabled KRB5: Not found/disabled SASL: Not found/disabled UPNP: Not found/disabled Compatability: issetugid setproctitle strlcpy strvis Modules: redirect: Not found bandwidth: Not found ldap: Not found ... Making all in SPECS make[1]: Entering directory `/root/dante-1.4.2/SPECS' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/root/dante-1.4.2/SPECS' Making all in capi make[1]: Entering directory `/root/dante-1.4.2/capi' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/root/dante-1.4.2/capi' Making all in contrib make[1]: Entering directory `/root/dante-1.4.2/contrib' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/root/dante-1.4.2/contrib' make[1]: Entering directory `/root/dante-1.4.2' make[1]: Nothing to be done for `all-am'. make[1]: Leaving directory `/root/dante-1.4.2' [root@tutorialspots dante-1.4.2]# make install Making install in include make[1]: Entering directory `/root/dante-1.4.2/include' make[2]: Entering directory `/root/dante-1.4.2/include' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/root/dante-1.4.2/include' make[1]: Leaving directory `/root/dante-1.4.2/include' Making install in sockd make[1]: Entering directory `/root/dante-1.4.2/sockd' make[2]: Entering directory `/root/dante-1.4.2/sockd' /usr/bin/mkdir -p '/usr/sbin' /bin/sh ../libtool --mode=install /usr/bin/install -c sockd '/usr/sbin' libtool: install: /usr/bin/install -c sockd /usr/sbin/sockd make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/root/dante-1.4.2/sockd' make[1]: Leaving directory `/root/dante-1.4.2/sockd' Making install in unlicensed make[1]: Entering directory `/root/dante-1.4.2/unlicensed' make[2]: Entering directory `/root/dante-1.4.2/unlicensed' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/root/dante-1.4.2/unlicensed' make[1]: Leaving directory `/root/dante-1.4.2/unlicensed' Making install in example make[1]: Entering directory `/root/dante-1.4.2/example' make[2]: Entering directory `/root/dante-1.4.2/example' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/root/dante-1.4.2/example' make[1]: Leaving directory `/root/dante-1.4.2/example' Making install in doc make[1]: Entering directory `/root/dante-1.4.2/doc' make[2]: Entering directory `/root/dante-1.4.2/doc' make[2]: Nothing to be done for `install-exec-am'. /usr/bin/mkdir -p '/usr/share/man/man1' /usr/bin/install -c -m 644 socksify.1 '/usr/share/man/man1' /usr/bin/mkdir -p '/usr/share/man/man5' /usr/bin/install -c -m 644 sockd.conf.5 socks.conf.5 '/usr/share/man/man5' /usr/bin/mkdir -p '/usr/share/man/man8' /usr/bin/install -c -m 644 sockd.8 '/usr/share/man/man8' make[2]: Leaving directory `/root/dante-1.4.2/doc' make[1]: Leaving directory `/root/dante-1.4.2/doc' Making install in bin make[1]: Entering directory `/root/dante-1.4.2/bin' make[2]: Entering directory `/root/dante-1.4.2/bin' /usr/bin/mkdir -p '/usr/bin' /usr/bin/install -c socksify '/usr/bin' make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/root/dante-1.4.2/bin' make[1]: Leaving directory `/root/dante-1.4.2/bin' Making install in SPECS make[1]: Entering directory `/root/dante-1.4.2/SPECS' make[2]: Entering directory `/root/dante-1.4.2/SPECS' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/root/dante-1.4.2/SPECS' make[1]: Leaving directory `/root/dante-1.4.2/SPECS' Making install in capi make[1]: Entering directory `/root/dante-1.4.2/capi' make[2]: Entering directory `/root/dante-1.4.2/capi' make[2]: Nothing to be done for `install-exec-am'. /usr/bin/mkdir -p '/usr/include' /usr/bin/install -c -m 644 socks.h '/usr/include' make[2]: Leaving directory `/root/dante-1.4.2/capi' make[1]: Leaving directory `/root/dante-1.4.2/capi' Making install in contrib make[1]: Entering directory `/root/dante-1.4.2/contrib' make[2]: Entering directory `/root/dante-1.4.2/contrib' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/root/dante-1.4.2/contrib' make[1]: Leaving directory `/root/dante-1.4.2/contrib' make[1]: Entering directory `/root/dante-1.4.2' make[2]: Entering directory `/root/dante-1.4.2' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/root/dante-1.4.2' make[1]: Leaving directory `/root/dante-1.4.2'
Check Dante version :
[root@tutorialspots dante-1.4.2]# /usr/sbin/sockd -v Dante v1.4.2. Copyright (c) 1997 - 2014 Inferno Nettverk A/S, Norway
You have successfully installed Dante from sources.
Step 3: install start-stop-daemon
pushd /usr/local/src wget http://developer.axis.com/download/distribution/apps-sys-utils-start-stop-daemon-IR1_9_18-2.tar.gz tar zxvf apps-sys-utils-start-stop-daemon-IR1_9_18-2.tar.gz cd apps/sys-utils/start-stop-daemon-IR1_9_18-2 gcc start-stop-daemon.c -o start-stop-daemon cp start-stop-daemon /usr/sbin/ popd
Result:
[root@tutorialspots dante-1.4.2]# pushd /usr/local/src /usr/local/src ~/dante-1.4.2 [root@tutorialspots src]# wget http://developer.axis.com/download/distribution/apps-sys-utils-start-stop-daemon-IR1_9_18-2.tar.gz --2020-07-30 13:21:39-- http://developer.axis.com/download/distribution/apps-sys-utils-start-stop-daemon-IR1_9_18-2.tar.gz Resolving developer.axis.com (developer.axis.com)... 195.60.68.81 Connecting to developer.axis.com (developer.axis.com)|195.60.68.81|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 8615 (8.4K) [application/x-gzip] Saving to: ‘apps-sys-utils-start-stop-daemon-IR1_9_18-2.tar.gz’ 100%[======================================>] 8,615 --.-K/s in 0s 2020-07-30 13:21:41 (113 MB/s) - ‘apps-sys-utils-start-stop-daemon-IR1_9_18-2.tar.gz’ saved [8615/8615] [root@tutorialspots src]# tar zxvf apps-sys-utils-start-stop-daemon-IR1_9_18-2.tar.gz apps/sys-utils/start-stop-daemon-IR1_9_18-2/ apps/sys-utils/start-stop-daemon-IR1_9_18-2/Makefile apps/sys-utils/start-stop-daemon-IR1_9_18-2/start-stop-daemon.c [root@tutorialspots src]# cd apps/sys-utils/start-stop-daemon-IR1_9_18-2 [root@tutorialspots start-stop-daemon-IR1_9_18-2]# gcc start-stop-daemon.c -o start-stop-daemon [root@tutorialspots start-stop-daemon-IR1_9_18-2]# cp start-stop-daemon /usr/sbin/ [root@tutorialspots start-stop-daemon-IR1_9_18-2]# popd ~/dante-1.4.2
Update 7/2/2022: the link download was dead, you can use this link instead:
https://demo.tutorialspots.com/centos/start-stop-daemon
wget https://demo.tutorialspots.com/centos/start-stop-daemon -O /usr/sbin/start-stop-daemon chmod +x /usr/sbin/start-stop-daemon
Step 4
Now, We have to make daemons danted on linux systems.
Make file /etc/init.d/sockd
vi /etc/init.d/sockd
With content:
#!/usr/bin/sh ### BEGIN INIT INFO # Provides: danted # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: SOCKS (v4 and v5) proxy daemon (danted) # Description: Starts or stops the Dante SOCKS proxy daemon. # Its configuration is stored in the /etc/danted.conf file; # see the danted.conf(5) manual page for details. ### END INIT INFO # # dante SOCKS server init.d file. Based on /etc/init.d/skeleton: # Version: @(#)skeleton 1.8 03-Mar-1998 miquels@cistron.nl if test -f /lib/lsb/init-functions; then . /lib/lsb/init-functions fi . /etc/init.d/functions PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin DAEMON=/usr/sbin/sockd NAME=sockd DESC="Dante SOCKS daemon" PIDFILE=/var/run/$NAME.pid CONFFILE=/etc/$NAME.conf test -f $DAEMON || exit 0 set -e # This function makes sure that the Dante server can write to the pid-file. touch_pidfile () { if [ -r $CONFFILE ]; then uid="`sed -n -e 's/[[:space:]]//g' -e 's/#.*//' -e '/^user\.privileged/{s/[^:]*://p;q;}' $CONFFILE`" if [ -n "$uid" ]; then touch $PIDFILE chown $uid $PIDFILE fi fi } case "$1" in start) if ! egrep -cve '^ *(#|$)' \ -e '^(logoutput|user\.((not)?privileged|libwrap)):' \ $CONFFILE > /dev/null then echo "Not starting $DESC: not configured." exit 0 fi echo -n "Starting $DESC: " touch_pidfile start-stop-daemon --start --quiet --oknodo --pidfile $PIDFILE \ --exec $DAEMON -- -D echo "$NAME." ;; stop) echo -n "Stopping $DESC: " start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE \ --exec $DAEMON echo "$NAME." ;; reload|force-reload) # # If the daemon can reload its config files on the fly # for example by sending it SIGHUP, do it here. # # If the daemon responds to changes in its config file # directly anyway, make this a do-nothing entry. # echo "Reloading $DESC configuration files." start-stop-daemon --stop --signal 1 --quiet --pidfile \ $PIDFILE --exec $DAEMON -- -D ;; restart) # # If the "reload" option is implemented, move the "force-reload" # option to the "reload" entry above. If not, "force-reload" is # just the same as "restart". # echo -n "Restarting $DESC: " start-stop-daemon --stop --quiet --pidfile $PIDFILE --exec $DAEMON sleep 1 touch_pidfile start-stop-daemon --start --quiet --pidfile $PIDFILE \ --exec $DAEMON -- -D echo "$NAME." ;; status) if ! egrep -cve '^ *(#|$)' \ -e '^(logoutput|user\.((not)?privileged|libwrap)):' \ $CONFFILE > /dev/null then configured='' else configured='1' fi if start-stop-daemon --status --quiet --pidfile $PIDFILE \ --exec $DAEMON; then if [ -n "$configured" ]; then echo "$DESC running" else echo "$DESC running, yet not configured?!" fi else if [ -n "$configured" ]; then echo "$DESC not running" else echo "$DESC not configured" fi fi ;; *) N=/etc/init.d/$NAME # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2 echo "Usage: $N {start|stop|restart|force-reload|status}" >&2 exit 1 ;; esac exit 0
Step 5:
sed -i -e 's/\r$//' /etc/init.d/sockd
Step 6:
chmod +x /etc/init.d/sockd
Step 7:
systemctl enable sockd systemctl start sockd
Step 8: check the server interface
In the example below, the server uses the eth0 interface.
[root@tutorialspots ~]# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::2/128 scope global valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether 00:16:3e:39:02:fb brd ff:ff:ff:ff:ff:ff inet 103.90.228.168/22 brd 103.90.231.255 scope global eth0 valid_lft forever preferred_lft forever inet6 fe80::216:3eff:fe39:2fb/64 scope link valid_lft forever preferred_lft forever
Step 9:
Create file /etc/sockd.conf
vi /etc/sockd.conf
with content (Example for socks5 0.0.0.0:1080):
logoutput: /var/log/socks.log internal: 0.0.0.0 port = 1080 external: eth0 clientmethod: none socksmethod: none user.privileged: root user.notprivileged: nobody client pass { from: 0.0.0.0/0 to: 0.0.0.0/0 log: error connect disconnect } client block { from: 0.0.0.0/0 to: 0.0.0.0/0 log: connect error } socks pass { from: 0.0.0.0/0 to: 0.0.0.0/0 log: error connect disconnect } socks block { from: 0.0.0.0/0 to: 0.0.0.0/0 log: connect error }
Step 10:
service danted restart
Done, test Dante Socks5:
[root@tutorialspots ~]# curl --socks5-hostname 127.0.0.1:1080 google.com <HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8"> <TITLE>301 Moved</TITLE></HEAD><BODY> <H1>301 Moved</H1> The document has moved <A HREF="http://www.google.com/">here</A>. </BODY></HTML>
Step 11: Limit by Username
Step 11.1:
Edit Danted Configuration on /etc/sockd.conf, and change this section:
# socksmethod: none // for non-authentication socksmethod: username socks pass { from: 0.0.0.0/0 to: 0.0.0.0/0 command: bind connect udpassociate log: error connect disconnect socksmethod: username }
Step 11.2:
service sockd restart
Step 11.3: create a user and password
useradd tutorialspots -r passwd tutorialspots
Test:
curl -x socks5://<your_username>:<your_password>@<your_ip_server>:<your_danted_port> ifconfig.co
Step 12: Limit by IP Address
Step 12.1:
Edit Danted Configuration on /etc/sockd.conf, and change
client pass { from: 0.0.0.0/0 to: 0.0.0.0/0 log: error connect disconnect }
to
client pass { from: 11.11.11.11/32 to: 0.0.0.0/0 log: error connect disconnect }
11.11.11.11/32
is the single IP you want to allow access to your proxy server.
Step 12.2:
systemctl restart sockd