sysadmin - Why does the building from Binary files do not require Root access? -


When I'm in my department's server, I can not use commands like "apt-get install nethack" To work, the binary files have to be made nathak, at least I am told. I do not understand the reason. Why do I need to make things from binary? Use of commands, such as "apt-mill", is prohibited? Why do I need root access to create binaries?

When you compile a program from a source, you give it '- prefix = ~ /' This is due to setting up your own home directory (hence the binary program usually ends in '~ / bin', man page in '~ / man' etc.). This is not a problem because you already have permission to write here.

On the other hand, establishes an appointment in the global file system ('/ bin /', '/ usr / bin /' etc.), which can affect other users and, therefore, Correctly, administrative access is required.

If you want to install some programs, then you can use the command

  apt-get source app-name  

It also works, even if you are not root because it only brings the source code to the app name and keeps it in the current directory, which is easier than tracking the source and it's a better chance to work. That's because you download the version that should work on your system.

Alternatively you can install a bug to your system program, you need it, because it's his job (and if you need them, then it is likely that the rest of the team also does this) .


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -