I have installed Webmin v 2.510 on AlmaLinux 9.6, but receive an error in miniserv.error:
Perl module IO::Pty needed for calling sudo is not installed : Can’t locate IO/Pty.pm in @INC (you may need to install the IO::Pty module) (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5/5.32 /usr/local/share/perl5/5.32 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at (eval 20) line 1.
BEGIN failed–compilation aborted at (eval 20) line 1.
and can’t connect to it
The error seems strange but what if you install the missing module:
sudo yum makecache --refresh (only to check repository updates)
sudo yum install perl-IO-Pty
I’m not sure with AlmaLinux but if not yum maybe dnf:
sudo dnf makecache --refresh (only to check repository updates)
sudo dnf install perl-IO-Pty
Sorry if I said a mistake
How did you install Webmin? If you installed as documented (https://webmin.com/download/), the package manager should have installed dependencies for you.