Hey everyone! I've been curious about how installing apps through the terminal works. When people do this, where does the software actually come from? Is it downloaded from a server? Do terminal installations pull from the same sources as GUI app stores like Discovery? Also, is this process similar across different Linux distros? I'm considering trying out Endeavour OS, and I heard I'll need to use the terminal for installations, so any simple explanations would be super helpful!
2 Answers
This process is pretty much the same for all distros, as well as for macOS and Windows. When you want to download software, you're directing your computer to connect to a server for that software—whether that's through clicking a UI or typing a command in the terminal. It's a simplified way to get your apps, but that’s the gist of it!
When you install apps via the terminal, it usually goes through a package manager, like apt, yum, or pacman. These package managers connect to software repositories over HTTPS to fetch the packages you want to install. So yes, they download from servers! They're usually pre-installed on your OS, so when you run a command like 'sudo pacman', you're directly communicating with pacman to manage your packages.

Related Questions
How To Get Your Domain Unblocked From Facebook
How To Find A String In a Directory of Files Using Linux