软件安装
github.io 个人主页搭建
Linux Jekyll
ruby安装
我用的是Rbnev,安装最新版本ruby,因为后续会要求ruby版本大于3.1
参考链接:https://cn.linux-console.net/?p=15044
安装RubyGems
git clone https://github.com/rubygems/rubygems
ruby setup.rb
参考链接:https://rubygems.org/pages/download
安装Jekyll
gem install jekyll
参考链接:https://jekyllcn.com/docs/installation/
Windowds Jekyll
ruby安装
下载ruby安装器,安装好后就有ruby和gem了
https://rubyinstaller.org/downloads/
安装Jekyll和Bundler
gem install jekyll
gem install bundler
GCC版本和glibc版本
参考链接:https://blog.csdn.net/qq_40938217/article/details/140211865
https://blog.csdn.net/qq_45909595/article/details/139287658
# 安装路径:[/home/username/installed/gcc-12]
export CC=[/home/username/installed/gcc-12]/bin/gcc
export CXX=[/home/username/installed/gcc-12]/bin/g++
export PATH=[/home/username/installed/gcc-12]/bin:$PATH
export LD_LIBRARY_PATH=[/home/username/installed/gcc-12]/lib64
Conda安装
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
chmod +x Miniconda3-latest-Linux-x86_64.sh
./Miniconda3-latest-Linux-x86_64.sh
# 默认不进入conda环境
# conda config --set auto_activate_base false
pip软件包安装
pip install torch --index-url https://download.pytorch.org/whl/cpu