I've been trying to get some of my packages from Homebrew moved to Macports recently. One such package was the Crystal programming language. Unfortunately, sudo port install crystal doesn't work:

$ sudo port install crystal
Error: Port crystal not found

Likewise, port info and port search yield no info about the Crystal language:

$ port info crystal
Error: Port crystal not found
$ port search crystal
crystfel @0.6.1_6 (science)
    A suite of programs for processing serial crystallography data

gnome-chemistry-utils @0.14.17 (gnome, science, chemistry)
    This package provides a set of Gtk3-based applications for drawing and viewing molecules, crystals and spectra.

gpp4 @1.3.1_1 (science)
    macromolecular crystallography library

xcrysden @1.5.60_2 (science)
    X-windows CRYstalline Structures and DENsities

Found 4 ports.

Yet, when I search macports.org for crystal, I see it:

enter image description here

Here's the search URL.

What's going on? Why can't I install Crystal, yet I can see it on the website?

有帮助吗?

解决方案

Try updating Mac Ports using the command sudo port selfupdate. You can read more about updating and installing Mac Ports here.

许可以下: CC-BY-SA归因
不隶属于 apple.stackexchange
scroll top