0

I've heard about this coala linting/static analysis tool, and I wanted to give it a try.

So I ran sudo apt-get install coala but that gave me the wrong program, that coala is some kind of compiler, not what I wanted at all.

What is the correct way to install coala

Frames Catherine White
  • 27,368
  • 21
  • 87
  • 137
  • 1
    Did you try reading the [Setup Details](https://coala.io/#details) page? (Which suggests a different command line, so I'm guessing the answer is either "no", or you did and you got some kind of error, but have chosen for some reason not to tell us about) – Damien_The_Unbeliever Jan 13 '17 at 07:16
  • @Damien_The_Unbeliever I actually did, this is kinda a staged question. I am checking that the [coala gitter channel](https://gitter.im/coala/coala) SO integration is working. See https://github.com/coala/engagement/issues/46. While also documenting a potentially common mistake on stackoverflow where it could be found easily via google. Feel free to extend your comment into an answer. – Frames Catherine White Jan 13 '17 at 07:28

2 Answers2

1

coala (the linter) is currently not packaged for ubuntu. You need to uninstall the coala package you have via apt, then you can install coala with all it's analysis using pip install coala-bears.

The full installation instructions are on https://coala.io/install including some hints about python virtualenvs.

I also filed an issue about your problem so it gets mentioned in our installation guide.

1

"Ubuntu Users - Do not use apt-get install coala for installing coala as that is different software." - see http://coala.readthedocs.io/en/latest/Users/Install.html

Use:
$ pip3 install coala
$ pip3 install coala-bears

Petra
  • 63
  • 1
  • 9