Should i use sudo when doing ./configure;make;make install?

amfzn

New Member
Joined
Mar 30, 2021
Messages
4
Reaction score
1
Credits
44
Hello, not being logged-in as a root, but as a regular user who is in sudoers.
Should i prefix the ./autogen.sh, ./configure, make, make install
commands by "sudo"?
or this can be security problem. I rather trust the developer of the SW.
 


Oldhabbits

Member
Joined
May 24, 2021
Messages
33
Reaction score
33
Credits
211
Hi there, use ./autogen.sh, ./configure and make as your normal user, but prefix "make install" with sudo to install the program files to /usr/local (which is root-owned).
Greetz, Eddy
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Members online


Top