$SHELL says /bin/bash $0 gives ./INSTALL.d/prerequisites_imapsync ps -ef gives gilles 11305 11304 0 12:55 pts/27 00:00:00 /bin/sh ./INSTALL.d/prerequisites_imapsync Distributor ID: Ubuntu Description: Ubuntu 14.04.5 LTS Release: 14.04 Codename: trusty Linux petite 3.13.0-92-generic #139-Ubuntu SMP Tue Jun 28 20:42:32 UTC 2016 i686 i686 i686 GNU/Linux Ok: Found Perl 5.18.2 Ok: Found Perl module Authen::NTLM Ok: Found Perl module Compress::Zlib Ok: Found Perl module Data::Dumper Ok: Found Perl module Data::Uniqid Ok: Found Perl module Digest::HMAC_MD5 Ok: Found Perl module Digest::HMAC Ok: Found Perl module Digest::MD5 Ok: Found Perl module File::Copy::Recursive Ok: Found Perl module IO::Socket::INET Ok: Found Perl module IO::Socket::INET6 Ok: Found Perl module IO::Socket::SSL Ok: Found Perl module IO::Tee Ok: Found Perl module JSON::WebToken Ok: Found Perl module Mail::IMAPClient Ok: Found Perl module Parse::RecDescent Ok: Found Perl module Readonly Ok: Found Perl module Term::ReadKey Ok: Found Perl module Test::MockObject Ok: Found Perl module Test::More Ok: Found Perl module Test::Pod Ok: Found Perl module Unicode::String Ok: Found Perl module URI::Escape All needed modules are already installed