The difference between Su and sudo is not clear, and it is often compiled recently.ProgramAnd now I want to write down the differences between them and learn from them.
Difference between Su and sudo:
1. Commonalities: root user permissions;
2. Differences: su only obtains the root permission, and the work environment remains unchanged. The user's work environment is still switched. sudo completely obtains the root permission and the root work environment.
The problem I encountered during compilation is:./libtool: Arm-Linux-GCC: Command not found.
The solution is as follows:
The solution is as follows:
Before Running make, run the Su-command to obtain the root permission. Then execute make.
I have not figured out the differences between Su and sudo, and I often encounter errors during program compilation recently. Now I want to write down the differences and learn from them.
Difference between Su and sudo:
1. Commonalities: root user permissions;
2. Differences: su only obtains the root permission, and the work environment remains unchanged. The user's work environment is still switched. sudo completely obtains the root permission and the root work environment.
The problem I encountered during compilation is:./libtool: Arm-Linux-GCC: Command not found.
The solution is as follows:
The solution is as follows:
Before Running make, run the Su-command to obtain the root permission. Then execute make.