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-14-2012, 12:37 PM   #1
Xlr_Prahlad
LQ Newbie
 
Registered: Sep 2012
Posts: 25

Rep: Reputation: 3
Question how to install script youtube-install.sh


i have downloaded A script youtube-install.sh , but dont know hot to install it ..
i tried sudo ./youtube-install.sh
but den it trows an error:sudo: ./youtube-install.sh: command not found
 
Old 10-14-2012, 01:42 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,886

Rep: Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258
Quote:
Originally Posted by Xlr_Prahlad View Post
i have downloaded A script youtube-install.sh , but dont know hot to install it ..
i tried sudo ./youtube-install.sh
but den it trows an error:sudo: ./youtube-install.sh: command not found
Spell out your words. And chances are, wherever you downloaded that script FROM will also have installation or usage instructions. Check there.
 
Old 10-14-2012, 01:49 PM   #3
Pearlseattle
Member
 
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 972

Rep: Reputation: 117Reputation: 117
You probably have to make it executable?
Code:
chmod 700 youtube-install.sh
 
1 members found this post helpful.
Old 10-14-2012, 01:50 PM   #4
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,866

Rep: Reputation: 241Reputation: 241Reputation: 241
Did you make the shell script executable before you tried to execute it?
Code:
stat youtube-install.sh
or
Code:
ls -l youtube-install.sh
Use chmod to change it if needed.
http://www.manpagez.com/man/1/chmod/

What are you trying to install? A youtube downloader may be in your repository.
 
1 members found this post helpful.
Old 10-14-2012, 02:10 PM   #5
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 462Reputation: 462Reputation: 462Reputation: 462Reputation: 462
Check your distros repos, most distros have it.

On Ubuntu/Debian

sudo apt-get install youtube-dl
 
Old 10-15-2012, 09:08 PM   #6
Xlr_Prahlad
LQ Newbie
 
Registered: Sep 2012
Posts: 25

Original Poster
Rep: Reputation: 3
Smile

thanx Teckk and Pearlseattle ,
it worked well after making it executable
 
Old 10-18-2012, 03:01 PM   #7
Pearlseattle
Member
 
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 972

Rep: Reputation: 117Reputation: 117
Great!
Perhaps you now want to mark this thread as "Solved"...?

Thx
 
  


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
How to install youtube-dl and ffmpeg Dr.Paneas Slackware 6 08-02-2012 05:55 PM
Unable to install flash plugin to watch youtube videos ozulloa Linux - Newbie 3 09-05-2010 12:20 PM
Youtube vids wont play after flash install rokitscintist Linux - Newbie 3 02-18-2009 05:37 PM
sources.list repos for apt-get : to install Opera with youtube working frenchn00b Debian 5 10-22-2008 04:16 PM
install script to install scratchbox in debian culin Debian 1 09-26-2007 12:40 AM


All times are GMT -5. The time now is 02:57 AM.

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