I read the documentation of wget but did not understand how to download the package.Is there any way (command) to download the package using the terminal on Ubuntu inside a Docker container?
Asked
Active
Viewed 8.2k times
25
-
5There is nothing to "download" ... `wget` is already installed ... it is included in all Ubuntu systems. :) – cl-netbox Feb 15 '17 at 16:31
-
Did you try using it? – George Udosen Feb 15 '17 at 16:32
-
No it isn't there(/usr/bin) in my ubuntu system. – Boyka Feb 15 '17 at 16:37
-
What flavour of Ubuntu did you install? – muru Feb 17 '17 at 14:17
-
4This is relevant to docker – Isaac Oct 15 '17 at 22:32
-
3Highly relevant to Docker; agreed with Isaac. `wget` is **not** installed in `ubuntu:latest`. Voting to reopen (or I would if I had enough reputation). – Dan Nissenbaum Nov 04 '17 at 09:40
-
See https://stackoverflow.com/questions/28885137/how-to-run-wget-inside-ubuntu-docker-image – Jimbo May 27 '18 at 21:36
1 Answers
39
Please just run this from the terminal if its not there for some reason:
sudo apt install wget
Or:
sudo apt-get install wget
Eliah Kagan
- 116,445
- 54
- 318
- 493
George Udosen
- 35,970
- 13
- 99
- 121