![](https://img-blog.csdnimg.cn/20200624153223537.jpg?x-oss-process=image/resize,m_fixed,h_224,w_224)
Linux(Ubuntu)
Ubuntu
桃子小迷妹
一只后悔读博的小菜鸟!
展开
-
bash: /usr/bin/cmake: No such file or directory
bash: /usr/bin/cmake: No such file or directory原创 2023-10-11 17:12:56 · 1805 阅读 · 0 评论 -
cmake: Unable to find Python interpreter, required for builds and testing.
cmake: Unable to find Python interpreter, required for builds and testing.原创 2023-10-07 11:19:09 · 743 阅读 · 0 评论 -
cmake:Tell CMake where to find the compiler by setting either the environment...
Tell CMake where to find the compiler by setting either the environment...原创 2023-10-07 11:12:45 · 746 阅读 · 0 评论 -
E: Unable to locate package XXX
E: Unable to locate package XXX原创 2023-10-07 10:53:41 · 401 阅读 · 0 评论 -
Screen (Linux)
Screen (Linux)原创 2023-06-19 10:01:04 · 151 阅读 · 0 评论 -
python37 安装 torch >= 1.2.0
python37 安装 torch >= 1.2.0原创 2023-02-27 16:53:16 · 880 阅读 · 0 评论 -
./run.sh: Permission denied
./run.sh: Permission denied原创 2023-02-27 16:14:27 · 2543 阅读 · 0 评论 -
linux 查找文件
linux 搜索文件原创 2022-12-22 13:22:54 · 72 阅读 · 0 评论 -
Pycharm Already running
Pycharm Already running原创 2022-11-01 16:59:03 · 563 阅读 · 0 评论 -
Linux 解压
Linux unzip命令原创 2022-10-28 17:00:10 · 358 阅读 · 0 评论 -
VMware虚拟机开机黑屏问题
VMware虚拟机开机黑屏问题原创 2022-10-28 13:00:05 · 572 阅读 · 0 评论 -
LLVM 安装(Ubuntu)
LLVM 安装(Ubuntu)原创 2022-10-27 17:10:02 · 2829 阅读 · 0 评论 -
Linux解压.tar.xz
Linux解压.tar.xz原创 2022-10-27 11:19:06 · 402 阅读 · 0 评论 -
Pycharm Linux环境下运行
Pycharm Linux环境下运行原创 2022-10-27 10:19:59 · 1174 阅读 · 0 评论 -
Linux zip
压缩文件夹下所有文件 zip -rzip -r <XXX.zip> DirName原创 2021-06-29 21:38:28 · 65 阅读 · 0 评论 -
bash: zip: command not found
问题描述解压文件夹时,使用命令 zip <XXX.zip> XXX出现错误:bash: zip: command not found错误原因:没有安装 zip解决方法sudo apt-get install zip验证安装zip原创 2021-05-27 19:02:42 · 3039 阅读 · 0 评论 -
Linux 压缩命令
.tartar czvf <XXX.tar> File/FolderName.gzgzip File/FolderName.bz2 bzip2 -z File/FolderName.tar.gztar zcvf <XXX.tar.gz> File/FolderNametar zcvf <XXX.tar.gz> File/FolderName1 File/FolderName2 File/FolderName3 ....tar.bz2tar jc原创 2021-05-27 16:51:58 · 89 阅读 · 0 评论 -
Ubuntu bash: make: command not found
当使用 make 命令编译软件,出现了错误:bash: make: command not found错误原因:未安装 make解决方法:sudo apt-get install make原创 2021-05-26 10:38:31 · 1836 阅读 · 0 评论 -
Linux 解压 .tar.bz2文件
解压 .tar.bz2 文件tar -jxf <XXX.tar.bz2>原创 2021-05-25 17:27:07 · 1130 阅读 · 0 评论 -
Linux 运行 .run文件
安装方法eg. ABC.runchmod +x ABC.run./ABC.run原创 2021-04-28 16:57:03 · 10540 阅读 · 0 评论 -
Linux 解压 .7z 文件
安装软件sudo apt-get install p7zip-full解压文件7z x <File.7z>原创 2021-04-27 17:05:07 · 204 阅读 · 0 评论 -
RuntimeError: Couldn‘t find LLVM_CONFIG or any of the following executables in PATH: llvm-config
错误原因llvm-config 命令未加入路径中解决方法:确认 llvm-config 版本(版本同 llvm)经确认,llvm版本为 102. 加入路径alias llvm-config="llvm-config-10"export LLVM_CONFIG="/usr/bin/llvm-config-10"原创 2021-04-26 10:52:19 · 2791 阅读 · 0 评论 -
Ubuntu 查看 apt-get 可安装的软件候选版本
教程原创 2021-04-26 10:44:28 · 5673 阅读 · 0 评论 -
Python 查看指定库的版本
pip show XXXpip3 show XXX原创 2021-04-26 10:24:49 · 417 阅读 · 0 评论 -
查看 pip 版本 并更新 pip
pip install --upgrade pippip3 install --upgrade pip原创 2021-04-26 10:14:55 · 659 阅读 · 0 评论 -
Ubuntu 安装库dbus-pytho
sudo apt-get install libdbus-1-devsudo apt-get install libdbus-glib-1-dev原创 2021-04-23 19:31:59 · 302 阅读 · 0 评论 -
vim 使用教程
这个东西太难用了。。。打开需要编辑的 txt文件vim <XXX.txt>进入编辑模式输入以下命令i :在光标所在位置开始写入内容I :在光标所在行行首开始写入内容a :在光标所在行当前字符后开始写入内容A :在光标所在行行尾开始写入内容o :在光标所在行下一行开始写入内容O :在光标所在行上一行开始写入内容退出 vim按ESC进入“正常模式”,然后输入“:”,进入“命令模式”。此时屏幕的下方会出现一个冒号,输入以下命令,并按“ENTER”执行:q原创 2021-04-23 18:31:26 · 155 阅读 · 0 评论 -
bash: vim: command not found
问题描述当使用命令vim <txt> 修改文件时,出现错误:bash: vim: command not found错误原因: 未安装 vim解决方法:安装 vimsudo apt install vim原创 2021-04-23 18:14:11 · 150 阅读 · 0 评论 -
python 切换系统默认版本
目前系统默认python版本是2.7需要切换成 python 3.8确认 python 3.8 是否安装,使用命令:python3.8如未安装,使用命令,sudo apt-get install python3.8查看所有可用的python版本信息(注意:root身份 )update-alternatives --list python 报错:update-alternatives: error: no alternatives for python错误原因:Pyt原创 2021-04-23 17:10:27 · 2716 阅读 · 1 评论 -
bash: pip3: command not found
问题描述:当使用命令pip3 install XXX,出现错误 bash: pip3: command not found错误原因:pip3还没有安装解决方法:安装 pip3sudo apt install python3-pip原创 2021-04-22 19:30:42 · 18219 阅读 · 0 评论 -
E: Unable to locate package XXX
问题描述当使用命令 sudo apt-get install <package> 安装包时,出现问题:E: Unable to locate package首先使用命令:sudo apt-get update再次安装,如果问题还没有解决,转 2使用命令sudo apt-get upgrade如果问题还没有解决,转 3使用 aptitude 安装包sudo apt-get install aptitudesudo aptitude install <package&原创 2021-04-22 19:20:17 · 803 阅读 · 1 评论 -
ubuntu :bash: unzip: command not found
环境:docker ubuntu 20.04问题描述解压文件夹时,使用命令 unzip <Folder>出现错误:bash: unzip: command not found错误原因:没有安装 unzip解决方法sudo apt-get install unzip验证安装安装成功原创 2021-04-22 19:10:21 · 1152 阅读 · 0 评论 -
docker 向挂载文件夹上传文件 permission denied
问题描述:向docker挂载文件夹上传文件时,出现错误 permission denied原因分析:这个文件夹是我在创建docker 容器时,由docker创建的,所以它的访问权限就变成了root解决方法:在docker内,使用命令:chmod +777 文件夹或者:先创建文件夹,再创建docker...原创 2021-04-22 18:15:16 · 706 阅读 · 0 评论 -
docker sudo apt-get install python (ubuntu 20)
环境: docker(ubuntu20)问题描述:使用命令 python出现错误:bash: python: command not found错误原因:未安装``解决方法:安装 pythonsudo apt-get install python //默认版本或sudo apt-get install python3.8 //指定版本3.8验证安装:python 安装成功...原创 2021-04-22 18:03:37 · 433 阅读 · 0 评论 -
bash: lsb_release: command not found
当使用命令: lsb_release -a,出现错误 bash: lsb_release: command not found解决方法: sudo apt-get install lsb-core -y但是:使用 sudo 时,出现错误:bash: sudo: command not found解决方法:教程之后,使用: sudo apt-get install lsb-core -y...原创 2021-04-22 11:07:11 · 1440 阅读 · 0 评论 -
docker 使用sudo命令,报错 bash: sudo: command not found
当在docker内(ubuntu 20.04)内使用 sudo apt-get install XX出现错误 :bash: sudo: command not found解决方法:apt-get updateapt-get install sudo原创 2021-04-22 10:55:54 · 2591 阅读 · 1 评论 -
清除 configure,make 生成的文件
清除 make 生成的文件make clean清除 ./configure&&make 生成的文件make distclean原创 2021-03-30 18:08:16 · 1866 阅读 · 0 评论 -
coreutils V8.25 编译
1. 源码下载官网github2. 指定版本下载原创 2021-03-30 17:14:42 · 857 阅读 · 0 评论 -
configure: error: you should not run configure as root (set FORCE_UNSAFE_CONFIGURE=1 in environment
执行 ./configure ,报错: configure: error: you should not run configure as root (set FORCE_UNSAFE_CONFIGURE=1 in environment to bypass this check) See `config.log’ for more details原创 2021-03-30 16:44:14 · 2586 阅读 · 0 评论 -
Linux rm: cannot remove ‘XXX‘: Is a directory
当 使用命令 rm -f XXX 删除文件夹时, 出现错误: rm: cannot remove ‘XXX’: Is a directory 表示该目录是一个文件夹,不可以删除解决方法rm -rf <XXX>其中,-r 表示递归处理-f 表示强制删除原创 2021-03-30 10:58:36 · 1800 阅读 · 0 评论