如何安装 Rigs of Rods?

如何安装 Rigs of Rods?

如何安装钓竿组(基于软体物理的开源车辆模拟器)?

我之前编译过 Gedit、Handbrake、XBMC 等应用程序,但似乎无法安装/编译 Rigs of Rods(及其一些依赖项)。这对我来说是一个相当大的挑战。

我也读过钓竿系列 wiki关于如何在 Linux 中编译,但没有成功。我使用的是 Ubuntu 12.04 64 位。

答案1

现在有一个 PPA,因此安装该程序很容易。

终端:

sudo add-apt-repository ppa:aapo-rantalainen/rigsofrods
sudo apt-get update
sudo apt-get install rigsofrods

然后您需要从 RoR 网站下载地形和车辆包。

来源

答案2

从旧的和废弃的 PPA 安装

Aapo Rantalainen 的 PPA似乎已被放弃,但我仍然可以基于现有的包使其工作:

sudo add-apt-repository ppa:aapo-rantalainen/rigsofrods
sudo sed -i -e "s/ $(lsb_release -sc) / quantal /" /etc/apt/sources.list.d/aapo-rantalainen-rigsofrods-*
sudo apt-get update
sudo apt-get install rigsofrods

从最新的上游源代码存储库安装

幸运的是钓竿组提供了一套易于使用的构建和安装脚本,针对 Ubuntu 和其他基于 Debian 的 Linux 发行版。

  1. 安装 Git 并下载构建脚本和源代码:

    sudo apt install git
    cd ~
    git clone https://github.com/RigsOfRods/ror-linux-buildscripts.git
    git clone -b 0.4.7.0 https://github.com/RigsOfRods/rigs-of-rods.git
    cd ror-linux-buildscripts
    
  2. 按照README.md当前目录:

    建造并安装鱼竿装置

    sh dependencies.sh
    sh game.sh
    

    更新至当前快照

    sh game.sh
    

    有关详细信息,请参阅README.md

相关内容