What Kind of Reality Check Do I Need Quiz
Q&A for How to Execute INSTALL.sh Files in Linux Using Terminal
Coming soon
Search
-
QuestionHow to run a Linux program from terminalCommunity AnswerEnter these commands into the terminal: cd /location of file/. For example, /home/username/Documents./name_of_file.extension. Replace these with the name of the file/program and the extension (commonly .desktop in Linux or .exe (executable) or .sh (script). Make sure the file/program is marked as executable in its properties.
-
QuestionI typed: chmod +x install.sh but the output is chmod: cannot access 'install.sh': No such file or directory.PinguTop AnswererThis means that there is no install.sh file. Linux is case-sensitive, so if you type the file name as install.sh, it won't find a file that is named, for example, INSTALL.sh. Also check for typos, like typing isntall.sh instead of install.sh. Try typing ls to list all files in the current directory. If the install.sh file is not in the current directory, you need to change into the directory with that file using the cd command.
-
QuestionI want my (.sh) files to be executable by 1 word like "test" without commanding "./test.sh | bash test.sh". How to do that?PinguTop AnswererIf that's a program that someone else wrote, you can usually run "sudo make install" to install it, and then it will be possible to just type the program name. If it is a script that you wrote yourself, do the following: Add the line "#!/bin/bash" (without the quotation marks) to the beginning of the script file. Rename the file to not have ".sh" at the end, for example "test.sh" to just "test". Finally, move your file to the "/usr/bin" directory. Then, you can just type the word (in this example, "test") to execute the script. Also, when working from the Linux bash shell, you don't need to type the " | bash test.sh" part, you can just write "./test.sh".
-
QuestionFollowed all instructions worked till last the step but nothing happened.JisjoCommunity AnswerWe would need to know the error messages when you executing each command before being able to troubleshoot your issue.
-
QuestionIt states after I execute sudo ./install.sh that my platform is not supported. Does anyone know why?MOHMMD ELFACommunity AnswerAre you using 32 bit or 64 bit? If you are using 32 bit, you might be trying to start a 64 bit program. Or you might not meet the minimum requirements. Also, if you see x86, then that means 32 bit.
-
QuestionHow is zipping and unzipping the script different from saving it to the desktop folder?MOHMMD ELFACommunity AnswerWhen you save it to desktop, that tells the file(s) to put themselves there. But when you zip and unzip, you just compress (save space) and decompress (takes up more space).
-
QuestionWhat is too many argument error in installation?MOHMMD ELFACommunity AnswerYou put more arguments than necessary. This command has enough arguments: su name . This command has too many or too little: su Jane Eric.
-
QuestionI typed bash install.sh but the output was install: no input file specified?Community AnswerMake sure you specify where the file needs to go or you might need to go into a folder outside of the home directory.
-
QuestionAfter I have entered the printer name, MX490USB, the terminal window closes. I receive no messages. I find it strange, because I see it has already identified the printer in the previous step.RohankumaryadavsCommunity AnswerTo fix this, just reset your devices. Or, you'll need to run through a wizard. Here's how: Open Windows search by pressing Windows Key + Q. Type in "printer." Select Printers & Scanners. Hit Add a printer or scanner.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit