<\/span><\/h2>\n\n\n\nWget is, by default, included in the Ubuntu 22.04 repository. To install the wget software tool execute the following command:<\/p>\n\n\n\n
sudo apt-get install wget<\/pre>\n\n\n\nAfter installation, you can check the installed wget version with the command below:<\/p>\n\n\n\n
wget --version<\/pre>\n\n\n\nYou should receive output with the Wget version and some info about wget:<\/p>\n\n\n\n
root@host:~# wget --version\nGNU Wget 1.21.2 built on linux-gnu.\n\n-cares +digest -gpgme +https +ipv6 +iri +large-file -metalink +nls\n+ntlm +opie +psl +ssl\/openssl\n\nWgetrc:\n \/etc\/wgetrc (system)\nLocale:\n \/usr\/share\/locale\nCompile:\n gcc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"\/etc\/wgetrc\"\n -DLOCALEDIR=\"\/usr\/share\/locale\" -I. -I..\/..\/src -I..\/lib\n -I..\/..\/lib -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_LIBSSL -DNDEBUG\n -g -O2 -ffile-prefix-map=\/build\/wget-8g5eYO\/wget-1.21.2=.\n -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects\n -fstack-protector-strong -Wformat -Werror=format-security\n -DNO_SSLv2 -D_FILE_OFFSET_BITS=64 -g -Wall\nLink:\n gcc -DHAVE_LIBSSL -DNDEBUG -g -O2\n -ffile-prefix-map=\/build\/wget-8g5eYO\/wget-1.21.2=. -flto=auto\n -ffat-lto-objects -flto=auto -ffat-lto-objects\n -fstack-protector-strong -Wformat -Werror=format-security\n -DNO_SSLv2 -D_FILE_OFFSET_BITS=64 -g -Wall -Wl,-Bsymbolic-functions\n -flto=auto -ffat-lto-objects -flto=auto -Wl,-z,relro -Wl,-z,now\n -lpcre2-8 -luuid -lidn2 -lssl -lcrypto -lz -lpsl ftp-opie.o\n openssl.o http-ntlm.o ..\/lib\/libgnu.a\n\nCopyright (C) 2015 Free Software Foundation, Inc.\nLicense GPLv3+: GNU GPL version 3 or later\n.\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law.\n\nOriginally written by Hrvoje Niksic .\nPlease send bug reports and questions to .\n<\/pre>\n\n\n\n