Is the command for not installing the package as under Debian?All update will work with current template system.
if you overwrite the versions information, something might not work exactly ( maybe need adjust the template ).
Example: nginx , that next version 1.25.1 will need adjust template because
the "http2" parameter of the "listen" directive is now deprecated.
But depend on update which's new, which's deprecated.
--no-install-recommends
apt install openssl
You didn't understand what I asked ?what's do you meant ? what do you want to do ?
I think, you want to custom some "apt package" version.
from your title "How to install a package without the others"
you can execute something like this.
Code:apt install openssl
but you shoudn't install package that handle by custombuild like "httpd, nginx, exim, php". this will break some system like template or config.
for this question.Is the command for not installing the package as under Debian?
sudo apt-mark hold <package-name>
sudo apt-mark unhold <package-name>