tags:

views:

20

answers:

1

Iam getting some error while installing executable in /usr/local/bin thru makefile install -m 755 my_execble /usr/local/bin install: cannot create regular file `/usr/local/bin/my_execble': Permission denied If use sudo before 'install' command .. then it will work .. but is there other way of installing without using sudo.

A: 

You can either tweak the Makefile (or use a configure script) to have it install the program in your home directory... or become root.

Edgar Bonet