$ which openssl
$ ldd /usr/bin/openssl
$ openssl version
$ cd /usr/local/src/
$ sudo wget https://www.openssl.org/source/openssl-3.0.5.tar.gz
$ sudo wget https://www.openssl.org/source/openssl-3.0.5.tar.gz.asc
$ gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 0x7953AC1FBC3DC8B3B292393ED5E9E43F7DF9EE8C
$ gpg -d openssl-3.0.5.tar.gz.asc
$ sudo tar xvf openssl-3.0.5.tar.gz
$ cd openssl-3.0.5/
$ sudo ./config
$ sudo apt-get update
$ sudo apt-get --fix-broken install
$ sudo apt-get install gcc
$ sudo ./config
$ gcc --version
$ sudo make
$ sudo make install
More than 1 year has passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme