linux下sudo install 和 install区别
巴扎黑
巴扎黑 2017-04-17 11:07:35
0
6
714

是不是可以所有安装都用sudo?

巴扎黑
巴扎黑

reply all(6)
左手右手慢动作

If installed into the $PATH of the system (you can enter commands directly on the command line in the future), you generally need sudo to elevate yourself to root privileges.

If you install it in the current folder (you will need ./command in the future), sudo is not needed

PHPzhong

Whether you need to use sudo depends on which directory you install to. For example, if you install to your home directory, of course you don’t need sudo. If you install to a directory without permissions, you need to use sudo to elevate the directory.

小葫芦

sudo install: Increase the permissions of the current user to root and then run install
install: Run install

with the permissions of the current user
巴扎黑

Sudo refers to executing subsequent commands with super user privileges.

巴扎黑

Permission reasons.

伊谢尔伦

sudo switches to root privileges to execute commands

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template