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

amfzn

New Member
Joined
Mar 30, 2021
Messages
7
Reaction score
1
Credits
89
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
65
Reaction score
48
Credits
447
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!

Linux.org Hosting Donations
Consider making a donation

Members online


Top