After I installed Kali Linux, I was using it as root and downloaded and installed many applications such as netbeans, xampp and more... But then after I created a normal user. When I log in with this normal user I cannot access my installed programs. What should I do in order to use a program installed as root in a standard account?

  • You need to make those application executable: chmod o+x myprogram. Also, they need to be in your path (which myprogram to check if it is) – Nicop Aug 31 '15 at 10:09
  • 1
    The default action for most software when installed from the root account with, for example, make install, is to install it in places like /usr/local that are available to any user. How and where did you install your software? – Celada Aug 31 '15 at 10:35
  • I installed them in their default location. – Mrfrog Aug 31 '15 at 11:20
  • Add output from $PATH to your question.(type "echo $PATH" in your terminal) – MatthewRock Aug 31 '15 at 13:55

You need to update your PATH variable. You can do that in .bashrc:


Basically when you run program, $PATH is where it will be searched(path is list of directories separated by : ). If it can't find it there, you get an error message - which is your case.

I added most popular locations, but you might have installed your applications in different directories; in that case, simply change string that I provided accordingly.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.