Is there an OpenSSL for windows? - windows

I'm trying to generate OpenSSL certificates on Windows OS. But I find most of the commands related to OpenSSL are for *nix OS.
Is there an OpenSSL for Windows OS? If yes, from where can I get it? Is this official OpenSSL build for Windows?

Search openssl shining light production in google and download from the first link

Yes. You can do one of two things:
1) Build it yourself
You'll need a build environment (either Visual Studio or msys2 based), and a few other pre-requisites. Download the source from here:
https://www.openssl.org/source/
And (assuming you downloaded the 1.1.0 version), read the INSTALL notes here:
https://github.com/openssl/openssl/blob/OpenSSL_1_1_0-stable/INSTALL
There are also some Windows specific notes here:
https://github.com/openssl/openssl/blob/OpenSSL_1_1_0-stable/NOTES.WIN
2) Download a pre-compiled version
The OpenSSL project doesn't distribute pre-compiled binaries, but they do maintain a list of third-party provided binaries. The list is here:
https://wiki.openssl.org/index.php/Binaries

If you're using Chocolatey, you can also install with
choco install openssl
More details in here and for me it also installed some other stuff, like VC Redist:
Installed:
- kb2919355 v1.0.20160915
- kb3033929 v1.0.5
- kb2999226 v1.0.20181019
- openssl v1.1.1.1900
- vcredist2015 v14.0.24215.20170201
- kb2919442 v1.0.20160915
- vcredist140 v14.34.31931
- kb3035131 v1.0.3
- chocolatey-windowsupdate.extension v1.0.5
Packages requiring reboot:
- vcredist140 (exit code 3010)
This was done on Windows 10.

Both Cygwin and MSYS distribute pre-compiled openssl binaries, which I use everyday.
If you don't like a *nix like style, please refer this official page for standalone distrbutions.
https://wiki.openssl.org/index.php/Binaries
Disclaim: I have not tested the software listed on the page.

I am using this version https://slproweb.com/products/Win32OpenSSL.html and install it with
Essentials
winget install -e ShiningLight.OpenSSL.Light
Full
winget install -e ShiningLight.OpenSSL

Related

Dotnet list-sdks does not list the installed SDKs

I am on Mac and the new .NET 5.0 just got released. I have installed it with dotnet-install.sh
dotnet-install.sh --version 5.0.100
dotnet-install: Note that the intended use of this script is for Continuous Integration (CI) scenarios, where:
dotnet-install: - The SDK needs to be installed without user interaction and without admin rights.
dotnet-install: - The SDK installation doesn't need to persist across multiple CI runs.
dotnet-install: To set up a development environment or to run apps, use installers rather than this script. Visit https://dotnet.microsoft.com/download to get the installer.
dotnet-install: .NET Core SDK version 5.0.100 is already installed.
dotnet-install: Adding to current process PATH: `/Users/l1x/.dotnet`. Note: This change will be visible only when sourcing script.
dotnet-install: Note that the script does not resolve dependencies during installation.
dotnet-install: To check the list of dependencies, go to https://learn.microsoft.com/dotnet/core/install, select your operating system and check the "Dependencies" section.
dotnet-install: Installation finished successfully.
However I cannot see the installed SDK.
dotnet --list-sdks
2.2.402 [/usr/local/share/dotnet/sdk]
3.1.101 [/usr/local/share/dotnet/sdk]
What is the recommended way of installing .NET SDKs from the command line on Mac?
Installing the SDK with Brew solves this problem:
brew install --cask dotnet-sdk
==> Downloading https://download.visualstudio.microsoft.com/download/pr/3bdcd7d2-1444-4f7d-a254-504a994ffe39/e4f42b83604673f971748c722aa20bec/dotnet-sdk-5.0.100-osx-x64.pkg
Already downloaded: /Users/l1x/Library/Caches/Homebrew/downloads/29dc1169ad824e06e4077148811a2555d7aa0f27737f8c0ea8e5858044e67a8a--dotnet-sdk-5.0.100-osx-x64.pkg
==> Verifying SHA-256 checksum for Cask 'dotnet-sdk'.
==> Installing Cask dotnet-sdk
==> Running installer for dotnet-sdk; your password may be necessary.
==> Package installers may write to any location; options such as --appdir are ignored.
Password:
installer: Package name is Microsoft .NET SDK 5.0.100 (x64)
installer: Upgrading at base path /
installer: The upgrade was successful.
==> Purging files for version 5.0.100,3bdcd7d2-1444-4f7d-a254-504a994ffe39:e4f42b83604673f971748c722aa20bec of Cask dotnet-sdk
Error: It seems there is already a Binary at '/usr/local/bin/dotnet'.
The new SDK appears:
dotnet --list-sdks
2.2.402 [/usr/local/share/dotnet/sdk]
3.1.101 [/usr/local/share/dotnet/sdk]
5.0.100 [/usr/local/share/dotnet/sdk]

How to install YASM on Windows 10?

I need YASM software in Windows 10 in Microsoft visual 2015 could any one tell the steps for installing yasm.
I already uses the below link.
https://github.com/yasm/yasm/tree/master/Mkfiles
with the help of source code I am not able to install yasm i got lots of errors in it.
I read somewhere that Windows users are advised to install yasm via Chocolatey
First, you need to install chocolately and after that you just need to run the following command:
choco install yasm
So, You just need to run only two commands one for chocolately installation and another one for yasm. :)

How to get "WebKit for GTK+3 1.3.7" headers for ubuntu?

i'm trying to compile pidgin on ubuntu (mint 17, actually).
./configure says:
"You must have WebKit for GTK+3 1.3.7 or newer development headers"
but which ubuntu package contains this version?
i have several packages named "webkit" or "gtk", and i tried to locate and install other versions, but couldn't find it.
i downloaded the pidgin and webkit sources, but i don't know how to connect them.
(the pidgin support registration seems offline -> hence, here.)
I have a Debian system but perhaps you can do the same :)
First, see what you get with this command on a terminal:
aptitude search webkit |grep gtk
It will shows you all the packages you can install (or already installed) on your system, linking webkit and gtk.
Then you select the package you need : libwebkitgtk-3.0-dev in your case (on Debian)
Hope this helped, See you !
I don't know if this helps but checkout WebKitGTK+. Also this can help, do you have run
$ Tools/gtk/install-dependencies
or the other commands listed on the page?

First Setting up Phonegap on MacBook

I've bought my first ever MacBook having never used a Mac before and need to know how to set up pretty much the same tools or learn whatever the Mac version of these tools are, heres a guide I wrote for getting started with Phonegap on Windows, if I follow it as close as I can, will everything work?
• Download/ Install Node.JS
• Download/ Install GIT for windows
• Download/ Install Phonegap by opening NODE.JS command line and
typing: npm install -g phonegap
• Download/ Install Apache 2.4
• Download/ Install Apache Ant
• Add Variable name: ANT_HOME with filepath to User/ System variables
(e.g. C:\apache-ant-1.9.4 )
• Add %ANT_HOME%/bin to PATH under user variables
• Download/ Install JRE ( select applicable version number (if in
doubt then most recent))
• Download/ Install JDK (Select applicable version number (if in doubt
then most recent))
• Add Variable name: JAVA_HOME with filepath to User/ System variables
(e.g. C:\Program Files\Java\jdk1.7.0_60 )
• Add %JAVA_HOME%/bin to PATH under user variables
• Download / Extract Android SDK ( select "download for other
platforms" and select version to avoid downloading their bundle)
• Add Android SDK Tools folder eg: C:\android-sdk-windows\tools to the
PATH variable
• Add Android SDK Platform tools eg:
C:\android-sdk-windows\platform-tools to the PATH variable
Thankyou in advance for your help!
Lewis
The mac is build on a unix platform.
This means it comes with a lot of tools that are Linux like.
To install application on the mac you can use brew ( http://www.brew.sh ). Brew is a package management system similar to the ones from linux world (yum for RedHat or apt-get for Ubuntu).
To install brew run this command in the Terminal:
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
After you have brew installed on your machine, you can add your packages with:
brew install [packagename]
Your installation flow would look like this:
brew install node
brew install git
npm install -g phonegap
For apache and ant check the existing answers on stackoverflow.
To add environment variable on mac use the Terminal and edit your “.profile” or “.bash_profile”. There are detailed answear on stackoverflow regarding this subject.
Java will need to be installed from the Oracle website (download the .dmg file and execute it)
brew install android-sdk

How to install Poppler on Windows?

The most recent version of ScraperWiki depends on Poppler (or so the GitHub says). Unfortunately, it only specifies how to get it on macOS and Linux, not Windows.
A quick googling turned up nothing too promising. Does anyone know how to get Poppler on Windows for ScraperWiki?
Other answers have linked to the correct download page for Windows users but do not specify how to install them for the uninitiated.
Go to this page and download the binary of your choice. In this example we will download and use poppler-0.68.0_x86.
Extract the archive file poppler-0.68.0_x86.7z into C:\Program Files. Thus, the directory structure should look something like this:
C:
└ Program Files
└ poppler-0.68.0_x86
└ bin
└ include
└ lib
└ share
Add C:\Program Files\poppler-0.68.0_x86\bin to your system PATH by doing the following: Click on the Windows start button, search for Edit the system environment variables, click on Environment Variables..., under System variables, look for and double-click on PATH, click on New, then add C:\Users\Program Files\poppler-0.68.0_x86\bin, click OK.
If you are using a terminal to execute poppler (e.g. running pdf2image in command line), you may need to reopen your terminal for poppler to work.
Done!
Poppler Windows binaries are available from ftp://ftp.gnome.org/Public/GNOME/binaries/win32/dependencies/ -- but note that those aren't quite up-to-date.
If you're looking for Python (2.7) bindings (as this question's tag suggests), I requested them in the past via this bug report. A couple of people apparently managed to produce something, but I haven't checked those out yet.
As for a more recent (python bindings unrelated) poppler Windows binaries Google result, see http://blog.alivate.com.au/poppler-windows/
Finally, there's the brand-new (and currently very frequently updated) PyGObject all-in-one installer (mainly aiming to provide PyGObject-instrospected Gtk+3 Python bindings etc. for Windows), so if that's what you're looking for, go to http://sourceforge.net/projects/pygobjectwin32/files/?source=navbar
Download Poppler Packaged for Windows
https://github.com/oschwartz10612/poppler-windows/releases
I threw together a quick repo with the latest Poppler prebuilt-binaries packaged with dependencies for Windows. Built with the help of conda-forge and poppler-feedstock. Includes the latest poppler-data.
With anaconda installed on windows one can simply execute:
conda install -c conda-forge poppler
UPDATE 2
See the answer by Owen Schwartz.
UPDATE 1
Rumpel Stielzchen's comment:
This site is no longer maintained. Poppler version 0.68 is very
outdated today. You find the latest version compiled also for Windows
here: https://anaconda.org/conda-forge/poppler/files Sadly there is no
32 bit version, only 64 bit
… but this package contains no dependencies:
It seems that the Anaconda people have a tool to download a package
and all dependencies. And there is a file in the TAR package:
index.json which lists the package on which it depends. I downloaded
the dependencies one by one, and yes: It WAS a pain.
Original answer
Latest Poppler Windows binaries can be found here:
http://blog.alivate.com.au/poppler-windows/
Chocolatey
Poppler is available as Chocolatey package:
choco install poppler
By default Poppler is installed in C:\ProgramData\chocolatey\lib\poppler and shims are automatically created for the following tools: pdfdetach, pdffonts, pdfimages, pdfinfo, pdfseparate, pdftocairo, pdftohtml, pdftoppm, pdftops, pdftotext, pdfunite.
To update Poppler, run:
cup poppler
Scoop
Install from the main bucket:
scoop install poppler
By default Poppler is installed in ~\scoop\apps\poppler and shims are automatically created for the following tools: pdfdetach, pdffonts, pdfimages, pdfinfo, pdfseparate, pdftocairo, pdftohtml, pdftoppm, pdftops, pdftotext, pdfunite.
To update Poppler, run:
scoop update poppler
TeX Live
As mentioned in another answer, MiKTeX currently ships with Poppler tools, and so does another LaTeX distribution, TeX Live.
From the guide:
Command-line tools.
A number of Windows ports of common Unix command-line programs are installed along with the usual TeX Live binaries. These include gzip, zip, unzip, and the utilities from the poppler suite (pdfinfo, pdffonts, …)
Poppler suite is located by default in C:\texlive\<year>\bin\win32 and, if you can compile your LaTeX documents, should work out of the box since this location is added to the PATH by the installer.
To Simply install Poppler on Windows run through the below mentioned steps without touching the environmental varible.
Download the Latest Poppler Binary from the URL: http://blog.alivate.com.au/poppler-windows/index.html
Unzip it and copy the poppler-0.68.0_x86 folder in some path for ex, C:/User/Poppler/poppler-0.68.0_x86/poppler-0.68.0/bin
Now go to your Python code where you want to call Poppler for image conversion and use the below mentioned code snippet:
from pdf2image import convert_from_path
pages = convert_from_path('MyPdf.pdf', 500, poppler_path = r'C:\User\Poppler\poppler-0.68.0_x86\poppler-0.68.0\bin')
for page in pages:
page.save('out.jpg', 'JPEG')
You should consider using Windows Subsystem for Linux (WSL).
Enable WSL on Windows 10 (it will not work on S edition)
Install Ubuntu (latest version) on WSL from the Windows Store
Open Ubuntu command-line
In the Ubuntu Command-line, run the following commands:
sudo apt-get update
sudo apt-get upgrade
sudo apt install poppler-utils
pdftocairo -v - to check the installed version
You can then run pdftocairo (for example) in two ways:
Within the Ubuntu command-line: pdftocairo ...
Directly from Windows command-line: wsl pdftocairo...
NOTE: There is a default version of poppler for each release of Ubuntu. You will need to look up the instructions (there should be plenty on the internet), for how to install the latest version of poppler-utils on Ubuntu. This might involve quite a few steps, which will compile from the source code. For example, something like this https://askubuntu.com/a/722955. And then you might get a lot of problems.
The latest version of Ubuntu 19.04, can install Poppler 74. But Ubuntu 18.04 seems to be the latest version you can install for WSL for now, and that installs Poppler 62.
It looks like a version that is build-able with visual studio can be found here https://bitbucket.org/merarischroeder/poppler-for-windows/overview
Up to date binaries for Windows x64, Mac OSX-64, Linux-64bit can be found here
https://anaconda.org/conda-forge/poppler/files
Poppler version 0.84 is available at the link as of this writing which is very current.
The accepted answer and the link given by Alexey are no longer pointing to current versions of poppler
Update :
As of March 8, 2021 the best answer is by Owen Schwarz above https://stackoverflow.com/a/62615998/590388
Another option is that if you have installed MikTeX then poppler is included by default and is probably already in your PATH. In my case the binaries were installed under: C:\Program Files\MiKTeX 2.9\miktex\bin\x64
MSYS2 has the latest version available for install.
If you don't want to install the whole enviroment (or you wanted some kind of portable version) you could also just download Poppler straight from the repository, but then you'd also have to manually handle dependencies. Namely: libwinpthread, nspr, gcc-libs, nss, curl, brotli, openssl, libidn2, libiconv, gettext, libunistring, nghttp2, libpsl, libjpeg-turbo, lcms2, openjpeg2, libpng, zlib, libtiff, xz and zstd.
Install the Microsoft Visual C++ Build Tools
Install poppler through the Conda prompt conda:
conda install -c conda-forge poppler
please note: if you don't have anaconda installed, it can be downloaded from here,
https://docs.anaconda.com/anaconda/install/windows/
Installing Poppler on Windows
Go to https://github.com/oschwartz10612/poppler-windows/releases/
Under Release 21.11.0-0 Latest v21.11.0-0
Go to Assets 3 Download
Release-21.11.0-0.zip
Adding Poppler to path
Add Poppler installed to loaction : C:\Users\UserName\Downloads\Release-21.11.0-0.zip
Add C:\Users\UserName\Downloads\Release-21.11.0-0.zip to system variable path in Environment Variable
This is what I did.
Install msys2
Open msys2 shell and then run:
To List available packages named poppler
pacman -Ss poppler
To Install the package
pacman -S mingw-w64-ucrt-x86_64-poppler
Open MSYS2 UCRT64 Shell and access poppler binaries
The binaries are installed at:
C:\msys64\ucrt64\bin

Resources