(Last Updated On: June 25, 2019)

Annie is the fastest Video downloader for Linux written in Go. It is simple, clean and works out of the box. If you’re tired of other Linux Video Downloaders, then this tool is for you.

Video downloading is helpful when you want to download Video tutorials, lectures and entertainment material for offline watching.

How to install Annie Video Downloader in Linux

It is easy to install Annie Video Downloader on Ubuntu, Debian, Linux Mint, Arch Linux, Void Linux, Fedora, and any other Linux distribution. Just grab the latest binary file and you’re good to go.

Check the Annie release page for the latest release and take note of the version number. Below are the commands to download the latest release.

curl -s https://api.github.com/repos/iawia002/annie/releases/latest \
   | grep browser_download_url \
   | grep Linux_64-bit \
   | cut -d '"' -f 4 \
   | wget -qi -

Uncompress the file after downloading.

tar xvf annie_*_Linux_64-bit.tar.gz

Move the annie file to /usr/local/bin directory.

$ sudo mv annie /usr/local/bin
$ annie -v
annie: version 0.9.4, A fast, simple and clean video downloader.

Install FFmpeg

Annie Video Downloader requires FFmpeg to operate. Install FFmpeg on your Linux distribution by following the documentation provided.

Installation examples:

Install FFmpeg on Ubuntu / Debian / Linux Mint:

To install FFmpeg on Ubuntu / Debian / Linux Mint, run:

sudo apt-get -y install ffmpeg

Install FFmpeg on Arch Linux:

Install FFmpeg on Arch Linux by running the command:

sudo pacman -S ffmpeg

Install FFmpeg on Fedora:

For Fedora, use our guide below:

How to Install FFmpeg on Fedora

For CentOS 7:

sudo yum -y install epel-release
sudo rpm -v --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro
sudo rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
sudo yum install ffmpeg ffmpeg-devel

How to use Annie YouTube Video Downloader

After the installation of Annie and FFmpeg, you can begin your YouTube videos downloading.

Annie usage syntax:

$ annie [OPTIONS] URL [URL…] 

Downloading a single YouTube Video with Annie

$ annie https://youtu.be/753Gl2VlPF8
Site: YouTube youtube.com
Title: Westlife - Hello My Love
Type: video
Stream:
[137] -------------------
Quality: 1080p video/mp4; codecs="avc1.640028"
Size: 46.72 MiB (48987310 Bytes)
# download with: annie -f 137 …
46.72 MiB / 46.72 MiB [================================] 100.00% 40.38 GiB/s 0s
Merging video parts into Westlife - Hello My Love.mp4

If the URL contains special characters, wrap it in quotation marks.

$ annie 'https://…'

Check for available quality of video without downloading

To check for available Video qualities without downloading, use the -i option.

$ annie -i https://youtu.be/753Gl2VlPF8

 Site:      YouTube youtube.com
 Title:     Westlife - Hello My Love
 Type:      video
 Streams:   # All available quality
     [137]  -------------------
     Quality:         1080p video/mp4; codecs="avc1.640028"
     Size:            46.72 MiB (48987310 Bytes)
     # download with: annie -f 137 ...

     [248]  -------------------
     Quality:         1080p video/webm; codecs="vp9"
     Size:            42.15 MiB (44195822 Bytes)
     # download with: annie -f 248 ...

     [247]  -------------------
     Quality:         720p video/webm; codecs="vp9"
     Size:            17.26 MiB (18095837 Bytes)
     # download with: annie -f 247 ...
........................................................

Download a specific Video stream

Use annie -f stream "URL" to download a specific stream listed in the output of -i option.

Download Playlist Videos

You can also tell Annie to download all Videos in a playlist by passing the -p option.

annie -p <URL>

You can use the -start-end or -items option to specify the download range of the list:

-start
    	Playlist video to start at (default 1)
-end
    	Playlist video to end at (default is last)
-items
    	Playlist video items to download. Separated by commas like: 1,5,6

Download from multiple URLs

You can also download multiple URLs at once. Separate the URLs list with a space.

$ annie https://www.youtube.com/watch?v=EsPmyeowaa8 https://www.youtube.com/watch?v=ByfFurjQDb0

You can also save URLs in a file and reference the file while downloading.

$ annie -F ./videourls.txt

When Annie is rerun with the same arguments, it is able to resume interrupted download.

Download Subtitles

To download Video Captions, use the -C option.

$ annie -C https://youtu.be/f28MJ7IMsS8

Downloading regular file

With Annie, download of regular files is supported provided you have file URL.

$ annie http://dl-cdn.alpinelinux.org/alpine/v3.8/releases/x86_64/alpine-standard-3.8.2-x86_64.iso
annie doesn't support this URL right now, but it will try to download it directly
Site: Universal
Title: alpine-standard-3
Type: application/octet-stream
Stream:
[default] -------------------
Size: 104.00 MiB (109051904 Bytes)
# download with: annie -f default …
104.00 MiB / 104.00 MiB [============================] 100.00% 1.25 MiB/s 1m23s

Annie can be used to download Videos from other sites such as Tumblr, Vimeo, Facebook, Twitter e.t.c. Check the complete list of supported websites.

More reading:

How To Convert mp4/mkv/WebM to mp3 on Linux with FFmpeg

How to Install Lightworks Video Editor on Ubuntu LTS

How to use ytdl-webserver Webserver for downloading youtube videos

Install Persepolis Download Manager on Ubuntu / Linux Mint