To use the draft APIs, you may build czmq with draft feature: vcpkg install czmq This will build czmq with libcurl, libmicrohttpd, lz4, as a 64-bit shared library. You may also build czmq with one or more optional libraries: vcpkg.exe install czmq:圆4-windows This will build czmq as a 64-bit static library. This will build czmq as a 32-bit shared library. If you are already using vcpkg, you can download and install czmq with one single command: vcpkg.exe install czmq On macOS install czmq with Homebrew see here. You can also get prebuild binaries for latest git master for most distros on openSUSE’s Build Service: Invoke-WebRequest -uri $DownloadUrl -OutFile $SaveToīoth scripts are basically the same thing, where one uses just one line with no variables, and the second one stores the parameters into variables such that editing the script lateron is easier, especially if this becomes part of a large script, then you can move the variables to the top of your script so you only need to search there in case you ever need to alter it.Deb packages are available for Debian and Ubuntu.įor other distros please refer to. If you want to make it a bit more fancy, you could write the script as follows: The oneliner script would be: Invoke-WebRequest -uri "" -OutFile "$env:userprofile\Downloads\ChromeSetup.exe" Powershell can do it with just one line of code (or more if you want to go fancy here.īecause I don't know the url of the file you want to download, I'll use Chrome as example, and save the file to the download folder in your user profile. In any case, Powershell is going to help a lot here. We're missing a bit of information in this post to construct a proper answer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |