Install openssl linux mint

How To Install And Update OpenSSL On Linuxmint 18.3

Before starting the installation of OpenSSL, get the current version of OpenSSL by using the following command.

linuxhelp ~ # openssl version OpenSSL 1.0.2g 1 Mar 2016

After that, download the latest version of OpenSSL by deploying the following command.

linuxhelp ~ # wget https://www.openssl.org/source/openssl-1.0.2-latest.tar.gz --2018-04-13 07:02:20-- https://www.openssl.org/source/openssl-1.0.2-latest.tar.gz Resolving www.openssl.org (www.openssl.org). 118.215.157.42, 2600:1417:73:196::c1e, 2600:1417:73:1a0::c1e Connecting to www.openssl.org (www.openssl.org)|118.215.157.42|:443. connected. HTTP request sent, awaiting response. 302 Moved Temporarily Location: https://www.openssl.org/source/openssl-1.0.2o.tar.gz [following] --2018-04-13 07:02:22-- https://www.openssl.org/source/openssl-1.0.2o.tar.gz Reusing existing connection to www.openssl.org:443. HTTP request sent, awaiting response. 200 OK Length: 5329472 (5.1M) [application/x-gzip] Saving to: ‘ openssl-1.0.2-latest.tar.gz’ openssl-1.0.2-latest.tar.gz 100%[==========================================================> ] 5.08M 1.12MB/s in 4.6s 2018-04-13 07:02:27 (1.09 MB/s) - ‘ openssl-1.0.2-latest.tar.gz’ saved [5329472/5329472]

Lets move it to /usr/src directory

linuxhelp ~ # mv openssl-1.0.2-latest.tar.gz /usr/src/ linuxhelp ~ # cd /usr/src/ linuxhelp src # ls linux-headers-4.10.0-38 linux-headers-4.10.0-38-generic ndiswrapper-1.60 openssl-1.0.2-latest.tar.gz

Once it is downloaded, extract the downloaded OpenSSL tar file as follows.

linuxhelp src # tar xzf openssl-1.0.2-latest.tar.gz linuxhelp src # cd openssl-1.0.2o/ 

To manually compile OpenSSL and install/upgrade OpenSSL, make use of the following command.

linuxhelp openssl-1.0.2o # ./config Operating system: x86_64-whatever-linux2 Configuring for linux-x86_64 Configuring for linux-x86_64 no-ec_nistp_64_gcc_128 [default] OPENSSL_NO_EC_NISTP_64_GCC_128 (skip dir) no-gmp [default] OPENSSL_NO_GMP (skip dir) no-jpake [experimental] OPENSSL_NO_JPAKE (skip dir) no-krb5 [krb5-flavor not specified] OPENSSL_NO_KRB5 no-libunbound [experimental] OPENSSL_NO_LIBUNBOUND (skip dir) no-md2 [default] OPENSSL_NO_MD2 (skip dir) no-rc5 [default] OPENSSL_NO_RC5 (skip dir) no-rfc3779 [default] OPENSSL_NO_RFC3779 (skip dir) no-sctp [default] OPENSSL_NO_SCTP (skip dir) no-shared [default] no-ssl-trace [default] OPENSSL_NO_SSL_TRACE (skip dir) no-ssl2 [default] OPENSSL_NO_SSL2 (skip dir) no-store [experimental] OPENSSL_NO_STORE (skip dir) no-unit-test [default] OPENSSL_NO_UNIT_TEST (skip dir) no-weak-ssl-ciphers [default] OPENSSL_NO_WEAK_SSL_CIPHERS (skip dir) no-zlib [default] no-zlib-dynamic [default] . . make[1]: Entering directory ' /usr/src/openssl-1.0.2o/test' md2test.c => dummytest.c rc5test.c => dummytest.c jpaketest.c => dummytest.c make[1]: Leaving directory ' /usr/src/openssl-1.0.2o/test

After it is done, prepare the installation of OpenSSL by running the make command.

linuxhelp openssl-1.0.2o # make making all in crypto. make[1]: Entering directory ' /usr/src/openssl-1.0.2o/crypto' /usr/bin/perl ../util/mkbuildinf.pl " gcc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -Wa,--noexecstack -m64 -DL_ENDIAN -O3 -Wall -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DRC4_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM" " linux-x86_64" > buildinf.h . . make[2]: Leaving directory ' /usr/src/openssl-1.0.2o/test' make[1]: Leaving directory ' /usr/src/openssl-1.0.2o/test' making all in tools. make[1]: Entering directory ' /usr/src/openssl-1.0.2o/tools' make[1]: Nothing to be done for ' all' . make[1]: Leaving directory ' /usr/src/openssl-1.0.2o/tools'

After it, run the make test command as follows.

linuxhelp openssl-1.0.2o # make test testing. make[1]: Entering directory ' /usr/src/openssl-1.0.2o/test' make[2]: Entering directory ' /usr/src/openssl-1.0.2o' making all in apps. make[3]: Entering directory ' /usr/src/openssl-1.0.2o/apps' make[3]: Nothing to be done for ' all' . make[3]: Leaving directory ' /usr/src/openssl-1.0.2o/apps' make[2]: Leaving directory ' /usr/src/openssl-1.0.2o' ../util/shlib_wrap.sh ./destest Doing cbcm . . OpenSSL 1.0.2o 27 Mar 2018 built on: reproducible build, date unspecified platform: linux-x86_64 options: bn(64,64) rc4(16x,int) des(idx,cisc,16,int) idea(int) blowfish(idx) compiler: gcc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -Wa,--noexecstack -m64 -DL_ENDIAN -O3 -Wall -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DRC4_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM OPENSSLDIR: " /usr/local/ssl"

Once the command is executed, run the make install command which triggers the installation process.

linuxhelp openssl-1.0.2o # make install making all in crypto. make[1]: Entering directory ' /usr/src/openssl-1.0.2o/crypto' making all in crypto/objects. make[2]: Entering directory ' /usr/src/openssl-1.0.2o/crypto/objects' make[2]: Nothing to be done for ' all' . make[2]: Leaving directory ' /usr/src/openssl-1.0.2o/crypto/objects' making all in crypto/md4. make[2]: Entering directory ' /usr/src/openssl-1.0.2o/crypto/md4' make[2]: Nothing to be done for ' all' . . cp libcrypto.pc /usr/local/ssl/lib/pkgconfig chmod 644 /usr/local/ssl/lib/pkgconfig/libcrypto.pc cp libssl.pc /usr/local/ssl/lib/pkgconfig chmod 644 /usr/local/ssl/lib/pkgconfig/libssl.pc cp openssl.pc /usr/local/ssl/lib/pkgconfig chmod 644 /usr/local/ssl/lib/pkgconfig/openssl.pc

Let’ s check the version now.

linuxhelp openssl-1.0.2o # openssl version OpenSSL 1.0.2g 1 Mar 2016

If the old version is still displayed or installed before, please make a copy of OpenSSL bin file.

linuxhelp openssl-1.0.2o # mv /usr/bin/openssl /root/ linuxhelp openssl-1.0.2o # ln -s /usr/local/ssl/bin/openssl /usr/bin/openssl

Now verify the OpenSSL version.

linuxhelp openssl-1.0.2o # openssl version OpenSSL 1.0.2o 27 Mar 2018

With this, the method to Install And Update OpenSSL On Linuxmint 18.3 comes to an end.

Читайте также:  Очистить удаленные файлы linux

Источник

openssl on Linux Mint 20.3 «Una»

This tutorial shows how to install openssl package:

2. Uninstall / Remove openssl package

Please follow the step by step instructions below to uninstall openssl package:

3. Details of openssl package

Package: openssl
Architecture: amd64
Version: 1.1.1f-1ubuntu2.16
Multi-Arch: foreign
Priority: important
Section: utils
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian OpenSSL Team

Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1257
Depends: libc6 (>= 2.15), libssl1.1 (>= 1.1.1)
Suggests: ca-certificates
Filename: pool/main/o/openssl/openssl_1.1.1f-1ubuntu2.16_amd64.deb
Size: 621368
MD5sum: 5ee45b3652872c01908aeb75175c72b9
SHA1: 32282d62a58aecf7813fa52754bc13ae9982ce78
SHA256: c08fd4e16a6ea9c8d3573c3c842afa6761759910c0639abb3cfb7fe173f54b4e
SHA512: c64d632985864e83a948778b657aa17448b4a05cc538c216942879bdf759e8b2c82901d0c3584767ca9ceaaf4c65f99d32362aa6a5b9d691a72c83fbacf0a0b0
Homepage: https://www.openssl.org/
Description: Secure Sockets Layer toolkit — cryptographic utility
Description-md5: 9b6de2bb6e1d9016aeb0f00bcf6617bd
Task: minimal

Package: openssl
Status: install ok installed
Priority: optional
Section: utils
Installed-Size: 1257
Maintainer: Ubuntu Developers
Architecture: amd64
Multi-Arch: foreign
Version: 1.1.1f-1ubuntu2.12
Depends: libc6 (>= 2.15), libssl1.1 (>= 1.1.1)
Suggests: ca-certificates
Conffiles:
/etc/ssl/openssl.cnf fb92a2dab53f11f4f5f22adc5257b553
Description: Secure Sockets Layer toolkit — cryptographic utility
Description-md5: 9b6de2bb6e1d9016aeb0f00bcf6617bd
Homepage: https://www.openssl.org/
Original-Maintainer: Debian OpenSSL Team

Package: openssl
Architecture: amd64
Version: 1.1.1f-1ubuntu2
Multi-Arch: foreign
Priority: important
Section: utils
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian OpenSSL Team

Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1257
Depends: libc6 (>= 2.15), libssl1.1 (>= 1.1.1)
Suggests: ca-certificates
Filename: pool/main/o/openssl/openssl_1.1.1f-1ubuntu2_amd64.deb
Size: 620552
MD5sum: cea7e3cb5493d73d17e9d81024cb5570
SHA1: 45d2291c8420afd2d7e2b08d1c15f8786b6584b1
SHA256: 0b47fac737cfe18bcdd20773bc4a52485e21d18d144126c535d2c58ff58889bb
Homepage: https://www.openssl.org/
Description: Secure Sockets Layer toolkit — cryptographic utility
Description-md5: 9b6de2bb6e1d9016aeb0f00bcf6617bd
Task: minimal

4. References on Linux Mint 20.3 «Una»

Источник

openssl on Linux Mint 21 «Vanessa»

This guide covers the steps necessary to install openssl package:

2. Uninstall / Remove openssl package

This is a short guide on how to uninstall openssl package:

3. Details of openssl package

Package: openssl
Architecture: amd64
Version: 3.0.2-0ubuntu1.6
Multi-Arch: foreign
Priority: important
Section: utils
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian OpenSSL Team

Читайте также:  Astra linux сервер фстэк

Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2053
Depends: libc6 (>= 2.34), libssl3 (>= 3.0.2-0ubuntu1.2)
Suggests: ca-certificates
Filename: pool/main/o/openssl/openssl_3.0.2-0ubuntu1.6_amd64.deb
Size: 1183500
MD5sum: 08f39050e2fb40ed285f971cdf46eee4
SHA1: b9ec9e15db877e8269244a95906f34d9b558d27c
SHA256: c799eec8b27e77a6f346f3332a6364a0b2c3119613726f027fcb62fb2279b015
SHA512: a45d75b834726c21cc75e9de82fb273842d3361730af85af80a2c48abd3e1dabad39cc0e955dd7037ecc4aa2d016f8f40d21ba3c6ef58ecff4604d9b5d70f0b5
Homepage: https://www.openssl.org/
Description: Secure Sockets Layer toolkit — cryptographic utility
Description-md5: 9b6de2bb6e1d9016aeb0f00bcf6617bd
Task: minimal, server-minimal

Package: openssl
Status: install ok installed
Priority: optional
Section: utils
Installed-Size: 2050
Maintainer: Ubuntu Developers
Architecture: amd64
Multi-Arch: foreign
Version: 3.0.2-0ubuntu1.2
Depends: libc6 (>= 2.34), libssl3 (>= 3.0.2-0ubuntu1.2)
Suggests: ca-certificates
Conffiles:
/etc/ssl/openssl.cnf bbac4d4b5e77c1bcdb34a86c6330cacf
Description: Secure Sockets Layer toolkit — cryptographic utility
Description-md5: 9b6de2bb6e1d9016aeb0f00bcf6617bd
Homepage: https://www.openssl.org/
Original-Maintainer: Debian OpenSSL Team

Package: openssl
Architecture: amd64
Version: 3.0.2-0ubuntu1
Multi-Arch: foreign
Priority: important
Section: utils
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian OpenSSL Team

Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2049
Depends: libc6 (>= 2.34), libssl3 (>= 3.0.0~~alpha1)
Suggests: ca-certificates
Filename: pool/main/o/openssl/openssl_3.0.2-0ubuntu1_amd64.deb
Size: 1186012
MD5sum: f202e5956de18501ac667830596ce332
SHA1: a210f91721eaaecf0dcf9de24ff869361e54cc70
SHA256: ade3df4e82f3e13b6f0248d06d0652646c39f4dbb97b2cf470d04fbec30acb2a
SHA512: 109cf3a597e59a154cdb258e5689925b60c3cdb87e37b41a26745b28244decab1a9cc28cff956c567a2c373729133ca2b433fed2d21dcc3260801b1a5fe292e7
Homepage: https://www.openssl.org/
Description: Secure Sockets Layer toolkit — cryptographic utility
Description-md5: 9b6de2bb6e1d9016aeb0f00bcf6617bd
Task: minimal, server-minimal

4. References on Linux Mint 21 «Vanessa»

Источник

Оцените статью
Adblock
detector