作者: oldwatch

77 篇文章

怎么在 ubuntu 安装配置Fluent
怎么在 ubuntu 安装配置Fluent 要在 Ubuntu 中安装 Fluent,您需要遵循以下步骤: 1、在 Ubuntu 中安装必要的依赖软件。这些依赖软件包括 Linux 内核头文件和库,以及一些开发工具。您可以使用以下命令来安装这些依赖软件: sudo apt-get install build-essential libfontcon…
dockerfile 在jupyterlab 添加R kernel
dockerfile 在jupyterlab 添加R kernel FROM xxxx ... RUN R -e "install.packages('IRkernel')" RUN R -e "IRkernel::installspec(user=FALSE)" ... build 错误: > IRkernel::installspec(u…
ubuntu systemctl 相关操作
临时记录 后面补充描述 systemctl enable xxxx.service systemctl list-unit-files --type=service|grep enabled systemctl disable xxxx.service
ubuntu 安装最新版本cmake
ubuntu 安装最新版本cmake 直接 apt install 安装的是cmake 3.10.2,如果想安装最新版本需要自己前往 cmake 官方网址下载安装包,解压后安装。 # cmake 官方网址 :https://cmake.org/download/ # 以 3.23.3 版本为例子 使用https://github.91chi.fun…
利用 Python 计算字符串或者文件的 md5 值
利用 Python 计算字符串或者文件的 md5 值 计算字符串 md5 import hashlib def get_md5(s): return hashlib.md5(s).hexdigest() 计算文件 md5 import hashlib def get_file_md5(file_name): with open(file_name,…
添加 Python Conda APT 源方法
添加Python Conda APT 源方法 添加 Python 镜像源 更新 pip 后直接使用 pip config set 即可。 python -m pip install --upgrade pip pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simp…