![]() |
How to install program with .sh file in ubuntu?
Hello, I would like to install a small application called DHW page viewer on a computer that runs Ubuntu Feisty Fawn.
I think this program was written for KDE because whenver I used to have SUSE the program would install very easily. But now I switched over to Ubuntu and when I try to double click on the file and install the program I get error messages inside a text editor. How do I go about installing this program, is there anyway I can install the necessary components? I really need this to work. |
You can install a shell script by doing "sh filename.sh" in terminal
|
I get this error message whenever I try to run that command:
Code:
chacmool@link:~$ sh DHWPageViewer.sh |
Can you post the first 5 lines of the script? It looks like there's an error in the shell script code. This has nothing to do with GNOME or KDE BTW.
|
Ok,
whenever I double click on the .sh file this is what I get: Code:
#!/bin/sh |
I need this file...
Is there any possible way that you could post the DHWPageViewer.sh file? I have been searching the internet and the original link is dead.
Thanks Roger |
Try bash
Try using bash instead of sh
bash DHWPageViewer.sh Most likely in your system sh is linked to dash instead of bash. Good luck |
Do chmod +x filename, then ./filename.
|
| All times are GMT -5. The time now is 09:21 PM. |