How to install wget

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
butiflauta
Level 2
Level 2
Posts: 86
Joined: Sat Jan 16, 2016 11:23 am

How to install wget

Post by butiflauta » Sat Jul 27, 2019 11:05 am

Hi, I would like to install wget on my Linux Mint 19.1 but I can't. I try following the instructions on https://www.gnu.org/software/wget/faq.html#download which is

Code: Select all

$ gunzip < wget-1.12.tar.gz | tar -xv
$ cd wget-1.12
$ ./configure
$ make
# make install
on the ./configure appears:

Code: Select all

configure: configuring for GNU Wget 1.20.3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking whether make supports nested variables... (cached) yes
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/home/albert/wget-1.20.3':
configure: error: C compiler cannot create executables
See `config.log' for more details
I'm not an expert and I have no idea of compiling. Anybody can help me to install?

ajgringo619
Level 6
Level 6
Posts: 1479
Joined: Thu Mar 01, 2018 8:36 pm
Location: San Diego, California, USA

Re: How to install wget

Post by ajgringo619 » Sat Jul 27, 2019 11:08 am

No need to compile anything: sudo apt install wget
Mint 19.2 XFCE
kernel 4.15.0-72-generic
AMD FX-8350 Eight-Core w/16 GB RAM
Nvidia GeForce 960 w/2GB RAM (440.36)
Image

butiflauta
Level 2
Level 2
Posts: 86
Joined: Sat Jan 16, 2016 11:23 am

Re: How to install wget

Post by butiflauta » Sat Jul 27, 2019 11:29 am

Wow, thank you

Post Reply

Return to “Software & Applications”