PDA

View Full Version : [ubuntu] how to specified the installation directory.



calvinlyp
May 27th, 2009, 10:21 AM
hi all,

i am relatively new to ubuntu platform thus alot of commands are very new to me.

i am trying to install a software called sharc from http://sourceforge.net/projects/sharc/

it sta in the INSTALL file that:

================================================== ====
Installation Names
==================

By default, `make install' will install the package's files in
`/usr/local/bin', `/usr/local/man', etc. You can specify an
installation prefix other than `/usr/local' by giving `configure' the
option `--prefix=PATH'.

================================================== ====

i need to change the default location to /usr/bin

how do i go about doing it?
or how to use the command option of `--prefix=PATH'.??

i try using the command below:
sudo make install --prefix=/usr/bin

but it generate error.

pls help.

thanks.

glotz
May 27th, 2009, 11:22 AM
You can specify an
installation prefix other than `/usr/local' by giving `configure' the
option `--prefix=PATH'.
;) Not make.