Linux installs software from trusted repositories using a package manager, not by downloading random installers.
The two families
- Debian/Ubuntu:
apt—sudo apt update && sudo apt install nginx. - RHEL/Fedora:
dnf(or olderyum) —sudo dnf install nginx.
Package managers handle dependencies and updates automatically, and repositories are signed, so you get trusted, patchable software. Keeping packages updated (apt upgrade) is a core security habit — unpatched software is a top breach cause, as covered in Security+.
