wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
chmod +x
bash Miniconda3-latest-Linux-x86_64.sh
一路选择安装好
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
conda config --set show_channel_urls yes替换默认镜像源
conda config --set channel_alias https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloudconda install jupyterconda install xeus-cling -c conda-forgejupyter notebook
浏览器打开网址以后可以看到我们已经可以使用C++的kernel了

接下来编写一个测试

大功告成