Linux – Where does “make install” put the files

installationlinuxmake

After I unarchived a tar file containing the software I want to install,
I ran

./configure

Then:

make
make install

But where is this piece of software installed? And how do I locate its path via terminal?

Does Linux install all programs in a specific directory? Or does it just install them to the same directory as the tar file where the make command was issued?

Best Answer

There is no rule but usually /usr/local (i.e., /usr/local/bin for binaries).

You can also specify where do you want to install with the --prefix option. For example

./configure --prefix /home/myuser

will install the software in your home directory.

Related Question