Trisquel includes Gnash by default, so YouTube videos should work most of the time. However, watching YouTube videos this way may require the user to run proprietary JavaScript and ActionScript.
Other way of watching YouTube videos on Trisquel is to use youtube-dl. youtube-dl is free software and is capable of downloading videos from YouTube and other video websites.
To install youtube-dl:
- Open up Terminal
- Use the following command to download the youtube-dl program:
wget https://github.com/rg3/youtube-dl/blob/master/youtube-dl?raw=true -O youtube-dl --no-clobber
- Set youtube-dl as an executable:
chmod +x youtube-dl
- Move youtube-dl to /usr/local/bin:
sudo mv youtube-dl /usr/local/bin
Now you can use the youtube-dl command to download YouTube videos. Example usage:
youtube-dl https://www.youtube.com/watch?v=8p9IU4zp7mU
YouTube sometimes updates its website which makes youtube-dl incompatible with it. youtube-dl updates its software occasionally to fix these changes. To update youtube-dl, type the following command in Terminal:
youtube-dl -U
Alternatively, you can delete the youtube-dl program and follow the instructions above for installing it again. To delete youtube-dl, type the following command in Terminal:
sudo rm /usr/local/bin/youtube-dl
Revisions
11/22/2012 - 07:51
07/08/2013 - 06:55
08/13/2013 - 18:19
02/05/2014 - 18:51
09/04/2014 - 02:53
10/09/2014 - 11:07
08/17/2017 - 05:43
09/21/2024 - 14:35