Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello, I'm trying to install epijs and the final step is to run a file with the extension .sh. How do I go about doing this?
Do I use the command prompt window? Can I just double click on it?
Also, does anybody know how to convert c source code, that's supposed to be used with a castle compiler, so it can be compiled with gcc?
I look forward to hearing from you soon, Cheers, Dom.
The .sh extension might also mean that the script file doesn't use any bash extensions. Starting the program as 'sh <filename>.sh will run bash in a mode compatible sh.
Mostly, a downloaded file or a file in cdrom may not have executable bit set, or will have a different owner. using 'sh <filename>.sh' will save you the trouble. The extension itself means nothing to the system, but is just a convention and visual clue.
Nice one, cheers people, what should happen in the command window after that? When I've installed other things there's normally a huge amount of text scrolls up the screen as it installs, but with this there wasn't, is this normal?
You said it was the final step. Perhaps you've already done most of the work. If the script installs pre-compiled binaries, it may simply need to copy files to target directories. I don't know that this particular installation does. If it is a script, you could read it to find out what is does.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.