How to start CLion on FreeBSD?

CLion bundles a few native components built for Linux, these binaries won't work on FreeBSD. Noticeable examples are:

  • JRE (you need to install it in order to launch CLion),
  • fsnotifier (you will be warned on startup that file sync may be slow),
  • libpty (required for running apps with controlling TTY),
  • CMake,
  • and GDB.

So to start at FreeBSD you need to:

- Install the necessary components: pkg install openjdk8 cmake gdb
- Edit clion-2016.3/bin/ and change run.processes.with.pty=false
- Start CLion and open Settings | Build, Execution, Deployment | Toolchains
- Specify CMake path: /usr/local/bin/cmake and GDB path: /usr/local/bin/gdb

1 comment

FreeBSD has replacement program for fsnotifier

pkg install intellij-fsnotifier

then edit bin/



Edited by Leon Greeff

Please sign in to leave a comment.

Have more questions?

Submit a request