How to install a package without the others

MisterM

Verified User
Joined
Jul 31, 2022
Messages
368
Hello

Is reinstalling by overwriting the version installed via DirectAdmin a problem or not?

httpd package for info
 
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.
 
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.
Is the command for not installing the package as under Debian?

--no-install-recommends
 
what's do you meant ? what do you want to do ?
Debian is clone from ubuntu, so that command should work fine.

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.
 
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.
You didn't understand what I asked ?
 
Is the command for not installing the package as under Debian?
for this question.
that's not command for prevent installing one package. ( but all recommended package ).

if you want to prevent some package, you should use this command.
Code:
sudo apt-mark hold <package-name>

and unhold with
Code:
sudo apt-mark unhold <package-name>
 
edit file "/etc/yum.conf"

find line "exclude=", it should exists. If not, just add content to end of line

Code:
exclude=curl openssl package1 package2 package3
 
in the version installed under RockyLinux 9 or 8 or others, knowing that httpd is compiled and not installed as a package, how do you get it to be displayed as a package?

Understand?
 
I don't know, I'm out of idea. Maybe create support ticket and ask them how it work with system package.
 
Back
Top