Tag: apt get

在WDMyCloud服务器上安装nodejs和npm

我想在我的WDMyCloud服务器上安装nodejs和npm,但是我遇到了问题。 服务器本身正在运行Debian GNU / Linux 7(wheezy)。 我能够运行sudo apt-get install nodejs而不会出错,但运行该命令后,出现以下消息: nodejs: error while loading shared libraries: libcares.so.2: ELF load command alignment not page-aligned 当试图运行sudo apt-get install npm ,它没有成功安装: The following packages have unmet dependencies: npm : Depends: node-gyp (>= 0.10.9) but it is not going to be installed E: Unable to correct problems, you have […]

什么版本的npm与nodejs 0.10一起工作?

我试图根据说明安装CartoDD http://cartodb.readthedocs.org/en/latest/install.html 它需要nodejs 0.10工作。 这是说明中指定的内容: sudo add-apt-repository ppa:cartodb/nodejs-010 && sudo apt-get update sudo apt-get install nodejs sudo apt-get install npm 它安装nodejs 0.10确定,但是当试图安装npm时它会给出这个错误信息: ~$ sudo apt-get install npm Reading package lists… Done Building dependency tree Reading state information… Done Some packages could not be installed. This may mean that you have requested an impossible situation or […]

准备一个复杂的Python项目提交到启动板

我试图把自己的头围绕在整个PPA的事情上,似乎每个人都是这样做的。 让我们来看一个像http://bokeh.pydata.org/这样的项目,它有一个node.js的依赖关系,并且把它做成一个.deb。 按照这个 指南 ,在这里的各种职位,我试图用stdeb来做到这一点: pypi-download bokeh tar xfz bokeh-0.7.0.tar.gz cd bokeh-0.7.0/bokehjs/ npm install grunt build cd .. python3 setup.py –command-packages=stdeb.command sdist_dsc 输出的结尾是 dh clean –with python3 –buildsystem=python_distutils dh_testdir -O–buildsystem=python_distutils debian/rules override_dh_auto_clean make[1]: Entering directory `/home/emre/Desktop/bokeh-0.7.0/deb_dist/bokeh-0.7.0' python3 setup.py clean -a /home/emre/Desktop/bokeh-0.7.0/deb_dist/bokeh-0.7.0/bokehjs ERROR: Cannot install BokehJS: files missing in `./bokehjs/build`. Please build BokehJS by running setup.py […]