Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question

4 Answers 4

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:

youtube-dl [options] url [url...]

Details of the commandline can be easily seen by running:

youtube-dl -h

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:

youtube-dl -o ~/Desktop/%(title)s.%(ext)s 'youtube file url'

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:

--output "~/Desktop/%(title)s.%(ext)s"

and then all downloaded files will automatically go to your Desktop.

share|improve this answer

If you run youtube-dl like this:

youtube-dl -o "/home/vasa1/Downloads/%(title)s" http://www.youtube.com/watch?v=rnvK2TIhYns

The video should be in /home/vasa1/Downloads. Of course you need to put your username in place of vasa1.

share|improve this answer

youtube-dl is a terminal program, it runs only from the terminal.

youtube-dl downloads videos wherever you tell it to. You can tell youtube-dl where to download the videos by changing the working directory before you run youtube-dl using the cd command. For example if you want to download a video to your desktop, first change the directory to your desktop by running the command:

cd ~/Desktop  

Or if you want to download the video to any other directory, just type cd followed by a space character, and then drag the folder icon for that directory into the terminal, and the path to that directory will autocomplete in the terminal. After that you can run your youtube-dl command as usual and the video will be downloaded to the directory you have selected.

So here is a complete example of how to download a video from http://www.youtube.com/watch?v=1234567890A to your desktop, in flv 360p format and the file name used to download the video will be the same as the title of the video on YouTube so that you can identify it:

cd ~/Desktop
youtube-dl -f 34 --title http://www.youtube.com/watch?v=1234567890A
share|improve this answer

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

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.