OpenCobolIDE can be installed on Gentoo by using GnuCOBOL, Qt/PyQt, and pip.
The sequence below installs the compiler, Python Qt bindings, editor dependencies, and the IDE itself.
Install GnuCOBOL, pip, PyQt5, QScintilla, setuptools, and wheel:
sudo emerge --ask \ dev-lang/gnucobol \ dev-python/pip \ dev-python/pyqt5 \ dev-python/qscintilla \ dev-python/setuptools \ dev-python/wheel
Install the IDE into your user environment:
pip install --user opencobolide
If needed, add ~/.local/bin to your shell PATH:
echo 'export PATH=$HOME/.local/bin:$PATH' >> ~/.bashrc source ~/.bashrc
OpenCobolIDE
cobc -v
mkdir -p ~/.local/share/applications cat > ~/.local/share/applications/opencobolide.desktop <<'EOF' [Desktop Entry] Version=1.0 Name=OpenCobolIDE Comment=COBOL IDE Exec=/home/$USER/.local/bin/OpenCobolIDE Icon=utilities-terminal Terminal=false Type=Application Categories=Development; EOF
pip install --user pyqode.core pyqode.qt