How to install an older version of scala

后端 未结 5 1035
一向
一向 2021-02-02 09:59

I currently had installed scala 2.11.7 but in order to fix this issue, I have to install a older version of scala(2.10.5). When I try to install with b

5条回答
  •  日久生厌
    2021-02-02 10:56

    The following should work for Homebrew 0.9.5:

    Install Tapped version of Scala 2.10

    brew install homebrew/versions/scala210
    

    Unlink version of Scala 2.11 (if installed)

    brew unlink scala
    

    Link Tapped version of Scala 2.10

    brew link scala210 --force
    

    Check scala version

    scala -version
    

提交回复
热议问题