-
-
Notifications
You must be signed in to change notification settings - Fork 1
Linux wget Guide
Mattscreative edited this page Dec 5, 2025
·
2 revisions
Complete beginner-friendly guide to wget on Linux, covering Arch Linux, CachyOS, and other distributions including file downloads, recursive downloads, and web content retrieval.
Arch/CachyOS:
# Install wget
sudo pacman -S wgetDebian/Ubuntu:
sudo apt install wgetFedora:
sudo dnf install wgetBasic usage:
# Download file
wget https://example.com/file.txt
# Downloads file to current directoryCustom filename:
# Save with custom name
wget -O output.txt https://example.com/file.txt
# -O = output (custom filename)Continue download:
# Resume interrupted download
wget -c https://example.com/large-file.zip
# -c = continue (resumes from breakpoint)Download in background:
# Background download
wget -b https://example.com/file.txt
# -b = background (downloads in background)Recursive download:
# Download website
wget -r https://example.com
# -r = recursive (downloads entire site)Limit recursion:
# Limit depth
wget -r -l 2 https://example.com
# -l = level (max depth: 2)Check installation:
# Check wget
which wget
# Install if missing
sudo pacman -S wgetThis guide covered wget usage, file downloads, and recursive downloads for Arch Linux, CachyOS, and other distributions.
- curl Guide - HTTP requests
- wget and curl Guide - Combined guide
- Network Utilities - Network tools
-
wget Documentation:
man wget
This guide covers Arch Linux, CachyOS, and other Linux distributions. For distribution-specific details, refer to your distribution's documentation.