LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to install script youtube-install.sh (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-install-script-youtube-install-sh-4175432170/)

Xlr_Prahlad 10-14-2012 12:37 PM

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
:newbie:

TB0ne 10-14-2012 01:42 PM

Quote:

Originally Posted by Xlr_Prahlad (Post 4805502)
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.

Pearlseattle 10-14-2012 01:49 PM

You probably have to make it executable?
Code:

chmod 700 youtube-install.sh

teckk 10-14-2012 01:50 PM

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.

craigevil 10-14-2012 02:10 PM

Check your distros repos, most distros have it.

On Ubuntu/Debian

sudo apt-get install youtube-dl

Xlr_Prahlad 10-15-2012 09:08 PM

thanx Teckk and Pearlseattle ,
it worked well after making it executable

Pearlseattle 10-18-2012 03:01 PM

Great!
Perhaps you now want to mark this thread as "Solved"...?

Thx


All times are GMT -5. The time now is 11:53 AM.