MINGW64 bash: wget: command not found
I am using git with MINGW64(install by git) on windows.
MINGW64 is great, but lack of some command which rarely use on windows.
Today, I just have a whim to figure out how to use wget in it.
I found this mingw-w64/wiki2/MSYS, it says The all-in-one package on the MinGW-w64 download page
. all-in-one? uh-huh, but I don't see there is anyway to install wget command...
And this wiki for mingw32, it has a package manger which can install wget.
I just want something like oneclick install, or visual manager interface(for idiot) to install some command, without complex configuration(complexity make life hard when setup a new dev machine...).
windows command-line mingw
add a comment |
I am using git with MINGW64(install by git) on windows.
MINGW64 is great, but lack of some command which rarely use on windows.
Today, I just have a whim to figure out how to use wget in it.
I found this mingw-w64/wiki2/MSYS, it says The all-in-one package on the MinGW-w64 download page
. all-in-one? uh-huh, but I don't see there is anyway to install wget command...
And this wiki for mingw32, it has a package manger which can install wget.
I just want something like oneclick install, or visual manager interface(for idiot) to install some command, without complex configuration(complexity make life hard when setup a new dev machine...).
windows command-line mingw
1
mingw-w64.org/doku.php/download: includeswget
in the Windows download.
– DavidPostill♦
May 11 '16 at 13:38
1
@DavidPostill But I want to use MINGW64 in git-bash, I can't figure out how to add wget to it.Install another MINGW64 would mess up enviroment I think.
– Mithril
May 12 '16 at 0:55
Just use Cygwin. It has everything you need all from one place ;)
– DavidPostill♦
May 12 '16 at 7:34
add a comment |
I am using git with MINGW64(install by git) on windows.
MINGW64 is great, but lack of some command which rarely use on windows.
Today, I just have a whim to figure out how to use wget in it.
I found this mingw-w64/wiki2/MSYS, it says The all-in-one package on the MinGW-w64 download page
. all-in-one? uh-huh, but I don't see there is anyway to install wget command...
And this wiki for mingw32, it has a package manger which can install wget.
I just want something like oneclick install, or visual manager interface(for idiot) to install some command, without complex configuration(complexity make life hard when setup a new dev machine...).
windows command-line mingw
I am using git with MINGW64(install by git) on windows.
MINGW64 is great, but lack of some command which rarely use on windows.
Today, I just have a whim to figure out how to use wget in it.
I found this mingw-w64/wiki2/MSYS, it says The all-in-one package on the MinGW-w64 download page
. all-in-one? uh-huh, but I don't see there is anyway to install wget command...
And this wiki for mingw32, it has a package manger which can install wget.
I just want something like oneclick install, or visual manager interface(for idiot) to install some command, without complex configuration(complexity make life hard when setup a new dev machine...).
windows command-line mingw
windows command-line mingw
edited May 11 '16 at 3:33
Mithril
asked May 11 '16 at 3:27
MithrilMithril
416617
416617
1
mingw-w64.org/doku.php/download: includeswget
in the Windows download.
– DavidPostill♦
May 11 '16 at 13:38
1
@DavidPostill But I want to use MINGW64 in git-bash, I can't figure out how to add wget to it.Install another MINGW64 would mess up enviroment I think.
– Mithril
May 12 '16 at 0:55
Just use Cygwin. It has everything you need all from one place ;)
– DavidPostill♦
May 12 '16 at 7:34
add a comment |
1
mingw-w64.org/doku.php/download: includeswget
in the Windows download.
– DavidPostill♦
May 11 '16 at 13:38
1
@DavidPostill But I want to use MINGW64 in git-bash, I can't figure out how to add wget to it.Install another MINGW64 would mess up enviroment I think.
– Mithril
May 12 '16 at 0:55
Just use Cygwin. It has everything you need all from one place ;)
– DavidPostill♦
May 12 '16 at 7:34
1
1
mingw-w64.org/doku.php/download: includes
wget
in the Windows download.– DavidPostill♦
May 11 '16 at 13:38
mingw-w64.org/doku.php/download: includes
wget
in the Windows download.– DavidPostill♦
May 11 '16 at 13:38
1
1
@DavidPostill But I want to use MINGW64 in git-bash, I can't figure out how to add wget to it.Install another MINGW64 would mess up enviroment I think.
– Mithril
May 12 '16 at 0:55
@DavidPostill But I want to use MINGW64 in git-bash, I can't figure out how to add wget to it.Install another MINGW64 would mess up enviroment I think.
– Mithril
May 12 '16 at 0:55
Just use Cygwin. It has everything you need all from one place ;)
– DavidPostill♦
May 12 '16 at 7:34
Just use Cygwin. It has everything you need all from one place ;)
– DavidPostill♦
May 12 '16 at 7:34
add a comment |
2 Answers
2
active
oldest
votes
This will be helpfull article.
https://gist.github.com/evanwill/0207876c3243bbb6863e65ec5dc3f058
The basic idea is that C:Program FilesGitmingw64 is your / directory according to Git Bash (note: depending on how you installed it, the directory might be different. from the start menu, right click on the Git Bash icon and open file location. It might be something like C:UsersnameAppDataLocalProgramsGit, the mingw64 in this directory is your root). If you go to that directory, you will find the typical linux root folder structure (bin, etc, lib and so on). If you are missing a utility, such as wget, track down a binary for windows and copy the files to the corrisponding directories. Sometimes the windows binary have funny prefixes, so you should rename the exe file to the standard name. Since bin is on the PATH, it will be automatically available to Git Bash.
It isn't easy. You have to find, download and copy to any global directory tools compiled for Windows environment (*.exe files like wget.exe) You can copy them to C:Program FilesGitmingw64bin or any other directory listed in your system or user PATH variable to have global acccess to these files.
1
Please quote the essential parts of the answer from the reference link(s), as the answer can become invalid if the linked page(s) change.
– DavidPostill♦
Nov 16 '16 at 23:04
add a comment |
Download the wget.exe file from your source, ie eternallybored
Then you downlaod and extract the Zip to a folder, in my case I keep all my resources in c:Tools so I extracted it to C:Toolswget and then you should create a user variable for the exe.
So open start menu and search variables, open the link for "Edit System Environment Variables" and add a new user variable (I called it "WGET_HOME" and its value the directory "C:Toolswget" ).
Finally select the "PATH" variable and append to the list follwoing a ";" "%WGET_HOME%" and OK your way back.
Then after closing all open MinGW you will be able to use wget.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1075437%2fmingw64-bash-wget-command-not-found%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
This will be helpfull article.
https://gist.github.com/evanwill/0207876c3243bbb6863e65ec5dc3f058
The basic idea is that C:Program FilesGitmingw64 is your / directory according to Git Bash (note: depending on how you installed it, the directory might be different. from the start menu, right click on the Git Bash icon and open file location. It might be something like C:UsersnameAppDataLocalProgramsGit, the mingw64 in this directory is your root). If you go to that directory, you will find the typical linux root folder structure (bin, etc, lib and so on). If you are missing a utility, such as wget, track down a binary for windows and copy the files to the corrisponding directories. Sometimes the windows binary have funny prefixes, so you should rename the exe file to the standard name. Since bin is on the PATH, it will be automatically available to Git Bash.
It isn't easy. You have to find, download and copy to any global directory tools compiled for Windows environment (*.exe files like wget.exe) You can copy them to C:Program FilesGitmingw64bin or any other directory listed in your system or user PATH variable to have global acccess to these files.
1
Please quote the essential parts of the answer from the reference link(s), as the answer can become invalid if the linked page(s) change.
– DavidPostill♦
Nov 16 '16 at 23:04
add a comment |
This will be helpfull article.
https://gist.github.com/evanwill/0207876c3243bbb6863e65ec5dc3f058
The basic idea is that C:Program FilesGitmingw64 is your / directory according to Git Bash (note: depending on how you installed it, the directory might be different. from the start menu, right click on the Git Bash icon and open file location. It might be something like C:UsersnameAppDataLocalProgramsGit, the mingw64 in this directory is your root). If you go to that directory, you will find the typical linux root folder structure (bin, etc, lib and so on). If you are missing a utility, such as wget, track down a binary for windows and copy the files to the corrisponding directories. Sometimes the windows binary have funny prefixes, so you should rename the exe file to the standard name. Since bin is on the PATH, it will be automatically available to Git Bash.
It isn't easy. You have to find, download and copy to any global directory tools compiled for Windows environment (*.exe files like wget.exe) You can copy them to C:Program FilesGitmingw64bin or any other directory listed in your system or user PATH variable to have global acccess to these files.
1
Please quote the essential parts of the answer from the reference link(s), as the answer can become invalid if the linked page(s) change.
– DavidPostill♦
Nov 16 '16 at 23:04
add a comment |
This will be helpfull article.
https://gist.github.com/evanwill/0207876c3243bbb6863e65ec5dc3f058
The basic idea is that C:Program FilesGitmingw64 is your / directory according to Git Bash (note: depending on how you installed it, the directory might be different. from the start menu, right click on the Git Bash icon and open file location. It might be something like C:UsersnameAppDataLocalProgramsGit, the mingw64 in this directory is your root). If you go to that directory, you will find the typical linux root folder structure (bin, etc, lib and so on). If you are missing a utility, such as wget, track down a binary for windows and copy the files to the corrisponding directories. Sometimes the windows binary have funny prefixes, so you should rename the exe file to the standard name. Since bin is on the PATH, it will be automatically available to Git Bash.
It isn't easy. You have to find, download and copy to any global directory tools compiled for Windows environment (*.exe files like wget.exe) You can copy them to C:Program FilesGitmingw64bin or any other directory listed in your system or user PATH variable to have global acccess to these files.
This will be helpfull article.
https://gist.github.com/evanwill/0207876c3243bbb6863e65ec5dc3f058
The basic idea is that C:Program FilesGitmingw64 is your / directory according to Git Bash (note: depending on how you installed it, the directory might be different. from the start menu, right click on the Git Bash icon and open file location. It might be something like C:UsersnameAppDataLocalProgramsGit, the mingw64 in this directory is your root). If you go to that directory, you will find the typical linux root folder structure (bin, etc, lib and so on). If you are missing a utility, such as wget, track down a binary for windows and copy the files to the corrisponding directories. Sometimes the windows binary have funny prefixes, so you should rename the exe file to the standard name. Since bin is on the PATH, it will be automatically available to Git Bash.
It isn't easy. You have to find, download and copy to any global directory tools compiled for Windows environment (*.exe files like wget.exe) You can copy them to C:Program FilesGitmingw64bin or any other directory listed in your system or user PATH variable to have global acccess to these files.
edited Nov 18 '16 at 6:15
MJH
1,02741018
1,02741018
answered Nov 16 '16 at 22:26
Arek KostrzebaArek Kostrzeba
15114
15114
1
Please quote the essential parts of the answer from the reference link(s), as the answer can become invalid if the linked page(s) change.
– DavidPostill♦
Nov 16 '16 at 23:04
add a comment |
1
Please quote the essential parts of the answer from the reference link(s), as the answer can become invalid if the linked page(s) change.
– DavidPostill♦
Nov 16 '16 at 23:04
1
1
Please quote the essential parts of the answer from the reference link(s), as the answer can become invalid if the linked page(s) change.
– DavidPostill♦
Nov 16 '16 at 23:04
Please quote the essential parts of the answer from the reference link(s), as the answer can become invalid if the linked page(s) change.
– DavidPostill♦
Nov 16 '16 at 23:04
add a comment |
Download the wget.exe file from your source, ie eternallybored
Then you downlaod and extract the Zip to a folder, in my case I keep all my resources in c:Tools so I extracted it to C:Toolswget and then you should create a user variable for the exe.
So open start menu and search variables, open the link for "Edit System Environment Variables" and add a new user variable (I called it "WGET_HOME" and its value the directory "C:Toolswget" ).
Finally select the "PATH" variable and append to the list follwoing a ";" "%WGET_HOME%" and OK your way back.
Then after closing all open MinGW you will be able to use wget.
add a comment |
Download the wget.exe file from your source, ie eternallybored
Then you downlaod and extract the Zip to a folder, in my case I keep all my resources in c:Tools so I extracted it to C:Toolswget and then you should create a user variable for the exe.
So open start menu and search variables, open the link for "Edit System Environment Variables" and add a new user variable (I called it "WGET_HOME" and its value the directory "C:Toolswget" ).
Finally select the "PATH" variable and append to the list follwoing a ";" "%WGET_HOME%" and OK your way back.
Then after closing all open MinGW you will be able to use wget.
add a comment |
Download the wget.exe file from your source, ie eternallybored
Then you downlaod and extract the Zip to a folder, in my case I keep all my resources in c:Tools so I extracted it to C:Toolswget and then you should create a user variable for the exe.
So open start menu and search variables, open the link for "Edit System Environment Variables" and add a new user variable (I called it "WGET_HOME" and its value the directory "C:Toolswget" ).
Finally select the "PATH" variable and append to the list follwoing a ";" "%WGET_HOME%" and OK your way back.
Then after closing all open MinGW you will be able to use wget.
Download the wget.exe file from your source, ie eternallybored
Then you downlaod and extract the Zip to a folder, in my case I keep all my resources in c:Tools so I extracted it to C:Toolswget and then you should create a user variable for the exe.
So open start menu and search variables, open the link for "Edit System Environment Variables" and add a new user variable (I called it "WGET_HOME" and its value the directory "C:Toolswget" ).
Finally select the "PATH" variable and append to the list follwoing a ";" "%WGET_HOME%" and OK your way back.
Then after closing all open MinGW you will be able to use wget.
answered Feb 13 at 10:09
daniel martinezdaniel martinez
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1075437%2fmingw64-bash-wget-command-not-found%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
mingw-w64.org/doku.php/download: includes
wget
in the Windows download.– DavidPostill♦
May 11 '16 at 13:38
1
@DavidPostill But I want to use MINGW64 in git-bash, I can't figure out how to add wget to it.Install another MINGW64 would mess up enviroment I think.
– Mithril
May 12 '16 at 0:55
Just use Cygwin. It has everything you need all from one place ;)
– DavidPostill♦
May 12 '16 at 7:34