When compiling from source, how do I change the install path on Linux?

I compiled the source and created a .deb file for Ubuntu Linux but I cannot find in the ./configure --help anything about how to change the install path. Also, the system has no idea that Libreoffice is installed once I install it. There are no icons or anything in the desktop menus.

I tried to find the answer but no luck. Thank you in advance,

Like most configures:

./configure --help | grep -C2 prefix

displays among others

--prefix=PREFIX install architecture-independent files in PREFIX [/usr/local]

By default, `make install' will install all the files in
`/usr/local/bin', `/usr/local/lib' etc.  You can specify
an installation prefix other than `/usr/local' using `--prefix',
for instance `--prefix=$HOME'.
1 Like

I’m embarrassed but I completely forgot that “prefix” is the term used. I’m not a developer. I kept using ./configure --help | grep -R install and “path” but not “prefix.” smacks forehead

Thank you very much!