I am running 12.04 ubuntu os, i have downloaded the app and the download to is complete but when i search from dash neither is the file nor the folder of youtube dl turns up. Can anyone help?
There are really 2 questions here:
Why does youtube-dl not feature in Dash?
This is because youtube-dl is run from a Terminal and does not come with icons, desktop files and the like. It is simply run from any Terminal as follows:
Details of the commandline can be easily seen by running:
in any Terminal and experimenting a little to make youtube-dl work as you wish. The 2nd question is:
Where does Youtube dl downloads YouTube files?
By default youtube-dl will download the files in the working directory of the Terminal that you have opened. Usually this is your $HOME environment, but not always. This behavior can be modified in 2 ways:
Easy way: Use the -o option with youtube-dl to manually give a location for the downloaded files:
and of course substitute the actual url for 'youtube file url'
Slightly harder way: Set a path in the youtube-dl configuration file ~/.config/youtube-dl.conf as follows:
and then all downloaded files will automatically go to your Desktop.
By default youtube-dl downloads files in the same directory from where you run the command. Mostly it's your home directory. If your name is Tom, then it is /home/Tom. To force it to download elsewhere you should use -o option; and to select quality of video, there is -f option. But how would you know the variety of quality of files. That is achieved by -F option. So combine all these in one shell script, make it executable and put it in a bin directory. And life becomes easy going.
I have written one script for my own use. It works fine. You don't have to worry where all those downloaded files are going. I've chosen ~/Videos directory for downloading YT videos; you can choose any other. Also replace 'Tom' by your name. Here is the script:
If you run
The video should be in
by default youtube-dl downloads it's files on your home directory to access your downloaded filed please open the terminal change the directory to your home directory user:~$ cd /home/user Notice: user is your user name
Ubuntu 14 fix of official installation procedure
Create directory here:
Move youtube-dl from installation place:
Remove old cache:
e'voila! youtube-dl without having a need for a sudo in front of it