Sometimes I encounter problems with using
make install which gives me a
permission denied error when writing to some folders. So instinctively I use
sudo make install. Will this introduce additional problems?
I am using Debian Etch.
Avoid making local installs into system directories. The system directories eg
So, if you are getting permission errors with
Note that the package management system conversely does not install into
As has been answered above,
The problem I can foresee is that at a later date you may want to uninstall or upgrade the program. If you still have the source code directory tree then a
The best way to install such programs may be to install them in your home directory. Pass the option
Here's a basic rundown of the commands is question:
Since sudo command runs the command you pass it as root, it means that the make command has super-user privileges. This means that if the makefile is malicious, or any of the scripts it may call is malicious, then it could compromise your system.
In short, if you don't trust the software, don't install it. If you trust the software, then running as root shouldn't hurt anything.