0

Hi i am returning user of ubuntu, and i am trying to get label, and the problem how to run two files sh files in the terminal called:

install-sh.sh
configure.sh

and i have tried to enter from the terminal:

   sudo sh /Home/Downloads/lxpanel-0.6.1/install-sh.sh

and it ask for the password so further, and i type it in, and then it says in the terminal:

   sh: 0: Can't open /Home/Downloads/lxpanel-0.6.1/install-sh.sh

and i have also tried from root in the terminal, and i don't know how I can make this work, and can some one please help.

Michael
  • 2,499
  • 5
  • 19
  • 24
  • 1
    lxpanel is available in the repositories, you don't need to compile from source. Also, try sudo bash ~/Downloads/lxpanel-0.6.1/install-sh.sh. – muru Aug 29 '14 at 03:34
  • 2
    for one thing, there is a typo and a mistake: it should be /home/[yourname]/Downloads/lxpanel-0.6.1/install-sh.sh (h lower case, and you forgot your personal directory). You can avoid mistakes in the directory by typing sudo sh + space, then drag the file over the terminal window (gnome-terminal) – Jacob Vlijm Aug 29 '14 at 06:07
  • @JacobVlijm this is the answer. why you don't post it as answer? – αғsнιη Sep 01 '14 at 22:43
  • @KasiyA Thanks, you are right I should have. I am not sure OP is around any more. – Jacob Vlijm Sep 02 '14 at 06:46

1 Answers1

-1

Have you made the file executable? Try..

chmod a+x /Home/Downloads/lxpanel-0.6.1/install-sh.sh
muru
  • 197,895
  • 55
  • 485
  • 740
  • Milan, you probably hit it on the nose. The user would best use the repository. However, there are occasions where the maintainers won't give the best support when you mention that you're using the repository instead of their provided installation (horde is an example). I always prefer the repository (something usually proven and tested. Knowing how to use the developer's package can be a plus. – L. D. James Aug 29 '14 at 04:14
  • 1
    He is explicitly using sh, so he doesn't need the executable bit. He does however need the read bit, or he gets the error he stated. – ubfan1 Aug 29 '14 at 05:16
  • I tried all of Thame still say the same: can't open – Michael Aug 29 '14 at 11:55