
Linux
Linux
Bungehurst
极限尤可突破,至臻亦不可止
展开
-
修改Ubuntu20.04的GRUB界面字体
【代码】修改Ubuntu20.04的GRUB界面字体。原创 2023-01-31 17:37:09 · 1510 阅读 · 0 评论 -
【已解决】已安装opencv但pkg-config --modversion找不到
【已解决】已安装opencv但pkg-config --modversion找不到。原创 2022-11-20 13:17:09 · 3825 阅读 · 0 评论 -
【已解决】error: conflicting declaration ‘typedef struct LZ4_stream_t LZ4_stream_t’ typedef struct { long
【已解决】error: conflicting declaration ‘typedef struct LZ4_stream_t LZ4_stream_t’ typedef struct { long。原创 2022-11-20 13:09:20 · 2454 阅读 · 2 评论 -
Ubuntu服务器远程桌面分辨率低的解决办法
Ubuntu服务器远程桌面分辨率低的原创 2022-11-20 11:13:17 · 2021 阅读 · 1 评论 -
【已解决】Failed to find Ceres - Found Eigen dependency
【已解决】Failed to find Ceres - Found Eigen dependency。原创 2022-11-12 17:03:04 · 972 阅读 · 0 评论 -
【已解决】‘CV_LOAD_IMAGE_GRAYSCALE’ was not declared in this scope
由于OpenCV版本差异导致变量没有定义。原创 2022-11-12 17:01:40 · 2188 阅读 · 0 评论 -
arm架构ubuntu18.04软件源
source.listdeb [arch=amd64,i386] http://us.archive.ubuntu.com/ubuntu/ bionic main restricted universe multiversedeb [arch=amd64,i386] http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiversedeb [arch=amd64,i386] http://us.原创 2020-10-26 10:38:32 · 1566 阅读 · 0 评论 -
Ubuntu18.04 固定IP设置
设置IP和网关设置只使用5G频段注意静态分配的IP要在DHCP服务器自动分配地址段外,否则会导致冲突原创 2020-10-24 12:19:26 · 189 阅读 · 0 评论 -
Linux查看内核、外设等系统信息
Linux查看内核、外设等系统信息dmesg指令BootingWhen initially booted, a computer system loads its kernel into memory. At this stage device drivers present in the kernel are set up to drive relevant hardware. Such drivers, as well as other elements within the kernel,原创 2022-03-25 08:52:21 · 727 阅读 · 0 评论 -
OpenOCD-Jlink配置方法
OpenOCD STM32配置1. 编译安装OpenOCD克隆OpenOCD库到本地user@user:~$ git clone https://github.com/openocd-org/openocd.gitCloning into 'openocd'...remote: Enumerating objects: 72495, done.remote: Counting objects: 100% (489/489), done.remote: Compressing objects原创 2022-03-15 23:32:31 · 4558 阅读 · 4 评论 -
Ubuntu无线网络相关设置
Ubuntu无线网络相关设置调整发射功率sudo iwconfig wlan0 txpower 20 #dbm查看无线网络状态sudo watch -n1 iwconfig 或者安装wavemonsudo apt-get updatesudo apt-get install wavemonwavemon原创 2022-03-03 10:12:40 · 1181 阅读 · 0 评论 -
Ubuntu串口绑定及权限设置
Ubuntu串口绑定及权限设置问题描述解决串口设备无法打开的问题,并自定义的串口名解决方案编写串口规则lsusb查看设备,记录下设备ID:1a86:7523在/etc/udev/rules.d/目录下新建一个规则文件:KERNEL=="ttyUSB*", ATTRS{idVendor}=="1a86", ATTRS{idProduct}=="7523", MODE:="0777", SYMLINK+="imu_serial"给规则文件权限 sudo chmod 777 imu.rul原创 2022-02-28 15:59:49 · 1043 阅读 · 0 评论 -
【已解决】invalid for another xxx. Updates for this repository will not be applied.
问题描述Release file for http://mirrors.aliyun.com/debian-security/dists/buster/updates/InRelease is not valid yet (invalid for another 4h 50min 47s). Updates for this repository will not be applied.解决方案sudo apt install ntp sudo service ntp restart ...原创 2022-02-19 15:50:15 · 5131 阅读 · 3 评论 -
【已解决】Error: python@3.10: wrong number of arguments (given 1, expected 0)
问题描述Error: python@3.10: wrong number of arguments (given 1, expected 0)解决方案brew install cmake原创 2021-12-21 09:44:19 · 2227 阅读 · 0 评论 -
【已解决】error: this ‘if’ clause does not guard... [-Werror=misleading-indentation]
问题描述google/protobuf/unittest_lite.pb.cc:8544:3: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation] if (!_extensions_.IsInitialized()) return false; return true; ^~解决方案打开相关文件,将if (!_extensions_.IsInitialized()) return原创 2021-04-08 20:15:52 · 9227 阅读 · 0 评论 -
SSH配置免密登录
本机生成公钥:ssh-keygen上传公钥到目标机:ssh-copy-id -i ~/.ssh/id_rsa.pub nvidia@192.168.1.112完成!原创 2021-03-19 15:42:15 · 148 阅读 · 1 评论 -
protobuf安装
查询protobuf版本:user@user:~$ which protoc #查询protobuf位置/usr/bin/protocuser@user:~$ /usr/bin/protoc --version #查询protobuf版本libprotoc 2.6.1user@user:~$ grep GOOGLE_PROTOBUF_VERSION /usr/include/google/protobuf/stubs/common.h#define GOOGLE_PROTOBUF_VERSION.原创 2021-03-11 18:20:23 · 201 阅读 · 0 评论 -
【已解决】ubuntu桌面崩溃
开机Ctrl + Alt + F3 进入纯文本界面依次运行如下指令sudo apt-get update sudo dpkg --configure -asudo apt-get install --reinstall ubuntu-desktop sudo apt-get install unity sudo shutdown -r now原创 2021-03-11 17:20:15 · 2815 阅读 · 0 评论 -
rm递归删除后缀文件
find . -name "*.pb.*" | xargs rm -f原创 2021-03-11 15:18:39 · 1106 阅读 · 0 评论 -
Ubuntu文件压缩解压命令
# .tartar -xvf FileName.tar # 解包tar -cvf FileName.tar DirName # 将DirName和其下所有文件(夹)打包# .gzgunzip FileName.gz # 解压1gzip -d FileName.gz # 解压2gzip FileName # 压缩,只能压缩文件# .tar.gz .tgztar -zxvf FileName.tar.gz # 解压tar -zcv原创 2020-11-13 09:06:29 · 182 阅读 · 0 评论 -
【已解决】warning: Clock skew detected. Your build may be incomplete.
问题描述:make[2]: warning: Clock skew detected. Your build may be incomplete.解决方案:依次执行:sudo apt install ntptouch *#ntpdate 172.16.12.100原创 2020-11-12 17:23:15 · 247 阅读 · 0 评论 -
【已解决】SSLError(SSLError(1, u‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727)'),)': /packages/b7/6f/24647f014eef9b67a24adfcbc..原创 2020-11-11 12:07:09 · 1929 阅读 · 1 评论 -
【已解决】sh: 1: lsb_release: not found
sh: 1: lsb_release: not found解决办法:apt-get update && apt-get install -y lsb-release && apt-get clean all如果显示:E: Malformed entry 1 in list file /etc/apt/sources.list.d/ros-latest.list (Component)E: The list of sources could not be read.原创 2020-10-09 10:40:53 · 12408 阅读 · 0 评论 -
Create symbolic links 创建软连接
Create symbolic links for the CMake binaries:sudo ln -s /home/cmake-3.13.4-Linux-x86_64/bin/* /usr/local/bin原创 2020-10-09 10:34:24 · 770 阅读 · 0 评论 -
Conda找不到命令解决方法
依次执行:echo 'export PATH="~/anaconda3/bin:$PATH"' >> ~/.bashrcsource ~/.bashrc原创 2020-10-09 10:10:51 · 1901 阅读 · 1 评论 -
Ubuntu chmod权限
chmod with NumbersUsage: chmod {options} filenameOptionsDefinition1execute2write4readOwnerGroupOtherread & writeread & writeread & write4+2=64+2=64+2+1=7Example:user@host:/home/user$ chmod 667 f..原创 2020-10-08 17:33:05 · 177 阅读 · 0 评论 -
Install cuDNN from a Tar file
Navigate to your cudnnpath directory containing the cuDNN Tar file.Unzip the cuDNN package.tar -xzvf cudnn-x.x-linux-x64-v8.x.x.x.tgzCopy the following files into the CUDA Toolkit directory, and change the file permissions.sudo cp cuda/include/cudnn*..原创 2020-10-08 17:16:40 · 201 阅读 · 0 评论 -
安装完anaconda后输入conda没有反应
解决方法:找到anaconda的安装目录,我的是/root/anaconda3/bin依次执行:chmod 777 activate source ./activate出现(base)就成功进来了原创 2020-10-08 10:45:50 · 2471 阅读 · 0 评论 -
【已解决】CMake Error: Could not find CMAKE_ROOT !!!
问题描述:root@4d42a166eecc:/home/CMake# cmake --versionCMake Error: Could not find CMAKE_ROOT !!!CMake has most likely not been installed correctly.Modules directory not found in/usr/local/share/cmake-3.10cmake version 3.10.2CMake suite maintained and .原创 2020-10-07 13:26:54 · 17494 阅读 · 16 评论 -
The repository ‘http://ppa.launchpad.net/hzwhuang/ss-qt5/ubuntu bionic Release‘ does not have a Rele
问题描述:E: The repository ‘http://ppa.launchpad.net/hzwhuang/ss-qt5/ubuntu bionic Release’ does not have a Release file.解决方案:在你的/etc/apt/sources.list.d目录下,看这个文件 hzwhuang-ubuntu-ss-qt5-bionic.list 将里面的bionic 改成xenial ,保存再运行 sudo apt-get update ,...原创 2020-10-04 10:38:22 · 990 阅读 · 0 评论 -
ubuntu截屏快捷键
快捷键意义Alt + PrSc区域截屏Shift + PrSc窗口截屏PrSC桌面截屏原创 2020-10-04 10:11:02 · 7419 阅读 · 1 评论 -
ubuntu查看硬盘空间使用情况
ubuntu查看硬盘空间使用情况图形化命令行输入baobab启动命令行安装ncdu在相应目录下命令行键入ncdu查看空间占用原创 2020-10-04 10:04:41 · 1611 阅读 · 0 评论 -
【已解决】Could not get lock /var/lib/dpkg/lock-frontend
使用apt安装时报错:E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?解决方案:方案一:sudo killall apt apt-get如果提示没有原创 2020-10-03 09:27:24 · 81098 阅读 · 51 评论 -
git代理设置
git 代理设置设置代理:git config --global http.proxy'http://127.0.0.1:8118'git config --global https.proxy'http://127.0.0.1:8118'查看代理:git config --global --list如果设置成功会有如下输出:http.proxy=http://127.0.0.1:8118https.proxy=http://127.0.0.1:8118取消代理:git confi原创 2020-10-02 10:23:00 · 136 阅读 · 0 评论 -
Ubuntu下Logi MX Ergo自定义按键
Ubuntu下Logi MX Ergo自定义按键由于罗技官网并没有提供Ergo在Ubuntu下的option,如果想使用鼠标上的自定义按键,就需要自己配置一下。1. 安装所需支持包apt-get install xvkbdapt-get install xbindkeysapt-get install xbindkeys-config #这个是图像化界面,可以不安装2. 配置xbin...原创 2020-04-05 15:21:03 · 1326 阅读 · 0 评论 -
Ubuntu18.04安裝Sogou輸入法
1.进入https://pinyin.sogou.com/linux/下载linux安装包2.root@user:~# cd /home/user/Downloads/3.root@user:~# dpkg -i sogoupinyin_2.2.0.0108_amd64.deb如果出现错误,用apt --fix-broken install 修复,然后再次运行4.keyboar...原创 2019-08-31 20:53:08 · 221 阅读 · 0 评论 -
anaconda 代理设置 ubuntu
The.condarcfile can change many parameters, including:Where conda looks for packages. If and how conda uses a proxy server. Where conda lists known environments. Whether to update the bash prom...原创 2019-08-31 20:51:32 · 737 阅读 · 0 评论 -
Openpose install on Ubuntu18.04 PC
参考:https://blog.youkuaiyun.com/qq_35468937/article/details/81514198#%E7%AC%AC%E4%BA%94%E6%AD%A5%20%E6%B5%8B%E8%AF%95nvidia%20driver%E6%98%AF%E5%90%A6%E5%AE%89%E8%A3%85%E6%88%90%E5%8A%9F参考(报错):https://blog...原创 2019-08-31 20:50:17 · 640 阅读 · 0 评论 -
Install Opencv4 on ubuntu18.04 PC
https://gist.github.com/raulqf/a3caa97db3f8760af33266a1475d0e5eQ: fatal error: jasper/jasper.h: No such file or directory #include <jasper/jasper.h> Ref:https://researchxuyc.wordpress.co...原创 2019-08-31 20:48:23 · 477 阅读 · 0 评论 -
Install Pyrealsense2 on Ubuntu18.04
https://blog.youkuaiyun.com/qq_22598167/article/details/89948089https://github.com/IntelRealSense/librealsense/tree/master/wrappers/python1.github上下载最新librealsense包2.cd librealsensemkdir builde &...原创 2019-08-31 20:47:23 · 2905 阅读 · 0 评论