我对在我的ubuntu系统上安装thrift 0.9.2感兴趣,这样我就可以访问fullcamel了。我使用的存储库似乎只有0.9.0版。我知道我可以从源代码构建,但我需要一种更容易自动化的方法来实现这一点,因为我需要能够将此版本作为ansible任务进行安装。目前,我有以下几个可能的任务:
- name: Install libthrift-java=0.9.0-1ubuntu1
apt: name=libthrift-java=0.9.0-1ubuntu1 state=present
- name: Install thrift-compiler=0.9.0-3
apt: name=thrift-compiler=0.9.0-3 state=present发布于 2014-07-29 05:58:49
如果你想从一个新的包中安装thrift,通常你可能会想要使用Launchpad和Ansible's apt_repository来添加更新的repos和包。然而,it doesn't look like thrift 0.9.2 is available on Launchpad。
或者,您可以分析the instructions given for installing Thrift from scratch。
https://stackoverflow.com/questions/25004300
复制相似问题