LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 10-26-2011, 01:53 PM   #1
ecologon
LQ Newbie
 
Registered: Oct 2010
Posts: 1

Rep: Reputation: 0
Installation of program file ending in .sh


I need to know how to install a program I downloaded, that ends in .sh
 
Old 10-26-2011, 01:55 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,133
Blog Entries: 2

Rep: Reputation: 4835Reputation: 4835Reputation: 4835Reputation: 4835Reputation: 4835Reputation: 4835Reputation: 4835Reputation: 4835Reputation: 4835Reputation: 4835Reputation: 4835
You don't need to install that, it is a shell script, just execute it. You may have to make it executable first, you can do that with
Code:
chmod +x FILENAME
 
Old 10-26-2011, 02:26 PM   #3
kindofabuzz
Member
 
Registered: Mar 2010
Location: There
Distribution: Linux Mint 17.1
Posts: 237

Rep: Reputation: 45
Code:
bash script.sh
 
Old 10-26-2011, 03:16 PM   #4
spankbot
Member
 
Registered: Aug 2007
Posts: 131

Rep: Reputation: 16
If you're looking for an appropriate directory to save the script in, it sort of depends on what the script does, but possible locations are...

~/bin
/usr/local/bin
/usr/local/sbin
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba share file/folder names ending in period Lenard Spencer Linux - Server 1 08-31-2010 09:14 AM
Problem in getting the starting and ending of a particular record from a file. vigneshinbox Programming 6 04-02-2009 11:28 PM
file ending with .tlt tostay2003 Programming 5 08-23-2007 02:53 AM
Error when sourcing file to finish program installation serendipitysdc Linux - Software 1 07-18-2004 10:16 PM
how to uncompress a file ending with diff.gz tamari Linux - Software 3 06-16-2002 12:46 PM


All times are GMT -5. The time now is 04:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration