On most Linux distributions, it's basically the same. Your package manager tends to make no distinction between OS files and installed program files.
FreeBSD does another approach, where user-installed packages go to /usr/local and don't get intermixed with the base operating system.