参考网址:http://wiki.ros.org/melodic/Installation/ArchLinux
国内几乎所有的ros教材都是推荐使用ubuntu安装ros,我个人一直对ubuntu不了解,试用了几次,不习惯还运行速度慢,奇葩的界面设计,屏幕左边一条和屏幕上边一条,应用无法全屏,更让人无语的是我从网上下载过3个版本的kubuntu的18.04, 18.04.1, 18.04.2, 18.04.3都是无法成功安装,本人使用linux时间超过20年,2004年就自己安装过lfs,请不要把我当小白来看。在我看来,使用linux时,使用什么桌面应该是用户的一个自由。后来安装ubuntu的18.04.3后,强制安装kde桌面。速度一直是ubuntu的弱项,算了,源码开始编译吧。特地记录如下:
yay -S ros-melodic-desktop-full,可能要等一下子,根据自己机子速度不同,大概十分钟左右吧。会有以下:
:: There are 2 providers available for ros-build-tools:
:: Repository AUR
1) ros-build-tools 2) ros-build-tools-py3
Enter a number (default=1):
:: There are 2 providers available for ros-melodic-message-filters:
:: Repository AUR
1) ros-melodic-message-filters 2) ros-melodic-message-filters-git
Enter a number (default=1):
:: There are 2 providers available for ros-melodic-roscpp:
:: Repository AUR
1) ros-melodic-roscpp 2) ros-melodic-roscpp-git
Enter a number (default=1):
:: There are 2 providers available for gazebo:
:: Repository AUR
1) gazebo 2) gazebo-hg
Enter a number (default=1):
:: There are 2 providers available for log4cxx:
:: Repository AUR
1) log4cxx 2) log4cxx-git
Enter a number (default=1):
:: There are 2 providers available for pcl:
:: Repository AUR
1) pcl 2) pcl-git
Enter a number (default=1):
:: There are 2 providers available for ignition-msgs:
:: Repository AUR
1) ignition-msgs 2) ignition-msgs-1
Enter a number (default=1):
:: There are 2 providers available for ignition-common:
:: Repository AUR
1) ignition-common 2) ignition-common-1
Enter a number (default=1):
:: There are 2 providers available for ignition-fuel_tools:
:: Repository AUR
1) ignition-fuel_tools 2) ignition-fuel_tools-1
Enter a number (default=1):
:: There are 2 providers available for ignition-cmake:
:: Repository AUR
1) ignition-cmake 2) ignition-cmake-0
Enter a number (default=1):
:: Checking for conflicts...
:: Checking for inner conflicts...
碰到这种情况,什么都不要想,脑子一片空白,按10次回车,切记注意速度啊:
出现:
==> Inner conflicts found:
-> ros-build-tools-py3: ros-build-tools
==> Conflicting packages will have to be confirmed manually
[Repo: 44] boost-1.69.0-2 unixodbc-2.3.7-2 poco-1.9.3-1 python-netifaces-0.10.
9-1 python-defusedxml-0.6.0-1 python-ply-3.11-2 python-pycparser-2.19-1 python
-cffi-1.12.3-1 python-bcrypt-3.1.7-1 python-asn1crypto-0.24.0-2 python-cryptogr
aphy-2.7-1 python-pyasn1-0.4.7-1 python-pynacl-1.3.0-1 python-paramiko-2.6.0-1
python-gnupg-0.4.5-1 python-pycryptodome-3.9.0-1 python2-wxpython3-3.0.2.0-2 g
ts-0.7.6-5 graphviz-2.40.1-19 eigen-3.3.7-4 jxrlib-0.2.1-3 freeimage-3.18.0-2
nvidia-cg-toolkit-3.1-5 assimp-4.1.0-1 sip-4.19.18-1 python-sip-4.19.18-1 pyt
hon-pydot-1.4.1-1 python-opengl-3.1.0-4 sbcl-1.5.5-1 python-psutil-5.6.3-1 hdd
temp-0.3.beta15.53-1 python-lxml-4.4.1-1 protobuf-3.7.0-1 protobuf-c-1.3.1-2 q
wt-6.1.4-2