- CentosBox/Centos-7-v7.4-Minimal-CLI (on Vagrant)
- gcc 4.8.5
$ sudo yum update
$ ./contrib/download_prerequisites
$ mkdir build && cd $_
$ ../configure --prefix=/usr/local --enable-languages=c,c++ --disable-multilib --disable-bootstrap
$ make > /dev/null
$ make test
$ sudo make install
- stdc++.so.6 確認
$ sudo yum install perl perl-IPC-Cmd perl-Test-Simple
$ curl -OL https://www.openssl.org/source/openssl-3.3.0.tar.gz
$ tar zxf openssl-3.3.0.tar.gz
$ make test
$ sudo make install
$ sudo ldconfig -p | grep libssl.so.3
$ sudo sh -c 'echo /usr/local/lib64 > /etc/ld.so.conf.d/local.conf'
$ sudo ldconfig
3.12.3
# yum install zlib-devel libffi-devel -y
# curl -OL https://www.python.org/ftp/python/3.12.3/Python-3.12.3.tgz
# tar zxf Python-3.12.3.tgz && cd $_
# ./configure --enable-optimizations --with-lto
# make
# make altinstall
sudo yum install bzip2-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel libuuid-devel xz-devel
$ sudo yum install snapd
$ sudo systemctl enable --now snapd.socket
$ sudo ln -s /var/lib/snapd/snap /snap
$ sudo snap install nvim --classic