<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[24,04没有humble怎么办]]></title><description><![CDATA[<p dir="auto">Ubuntu24,04安装ros2没有humble怎么办，只有rolling和jazzy要装哪一个？<strong>粗体字****粗体字</strong></p>
]]></description><link>https://fishros.org.cn/forum/topic/3174/24-04没有humble怎么办</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Jul 2026 01:35:43 GMT</lastBuildDate><atom:link href="https://fishros.org.cn/forum/topic/3174.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 18 Oct 2024 02:47:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 24,04没有humble怎么办 on Fri, 18 Oct 2024 04:23:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fishros.org.cn/forum/uid/12486">@869467665</a> jazzy</p>
]]></description><link>https://fishros.org.cn/forum/post/13379</link><guid isPermaLink="true">https://fishros.org.cn/forum/post/13379</guid><dc:creator><![CDATA[小鱼]]></dc:creator><pubDate>Fri, 18 Oct 2024 04:23:10 GMT</pubDate></item><item><title><![CDATA[Reply to 24,04没有humble怎么办 on Fri, 18 Oct 2024 02:48:38 GMT]]></title><description><![CDATA[<p dir="auto">在Ubuntu 24.04上安装ROS 2时，如果没有Humble版本可选，只有Rolling和Jazzy两个版本，您需要根据自己的需求选择合适的版本进行安装。以下是对这两个版本的简要介绍及安装建议：</p>
<h3>ROS 2 Rolling版本</h3>
<p dir="auto"><strong>特点</strong>：</p>
<ul>
<li>Rolling是ROS 2的一个滚动发布版本，它持续接收最新的功能和修复。</li>
<li>由于其滚动更新的特性，Rolling版本可能包含尚未稳定的新功能，因此更适合开发者和希望使用最新技术的用户。</li>
<li>Rolling版本可能包含尚未广泛测试的代码，因此在生产环境中使用时需要谨慎。</li>
</ul>
<p dir="auto"><strong>安装建议</strong>：</p>
<ul>
<li>如果您是一名ROS 2的开发者，希望紧跟技术前沿，测试最新功能，那么Rolling版本可能是一个不错的选择。</li>
<li>在安装前，请确保您了解Rolling版本的潜在风险，并准备好应对可能出现的兼容性问题。</li>
</ul>
<h3>ROS 2 Jazzy版本</h3>
<p dir="auto"><strong>特点</strong>：</p>
<ul>
<li>Jazzy是ROS 2的一个稳定发布版本，它经过了一段时间的测试和优化，提供了相对稳定和可靠的功能集。</li>
<li>Jazzy版本适合那些需要稳定运行的机器人应用程序，以及希望在生产环境中部署ROS 2的用户。</li>
</ul>
<p dir="auto"><strong>安装建议</strong>：</p>
<ul>
<li>如果您希望使用ROS 2来开发或部署稳定可靠的机器人应用程序，那么Jazzy版本将是更好的选择。</li>
<li>Jazzy版本提供了较为全面的文档和社区支持，有助于您更好地理解和使用ROS 2。</li>
</ul>
<h3>安装步骤（以Jazzy为例）</h3>
<p dir="auto">由于Ubuntu 24.04支持Jazzy版本，您可以按照以下步骤进行安装：</p>
<ol>
<li>
<p dir="auto"><strong>检查UTF-8编码</strong>：<br />
确保您的系统支持UTF-8编码，这有助于避免在安装过程中出现语言支持问题。</p>
</li>
<li>
<p dir="auto"><strong>启用Universe存储库</strong>：<br />
Ubuntu 24.04可能已自带Universe存储库，但您可以通过以下命令进行确认和启用（如果尚未启用）：</p>
<pre><code class="language-bash">sudo apt install software-properties-common
sudo add-apt-repository universe
</code></pre>
</li>
<li>
<p dir="auto"><strong>设置软件源</strong>：<br />
添加ROS 2的GPG密钥和存储库到您的APT源列表中：</p>
<pre><code class="language-bash">sudo apt update &amp;&amp; sudo apt install curl -y
sudo curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] http://packages.ros.org/ros2/ubuntu $(. /etc/os-release &amp;&amp; echo $UBUNTU_CODENAME) main" | sudo tee /etc/apt/sources.list.d/ros2.list &gt;/dev/null
</code></pre>
</li>
<li>
<p dir="auto"><strong>安装ROS 2 Jazzy</strong>：<br />
更新您的包列表，并安装ROS 2 Jazzy的桌面完整版（或根据您的需求选择其他版本）：</p>
<pre><code class="language-bash">sudo apt update
sudo apt upgrade
sudo apt install ros-jazzy-desktop
</code></pre>
</li>
<li>
<p dir="auto"><strong>配置环境</strong>：<br />
每次打开新的终端时，都需要运行以下命令来配置ROS 2环境（或者您可以将其添加到您的<code>.bashrc</code>文件中以自动配置）：</p>
<pre><code class="language-bash">source /opt/ros/jazzy/setup.bash
</code></pre>
</li>
<li>
<p dir="auto"><strong>验证安装</strong>：<br />
通过运行ROS 2的示例节点来验证安装是否成功。例如，您可以运行一个talker节点和一个listener节点来测试ROS 2的基本通信功能。</p>
</li>
</ol>
<p dir="auto">请注意，上述步骤是基于ROS 2官方文档和社区经验提供的通用指导。在实际安装过程中，您可能需要根据自己的系统配置和需求进行适当的调整。</p>
<hr />
<p dir="auto">以上为生成回答，仅供参考～</p>
]]></description><link>https://fishros.org.cn/forum/post/13375</link><guid isPermaLink="true">https://fishros.org.cn/forum/post/13375</guid><dc:creator><![CDATA[小伊]]></dc:creator><pubDate>Fri, 18 Oct 2024 02:48:38 GMT</pubDate></item></channel></rss>