I have learn linux recently, but i confused about how linux system works, especially about how linux handle program files, in windows all program is in one directory Programfiles (and some in Windows) but in linux, when i install program automaticly (apt) i think its randomly place the program files not in one place (not just programfiles folder).Can i change DEFAULT place/folder of program in linux? I have linux mint 17.3 64 bit.Im new to linux, sorry if my theories above wrong.
Change the default program installation location?
software installation;directory structure
In short: As long as you use the package manager that comes with your Linux distribution, you can't change the place where the binaries are installed. However, the installation paths follow a long-established convention (with minor differences between distributions).If you build packages on your own you could, in theory, choose the installation prefix yourself, but usually departing from the conventions comes with some kind of penalty (read: It's a bad idea if you don't know exactly what you're doing).