1

This question was off-topic on Unix & Linux so I decided to post it here. I am using Windows 8.1 and I don't use Linux so I have never installed something like Cygwin even though I heard about it many times. I want to install a program called "Cirkuit". It is a KDE4 GUI-app that creates circuit diagrams and converts them into Latex code. Here is the official website of the program.

How to install all the required stuff to make it up and running on a Windows PC so that I can get back to writing Latex documents.

  • 1
    I don't think Cygwin will be enough. KDE requires a lot of infrastructure. KDE has an ongoing project to port their software to Windows, but I don't know what the status is. This would be a good place to start: community.kde.org/Windows. If your computer has the resources, you could install Linux with KDE in a VM, or just install it dual boot or as a portable USB-based linux system. – fixer1234 Feb 7 at 1:13
  • @fixer1234 I really thought like I want to avoid to install a VM because it makes no sense to install a VM just because of one single program I intend to use. But according to your explanation, this is the safest option, right? – billyandriam Feb 7 at 1:32
  • I would check out that link first. It might be possible to do it in Windows. If not, and if you don't need to run it concurrent with Windows and it's just the one program, I'd be tempted to stick a bare-bones Linux KDE distro on a flash drive and run it from there. – fixer1234 Feb 7 at 1:43
  • There is no rush. I'd be very grateful of your help to install Cirkuit since I am beginner in this. – billyandriam Feb 7 at 1:54
  • 1
    Bummer. As of 5 mos ago, "WSL does not aim to support GUI desktops or applications (e.g. Gnome, KDE, etc.)". More info: docs.microsoft.com/en-us/windows/wsl/faq. It sounds like Microsoft doesn't "aim to support " it, but people have had some level of success making it do it for some DEs. – fixer1234 Feb 7 at 7:18
3

In general it is possible to compile a program from source in cygwin if it runs in Linux.

The method is the same as reported on https://wwwu.uni-klu.ac.at/magostin/cirkuit.html without the sudo portion that in cygwin does not exist:

tar xzvf cirkuit-x.y.z.tar.gz
cd cirkuit-x.y.z
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
make
make install 

of course you will need to install all needed tools https://cygwin.com/cygwin-ug-net/setup-net.html#setup-packages

You will need as minimum the compiler gcc-core plus cmake and make plus the package that contains kde4-config.

 $ cygcheck -p bin/kde4-config
Found 6 matches for bin/kde4-config
...
libkdecore5-4.14.38-3 - libkdecore5: KDE4 application framework

The suggested packages for Debian

texlive-latex-base texlive-latex-recommended texlive-pstricks texlive-base-bin texlive-extra-utils preview-latex-style m4 ghostscript pdf2svg cmake kdelibs5-dev libqt4-dev libpoppler-qt4-dev

have equal or similar names in Cygwin. As example:

libpoppler-qt4-dev -> libpoppler-qt4-devel

the full list of available packages: https://cygwin.com/packages/package_list.html

  • @Whoa. I can't thank you enough for this. This is my first program installation using cygwin so please can you be more explicit just for this time? I mean I don't know for example how I should download the required packages in the first place. – billyandriam Feb 8 at 16:40
  • I didn't understand the cygcheck -p bin/kde4-config command. What information does this give? And @matzeri please can you list up the suggested Debian package names in Cygwin. I cannot find some of them and it is confusing for me. – billyandriam Feb 8 at 16:56
  • It provides the name of packages that contain bin/kde4-config . So a command kde4-config in a bin directory – matzeri Feb 8 at 17:06
  • Sorry for my ignorance as I am no Linux user. I just needed Cikuit to run on my Windows PC and now I am stuck. – billyandriam Feb 8 at 17:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.