我已按照Ubuntu上Elixir站点上的说明进行操作,方法是下载并安装它们,erlang-solutions_1.0_all.deb
但在尝试安装时未找到安装目标。
$ sudo apt-get install elixir
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package elixir
apt-cache中没有匹配的目标
$ sudo apt-cache search elixir
elyxer - standalone LyX to HTML converter
libelixirfm-perl - perl implementation for Functional Arabic Morphology
python-elixir - Declarative Mapper for SQLAlchemy
Erlang解决方案资源库
$ ll /etc/apt/sources.list.d
total 12K
-rw-r--r-- 1 root root 183 Oct 29 23:38 erlang-solutions.list
-rw-r--r-- 1 root root 58 Nov 26 2013 getdeb.list
-rw-r--r-- 1 root root 458 Apr 20 2014 official-package-repositories.list
我正在运行基于Ubuntu 13.10(Saucy Salamander)的Linux Mint 16(Petra)
$ cat /etc/apt/sources.list.d/erlang-solutions.list
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb http://binaries.erlang-solutions.com/debian saucy contrib
$ sudo apt-get update | grep erlang
Ign http://binaries.erlang-solutions.com saucy InRelease
Hit http://binaries.erlang-solutions.com saucy Release.gpg
Hit http://binaries.erlang-solutions.com saucy Release
Hit http://binaries.erlang-solutions.com saucy/contrib amd64 Packages
Hit http://binaries.erlang-solutions.com saucy/contrib i386 Packages
Ign http://binaries.erlang-solutions.com saucy/contrib Translation-en_GB
Ign http://binaries.erlang-solutions.com saucy/contrib Translation-en
不知道为什么这个仓库没有为我提供elixir的安装目标。
如您所料,该软件包elixir
在Ubuntu 12.04,Ubuntu 14.04(可能是更高版本)和Debian 7以外的任何版本中均不可用。您可以查看Saucy的软件包列表,您会注意到该软件包不是那里。可信赖的存储库确实有它:
Package: elixir
Version: 0.13.3-1
Architecture: all
Maintainer: Erlang Solutions <[email protected]>
Installed-Size: 3291
Depends: erlang-base (>= 1:17.0) | erlang-base-hipe (>= 1:17.0) | esl-erlang (>= 1:17.0)
Section: contrib
Priority: optional
Homepage: http://elixir-lang.org
Filename: pool/elixir_0.13.3-1~ubuntu~trusty_amd64.deb
您应该做的是使用其中一种受支持的系统,这很好。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句