Ubuntu日常使用问题杂记

一.问题记录及解决方法

1. NOT find move_base_msgs

报错提示:

Could NOT find move_base_msgs (missing: move_base_msgs_DIR)
– Could not find the required component ‘move_base_msgs’. The following CMake error indicates that you either need to install the
package with the same name or change your environment so that it can
be found. CMake Error at
/opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83
(find_package): Could not find a package configuration file provided
by “move_base_msgs”

解决方法:

 sudo apt-get install ros-melodic-move-base-msgs

2. NOT find SDL

报错提示:

Could NOT find SDL (missing: SDL_LIBRARY SDL_INCLUDE_DIR)

解决方法:

sudo apt-get install libsdl-dev

3.NOT find SDL_image

报错提示:

CMake Error at
/usr/share/cmake-/Modules/FindPackageHandleStandardArgs.cmake:137
(message): Could NOT find SDL_image (missing: SDL_IMAGE_LIBRARIES
SDL_IMAGE_INCLUDE_DIRS)

解决方法:

sudo apt-get install libsdl-image1.2-dev

4.No package ‘orocos-bfl’

报错提示:

– Checking for module ‘orocos-bfl’
– No package ‘orocos-bfl’ found

解决方法:

sudo apt-get install ros-indigo-bfl

5. not find random_numbers

报错提示:

Could not find a package configuration file provided by
"random_numbers

解决方法:

sudo apt-get install ros-melodic-random-numbers

6. Unable to find SuiteSparse

报错提示:

Unable to find SuiteSparse

解决方法:

sudo apt-get install libsuitesparse-dev

7.not find libg2o

报错提示:

Could not find libg2o!

sudo apt-get install ros-kinetic-libg2o

8.locate: command not found

报错提示:

bash: locate: command not found

解决方法:

  sudo apt-get  install locate 
  sudo updatedb

执行updatedb后报错:

error: /usr/bin/find: ‘/run/user/1000/gvfs’: Permission denied

之后执行即可:
solution Reference

  umount /run/user/1000/gvfs    // 卸载该文件
  rm -rf /run/user/1000/gvfs    // 删除该文件

在使用locate即正常。

9 VScode 打开文件后 中文乱码

在vscode中的扩展中搜索:GBKtoUTF8
下载并重新加载,就解决了中文乱码的问题

ubuntu 18 安装navigation包编译报错问题

Link

二.常用指令

1.常用指令参考(压缩,解压,删除某类型文件,输出日志等)

三 应用软件安装

1.应用软件:

WPS, lantern , google chrome,
文本编辑工具:kate
这个我觉得比gedit好用很多
安装方法: sudo apt-get install kate
如下:
在这里插入图片描述

2.地图编辑:

kolourpaint

3.截图工具:

sudo apt install flameshot
那么只需要在 Ubuntu 软件中心上搜索,就可以找到 Flameshot 进而完成安装了。要是你想使用终端来安装,可以执行以下命令:

sudo apt install flameshot
如果你在安装过程中遇到问题,可以按照官方的安装说明[2]进行操作。安装完成后,你还需要进行配置。尽管可以通过搜索来随时启动 Flameshot,但如果想使用 PrtSc 键触发启动,则需要指定对应的键盘快捷键。以下是相关配置步骤:

进入系统设置中的“键盘设置”
页面中会列出所有现有的键盘快捷键,拉到底部就会看见一个 “+” 按钮
点击 “+” 按钮添加自定义快捷键并输入以下两个字段:
“名称”: 任意名称均可。
“命令”: /usr/bin/flameshot gui

  • 3
    点赞
  • 17
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值