A fork from http://kaptain.sourceforge.net/. Honours go to author Zsolt Térek.
Kaptain is a universal graphical front-end for command line programs. It works on linux/UNIX platforms whereever Qt is available. Release 0.73 is using qmake and is compatible with Qt 4.
Someone writes a simple script (so called grammar) which describes the possible arguments for a command line program and Kaptain brings up a friendly dialog to the user to set up the command line.
This little repo:
- stores a copy of the source code
- provides some binary packages for installation
- provides instructions for compilation
- provides a Dockerfile for kaptain in a docker image
Currently, this repository provides 64-bit packages only.
Note: It becomes increasingly difficult to provide packages for recent distribution releases.
For this reason I stopped to provide new packages. x11docker does not use kaptain anymore.
Unless someone (maybe you?) ports kaptain
to QT5, I fear it will be abandoned.
kaptain is available in the repositories for Debian jessie: https://packages.debian.org/jessie/kaptain. The provided package can be installed on Debian stretch and buster, too. This package provided here is a copy from Debian jessie repository:
kaptain depends on Qt4 that is no longer available in Debian bullseye/testing. Instead, I provide a custom build with some statically linked Qt4 libs generated with Dockerfile.staticqt4_debian:
kaptain is available in repositories of Ubuntu 14.04: http://packages.ubuntu.com/trusty/kaptain. The provided packages can be installed on Ubuntu 16.04 and 18.04, too. The package provided here is a copy from Ubuntu repository. Most likely, the Ubuntu package of kaptain will work on other Ubuntu-based distributions like Linux Mint, too.
- Download package kaptain for Ubuntu.
- If you get an error about missing Qt dependencies, try the statical build for Debian bullseye/testing. Please report back if that causes issues.
This repository provides an rpm package for fedora. Compiled and packaged on fedora 25 with rpmbuild specification kaptain-0.73.spec. Tested on fedora 28.
This repository provides an rpm package for CentOS. Compiled and packaged on CentOS 7 with rpmbuild specification kaptain-0.73.spec.
As directly related, the rpm package provided for CentOS will most probably work on RHEL, too. Though, this is not tested yet.
This repository provides an rpm package for openSUSE. Compiled and packaged on openSUSE 42.3 LEAP with rpmbuild specification kaptain-0.73.spec.
The provided Dockerfile for kaptain is used for an automated built of x11docker/kaptain on docker hub. Example use: x11docker --hostdisplay --gpu --share YOURKAPTNFILE -- x11docker/kaptain YOURKAPTNFILE
pacman -S qt4 bison flex
qmake-qt4 kaptain.pro
make
make install
mv /usr/local/bin/kaptain /usr/bin
mv /usr/local/share/doc/kaptain /usr/share/doc
mv /usr/local/share/kaptain /usr/share/kaptain
mv /usr/local/share/man/man1/kaptain.1 /usr/share/man/man1
apt-get install libqt4-dev bison flex
export QT_SELECT=qt4
qmake kaptain.pro
make
make install
mv /usr/local/bin/kaptain /usr/bin
mv /usr/local/share/doc/kaptain /usr/share/doc
mv /usr/local/share/kaptain /usr/share/kaptain
mv /usr/local/share/man/man1/kaptain.1 /usr/share/man/man1
apt-get install libqt4-dev g++ bison flex
export QT_SELECT=qt4
qmake kaptain.pro
make
make install
mv /usr/local/bin/kaptain /usr/bin
mv /usr/local/share/doc/kaptain /usr/share/doc
mv /usr/local/share/kaptain /usr/share/kaptain
mv /usr/local/share/man/man1/kaptain.1 /usr/share/man/man1
dnf install qt-devel bison flex
qmake-qt4 kaptain.pro
make
make install
mv /usr/local/bin/kaptain /usr/bin
mv /usr/local/share/doc/kaptain /usr/share/doc
mv /usr/local/share/kaptain /usr/share/kaptain
mv /usr/local/share/man/man1/kaptain.1 /usr/share/man/man1
yum install qt-devel bison flex
qmake-qt4 kaptain.pro
make
make install
mv /usr/local/bin/kaptain /usr/bin
mv /usr/local/share/doc/kaptain /usr/share/doc
mv /usr/local/share/kaptain /usr/share/kaptain
mv /usr/local/share/man/man1/kaptain.1 /usr/share/man/man1
zypper install libqt4-devel bison flex
export QT_SELECT=qt4
qmake kaptain.pro
make
make install
mv /usr/local/bin/kaptain /usr/bin
mv /usr/local/share/doc/kaptain /usr/share/doc
mv /usr/local/share/kaptain /usr/share/kaptain
mv /usr/local/share/man/man1/kaptain.1 /usr/share/man/man1
rm /usr/bin/kaptain
rm -R /usr/share/doc/kaptain
rm -R /usr/share/kaptain
rm /usr/share/man/man1/kaptain.1
Unfortunately, kaptain is no longer maintained. As it is based on QT4 and not ported to QT5, it already disappears from official repositories. It is a quite useful tool and I am not aware of another one that is able to provide its features. Personally, I am using it as a graphical frontend for x11docker and some microscopy tools.
Is anyone out there who would like to port kaptain to QT5? :-)