I know there is Depends, Pre-Depends, Build-Depends, etc. Is there something like Install-Depends in Debian packaging? For example, my package package-a needs Perl to install, after package-a is installed, perl is no more required so it should be removed if isn't not previously installed.
There's no such feature, and I think the reason is that it would be very rarely useful.
If your package only needs this dependency for its
Furthermore, most install-time dependencies tend to occur in