is it ok to sudo for make install?

Tarjei Knapstad tarjei.knapstad at gmail.com
Thu Nov 10 10:19:31 UTC 2005


On 11/10/05, gb spam <gbofspam at gmail.com> wrote:
> On 11/9/05, Claude Jones <claude_jones at levitjames.com> wrote:
> > This is a simple technical question, but I can't seem to find an answer. When
> > compiling from source, is it OK to sudo for the make install, or do I need to
> > su -   I remember reading something about root's path environments not being
> > fully in place when sudo'ing - do I have that completely wrong?
>
> "su -" is not required, i've always done:
>
>    su -c 'make install'
>
> so sudo should not present any problems
>

I would also advise you to check out checkinstall:
http://asic-linux.com.mx/~izto/checkinstall/

RPM's just make life easier...

--
Tarjei




More information about the users mailing list