(原)ubuntu16中安装moses

转载请注明出处:

http://www.cnblogs.com/darkknightzh/p/5653186.html

在ubuntu14中,可以使用下面的语句安装moses:

luarocks install moses

但是在ubuntu16中,一直提示权限不够:

如果使用sudo的话,好像会提示没安装很多的其他东西。。。(记不清了)

因而在ubuntu16中使用下面的方法:

1. 下载Moses工程(使用git或者直接下载并解压均可):

git clone git://github.com/Yonaba/Moses.git

直接下载网址:http://yonaba.github.io/Moses/

2. 进入Moses文件夹:

cd Moses

3. 打开Moses之后,会发现里面有rockspec文件夹,在rockspec文件夹里面有不同版本的后缀为rockspec的文件)

4. 使用如下命令,安装moses:

luarocks install rockspec/moses-1.4.0-1.rockspec

最终安装成功。唉,开始在ubuntu16上弄了2个小时,都没弄好。。。

时间: 2024-07-29 18:36:21

(原)ubuntu16中安装moses的相关文章

(原)Ubuntu16中安装cuda toolkit

转载请注明出处: http://www.cnblogs.com/darkknightzh/p/5655957.html 参考网址: https://devtalk.nvidia.com/default/topic/862537/cuda-setup-and-installation/installing-cuda-toolkit-on-ubuntu-14-04/ http://unix.stackexchange.com/questions/38560/gpu-usage-monitoring-

(原)Ubuntu16 中安装torch版的cudnn

转载请注明出处: http://www.cnblogs.com/darkknightzh/p/5668471.html 参考网址: https://devtalk.nvidia.com/default/topic/912765/cudnn-install-error/ https://github.com/soumith/cudnn.torch 这个标题也许不太合适,反正需要先安装nvidia的cudnn,然后在安装torch的cudnn(称作解释器还是什么吧) 1. 去nvidia官网下载cu

(原+转)ubuntu16中安装opencv2.4.11

转载请注明出处: http://www.cnblogs.com/darkknightzh/p/5638117.html 参考网址: http://www.cnblogs.com/jeakon/archive/2013/05/08/3066469.html http://my.oschina.net/u/1757926/blog/293976 1 预先安装一些软件: sudo apt-get install build-essential cmake libgtk2.0-dev pkg-confi

(原)ubuntu中安装kate

转载请注明出处: http://www.cnblogs.com/darkknightzh/p/6339642.html 参考网址: https://kate-editor.org/build-it/#linux 1. 安装依赖项: sudo apt install qtbase5-dev qtscript5-dev extra-cmake-modules plasma-framework-dev libkf5crash-dev libkf5config-dev libkf5activities-

(原)Ubuntu14中安装GraphicsMagick

转载请注明出处: http://www.cnblogs.com/darkknightzh/p/5661439.html 参考网址: http://comments.gmane.org/gmane.comp.video.graphicsmagick.core/514 http://www.graphicsmagick.org/INSTALL-unix.html https://github.com/clementfarabet/graphicsmagick http://www.cnblogs.c

在VMWare中安装了Ubuntu16.04,想要 Win10 中通过 SecureCRT 来操作

在 VMWare 中安装了 Ubuntu 16.04,想要 Win10 中通过 SecureCRT 来操作.在网上查找了说是 Ubuntu 默认未安装 ssh-server,只有 ssh-client,所以在 Ubunta 中安装 ssh-server 就成了首要的任务.Ubunta 中可以上网,但使用如下命令: sudo apt-get install openssh-server 总是失败. 1 先是提示: Reading package lists... Done Building dep

虚拟机WMWare12.5中安装Ubuntu16.04LTS并建立嵌入式Linux开发环境

1.在Win10中安装VMWare12.5: 2.在VMWare12.5中安装32位Ubuntu 16.04 LTS: 3.安装VMWare Tools: 客户操作系统Ubuntu安装完成之后,在VMWare下点击VM->Install VMWare tools,然后Ubuntu中就会将VMWare Tools的iso文件载入到虚拟光驱中,将其中的tar文件拷贝到~/tmp目录下,解压之,并运行:sudo ./vmware-install.pl,然后一路回车即可. 安装好VMWare Tools

Ubuntu16.04安装tensorflow+安装opencv+安装openslide+安装搜狗输入法

Ubuntu16.04在cuda以及cudnn安装好之后,安装tensorflow,tensorflow以及opencv可以到网上下载对应的安装包并且直接在安装包所在的路径下直接通过pip与conda进行安装,如下图所示: 前提是要下载好安装包.安装好tensorflow之后还需要进行在~/.bashrc文件中添加系统路径,如下图所示 Openslide是医学图像一个重要的库,这里给出三条命令进行安装 sudo apt-get install openslide-tools sudo apt-g

Ubuntu16.04安装opencv for python/c++

Ubuntu16.04安装opencv for python/c++ 网上关于opencv的安装已经有了不少资料,但是没有一篇资料能让我一次性安装成功,因此花费了大量时间去解决各种意外,希望这篇能给一些人带去便利,节省时间. 1.安装OpenCV所需的库 1 sudo apt-get install build-essential 2 sudo apt-get install cmake git libgtk2.0-dev pkg-config libavcodec-dev libavforma