Questions tagged [wget]
GNU Wget (or just wget) is a command line-based program for downloading content from the Internet using HTTP, HTTPS and FTP.
492
questions
-2
votes
0
answers
40
views
How do I pass cookies file to wget command?
How do I provide a username and password to wget?
I was reading this question. The problem is that I don't have log in credentials. I logged in via google account. So, how do I provide user and pass?
0
votes
1
answer
24
views
Unable to find wget working directory
hello im trying to find wget working directory and when i use this command
wget -P
or
Wget --directory-prefix
and i get this as an answer:
Wget: option requires an argument -- 'P'
Usage: wget [...
1
vote
0
answers
40
views
NVM not start downloading, fails download after sometimes
recently i have installed Ubuntu 20.04.6 LTS x86_64
when i hit the command curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash it does not start downloading, it just ...
0
votes
0
answers
158
views
`wget -U` and `curl -A` both receives 403 forbidden response
I have tried both curl -A and wget -U and both receive 403 forbidden response. The agent I use is 'Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.27 Safari/537....
1
vote
1
answer
187
views
Wget always downloading index.html?
I am using the following command:
wget -r -p --page-requisites robots=off -U mozilla https://opig.stats.ox.ac.uk/webapps/sabdab-sabpred/sabdab/archive/all/
to download a file called all_structures.zip,...
0
votes
0
answers
90
views
Warning: apt-key is deprecated, when installing Microsoft Edge
To install Microsoft Edge, the suggestion is to:
wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add -
however, this is now deprecated. So the suggestion is to now use ...
0
votes
0
answers
91
views
Ubuntu server 20.04 temporary failure in name resolution
I have installed ubuntu server 20.04 in VirtualBox and setup static ip address. now I am trying to install golang but shows this
"Resolving go.dev(godev)...failed:temporary failure in name ...
0
votes
1
answer
421
views
Wget very slow on Ubuntu Server 22.04
I have been using Ubuntu for about 2 years now, both Desktop and Ubuntu Server. Recently I had a little upgrade to my server (Tesla k80 and a new motherboard + CPU). Now I have run into the following ...
1
vote
1
answer
167
views
Is there a method to download all files of a ppa?
Is there a method to download all files of a ppa from launchpad.net to the local drive?. (To make a backup of an abandoned project)
I have tried it with:
wget --recursive --no-parent https://launchpad....
2
votes
3
answers
9k
views
how do I fix youtube-dl: running it gives error message about incorrect syntax
I recently installed 22.04 completely from scratch. Just now I followed instructions to install youtube-dl, with wget (from github.com):
sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/...
0
votes
0
answers
255
views
using java in UBUNTU
I have been trying to use this code in UBUNTU :
wget https://snpeff.blob.core.windows.net/versions/snpEff_latest_core.z
unzip snpEff_latest_core.zip
java -Xmx8g -jar snpEff.jar GRCh37.75 data_1.vcf &...
1
vote
1
answer
2k
views
wget using git credentials
How do I run wget or curl to download a single file from a Git repository which is already authenticated in Git?
It seems that I need to pass a private key or a public key, but I am already ...
0
votes
0
answers
863
views
winHQ on Ubuntu 22.04 issues: "304 Not Modified"
I need to install wineHQ on Ubuntu 22.04 and later on GrapeJuice. Here the lines of code I need for such installation.
My problem is that, despite I have an almost pristine system, attending the video,...
0
votes
1
answer
5k
views
wget unable to resolve host address
wget http:www.google.be
resolving http (http)...failed:Temporary failure in name resolution.
wget: unable to resolve host address 'http'
Question:
What can be the issue/solution?
0
votes
1
answer
200
views
Anydesk installation by bash script using wget
I'm trying to write a bash script for automating the installation of anydesk by wget with the help of th following code:
echo -e "[ - ] Installing AnyDesk..."
wget --max-redirect 1 --trust-...
-1
votes
1
answer
157
views
Connection times out for wget and npm and so on
I just installed a Ubuntu 22.04 on my computer. It has not worked very good so far. For some reason it is very slow with installing packages and commands like:
wget http://google.com times out all the ...
0
votes
0
answers
370
views
sudo wget returns OpenSSL error when trying to install Wine, meanwhile wget does not work due to permission denied
Screenshot of what happened
(base) josaphat@josaphat-GS66-Stealth-10SGS:~$ sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
--2022-10-29 12:46:53-- https:...
0
votes
0
answers
247
views
wget works without sudo, but when using with sudo returns an OpenSSL error
Screenshot of what happens:
I've been trying to search for the error online, but none seems to work
(base) sudo wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
[sudo] ...
0
votes
0
answers
817
views
apt-key add with wget not working
I am trying to make an openVpn from How to Install OpenVPN on Ubuntu.
I have 2 unbuntu servers which I connect to them with putty from windows. both servers are ubuntu-20.04-x86_64. after executing ...
1
vote
0
answers
915
views
Static IPv6 setup with netplan
After running in to upgrade issues (not able to retrieve https://changelogs.ubuntu.com/meta-release-lts) I found out that my static IPv6 setup caused this issue.
However I'm stumped as how to fix it.
...
-2
votes
1
answer
2k
views
Wget - Unable to locally verify the issuer's authority on Ubuntu 18
I have some tar.gz and zip files on my website. The website is hosted on aws (ubuntu 18). But Users can't download them using wget. It is giving this error while running :-
wget https://example.com/...
0
votes
0
answers
716
views
How to wget a zip file from box?
I am trying to use wget to download this publicly shared zip file from box https://imperialcollegelondon.app.box.com/s/71ki6qw8hjr3olyzmy05lye6le1bqyk5
It comes from this repository https://github.com/...
0
votes
0
answers
862
views
Download, unzip and run a file from GitHub
I'm absolutely new to Linux and I would like to know how could I download through the command line a .zip file from GitHub releases e.g. https://github.com/username/repo/releases/download/ver/file.zip
...
0
votes
0
answers
753
views
Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied) docker container
when I want to install wget in docker container like this:
exec kubectl exec -i -t -n reddwarf-storage reddwarf-postgresql-postgresql-0 -c reddwarf-postgresql -- sh -c "clear; (bash || ash || sh)&...
0
votes
0
answers
118
views
"yes" command with finite number of "yes" answers
The yes command in linux is used to provide automatic "yes" answers to command prompts in linux:
yes | wget https://example.com
The issue is that, after execution of wget command the yes ...
0
votes
0
answers
329
views
Error message during Google-Chrome install.: Malformed entry 1 in list file /etc/apt/sources.list.d/google-chrome.list ([option] not assignment) [duplicate]
Ubuntu 22.04
Hi,
I found one other entry to this problem, but it doesn't appear to apply exactly.
I'm no wizard, I'm not even able to clean the apprentice's boots, so all suggestions are a foreign ...
0
votes
1
answer
131
views
Terminal cannot find commands, and downloads (wget) not working [duplicate]
I think I've damaged my Ubuntu installation, as now it is not recognising some terminal commands such as ufw/glances (which are already installed). The result is as follows.
-bash: ufw: command not ...
0
votes
0
answers
2k
views
Cant able to use wget or curl in ubuntu 20.04.4
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
--2022-07-06 09:24:21-- https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
Resolving repo.anaconda.com (...
-1
votes
1
answer
1k
views
wget connection stuck - log file location? [closed]
A client of mine could not download anything via WGET from any website. He didn't get any error messages in the terminal. The connection simply remained in the "connecting" status. It did ...
0
votes
1
answer
152
views
IPv6 DNS Problem with archive.ubuntu.com
Since a couple of weeks my mirror sync doesn't work as expected. I think that I identified the problem now. On my server the address archive.ubuntu.com resolves to a couple of IPv6 addresses and at ...
-1
votes
2
answers
432
views
How to roll back or uninstall a script ran from wget piped to bash?
I piped the following script to bash using wget with the intention of installing a theme for bash.
wget -O - https://teejeetech.com/scripts/jammy/tweak_terminal | bash
Now I cannot find a way to roll ...
0
votes
0
answers
183
views
How to execute a command on a single file in a directory whilst looping though the directories recursively
I have the following structure
/ Cardio
/../ High
/../ High / download.txt
/../ Low
/../ Low / download.txt
/../ Medium
/../ Medium / download.txt
/ Warm
/ Warm / download.txt
/ Cool
/ Cool / download....
1
vote
0
answers
615
views
wget a file stored on local host from within wsl2 ubuntu hosted on the same machine
Why I do this:
I'm building a docker image from dockerfile which specifies several large files to be wget-ed from various locations, problem is, bad network.
Now I've managed to get all the required ...
0
votes
0
answers
1k
views
how to fix download works on browser but on wget doesn't work?
so I wanted to download a video when I get the link and paste it into the browser it pops up a download notice and start downloading and when I try the same link on wget it dosn't work.
Keep in mind i'...
0
votes
1
answer
57
views
When downloading a file, why are modern browsers "unfair" when compared to wget? [closed]
Why do modern web-browsers behave unfair compared to a regular download using “wget”?
I'm aware the question is fairly vague (I took it from a recent exam in my networking course), and I could not ...
0
votes
1
answer
88
views
Own PEM file in initramfs
I am currently tinkering with the subiquity installer.
I would like to load the iso from a local https address
However the intitramfs keeps saying:
wget: error getting response: connection reset by ...
1
vote
0
answers
916
views
Installation of intermediate certificate not working for command line tools
TL;DR: No description on how to install a intermediate certificate works under Ubuntu 18.04. Any suggestions?
Before marking this as a duplicate of How do I install a root certificate?
or any other ...
0
votes
1
answer
57
views
wget download file to inurl directory
Is there any way to download file to inurl directory.
For example:
Here the url is https://url.com/api/discovery/manifest
I want the download structure be like
root_folder
- api
-- discovery
---- ...
0
votes
1
answer
1k
views
How do I use wget to download from this website?
I am trying to download the dataset from this website https://motion-database.humanoids.kit.edu/list/motions/ but the website only allows me to download the folders one at a time by clicking on the ...
2
votes
0
answers
3k
views
Cannot verify Lets encrypt certificate Ubuntu 20.04 LTS
I'm running Ubuntu 20.04.3 LTS \n \l which is updated as of today. However, any time I try and wget something, this error pops up:
# wget --verbose wops.cc
URL transformed to HTTPS due to an HSTS ...
-1
votes
1
answer
1k
views
wget to download files from list of urls and naming it from other list of names
I Have two text files - one of them contains urls of images that I want to download and other text file has the list of names corresponding to the urls of first files.
Example content of text file 1:
...
0
votes
2
answers
569
views
Can a virus be installed just by downloading a file?
Let´s assume that I programmatically download a malicious file, e.g. using wget, and try to import in e.g. R or Python as a text file. If it fails, I delete it using rm. There is any chance that my ...
1
vote
1
answer
532
views
How to always get the latest version of Bleachbit with wget in bash?
To get latest version of BleachBit (for Ubuntu 20.04) we can use the following commands:
wget -c https://download.bleachbit.org/bleachbit_4.4.0-0_all_ubuntu2004.deb -O bleachbit.deb
dpkg -i bleachbit....
0
votes
1
answer
239
views
How to create a list using the wget utility?
I need to use the wget utility correctly. I want to download content from certain links into one file and so that the result is saved in a list, and not in one row (that is, in one line)
For example, ...
-1
votes
1
answer
197
views
How can I set wget to download only newer file in a specific url?
How do I get wget to download only newest file version in a url?
Sample url:
https://packages.microsoft.com/repos/edge/pool/main/m/microsoft-edge-stable/
As you can see, there are multiple versions of ...
1
vote
0
answers
568
views
MongoDb CLI install not working on Ubuntu 20.04 focal, behind a proxy [duplicate]
I am trying to install MongoDb CLI (https://docs.mongodb.com/mongocli/master/install/). I begin by running wget --no-check-certificate -qO - https://www.mongodb.org/static/pgp/server-5.0.asc | sudo ...
10
votes
1
answer
5k
views
Purpose of .wget-hsts file in Ubuntu
There is a file in my home folder named .wget-hsts. Does this file send my data to anywhere? The file content is as follows:
# HSTS 1.0 Known Hosts database for GNU Wget.
# Edit at your own risk.
# &...
-1
votes
1
answer
454
views
wget can't find url inside local file
I have an html file.
page.html:
<html>
<body>
<img src="picture.png">
</body>
</html>
But when i run wget as follows, it doesn't fetch the picture. ...
0
votes
1
answer
540
views
Download FTP directory and files in remote Ubuntu server via SSH
I want to download the files listed in a FTP directory, ftp://ftp.ivc.polytech.univ-nantes.fr/NAMA3DS1_COSPAD1/Avi_videos/HRC_00_Reference/. On my WINDOWS laptop when I put this link in the address ...
5
votes
2
answers
3k
views
CA Certificates Not Recognized
I've been trying to get CA Certs installed because I'm getting errors when trying to use rosdep init which makes calls to "raw.githubusercontent.com". If I do the same call with wget I'll ...