This forum has been archived. All content is frozen. Please use KDE Discuss instead.
The Discussions and Opinions forum is a place for open discussion regarding everything related to KDE, within the boundaries of KDE Code of Conduct. If you have a question or need a solution for a KDE problem, please post in the apppropriate forum instead.

Standalone versions of KDE programs

Tags: None
(comma "," separated)
User avatar
MirceaKitsune
Registered Member
Posts
330
Karma
0
OS

Standalone versions of KDE programs

Mon May 05, 2014 9:42 pm
Since YIM no longer works in Pidgin for over a month and I prefer avoiding GTK on KDE, I decided to switch to Kopete today. The reason I avoided it is that I typically try to avoid KDE programs for activities I do systematically, rather than just system components. Mostly because I know that if for any reason I must switch to a Windows or Gnome / Xfce machine, I won't be able to use the program and its data there. KDE programs only come and work with KDE... unless the user is a good programmer or hacker.

This made me wonder something: Why is KDE a suite where all programs that it's distributed with depend on KDE as an entity? Why couldn't KDE simply be a package of different software, each with their own dependencies like Linux software in general? In other words, why "if I want to install Amarok I need to have all of KDE installed" rather than "if I want to install Amarok I only need libqt and other dependencies that Amarok individually requires"?

In that aspect, important KDE programs could also be downloaded and installed individually. If someone wanted Kopete on their Windows machine, they could simply download kopete_setup.exe and install it like the everyday program. If someone wanted Kate on a Gnome machine, they install only its package and if the QT libraries are present it works. If there's any part of the KDE framework that's needed, you install those specific packages only (Linux) or they're included in the setup (Windows).

Of course there are probably some KDE components which couldn't be made to work without KDE... like standalone Plasma Desktop or Kwin, which I imagine would be pretty weird. Still, maybe having some KDE programs be independent is possible to some extent. I've seen a lot of threads where people want to take Amarok / Kopete / Konversation / etc and use them on any platform and environment, and personally I think good programs like them should exist as standalone software too.

What do you think? Why wasn't this done yet, and is it a good or a bad idea? Any chance KDE might move toward such an approach anytime?
tosky
Registered Member
Posts
210
Karma
3
You can use KDE programs in any other desktop environment, provided you have the libraries installed. It has been like this... forever. Why do you think it's not possible?
If people still confuse "<program> needs KDE" with the correct "<program> needs KDE *libraries*", that's another story (Gnome programs requires their libraries too).


tosky, proud to be a member of KDE forums since 2008-Oct.
User avatar
MirceaKitsune
Registered Member
Posts
330
Karma
0
OS
tosky wrote:You can use KDE programs in any other desktop environment, provided you have the libraries installed. It has been like this... forever. Why do you think it's not possible?
If people still confuse "<program> needs KDE" with the correct "<program> needs KDE *libraries*", that's another story (Gnome programs requires their libraries too).


In that case I misunderstood some of what I read... or people who posted some articles have. Although standalone versions for Windows / non-KDE Linux aren't available for download officially, and to get Amarok / Kopete / etc everyone reported needing the full KDE framework. Kopete's website for example explicitly states "you need KDE installed to run this program", even if it mentions you can download the Kopete package alone. Perhaps the documentation and packaging can be tweaked and cleaned up a bit to make this a bit more certain.
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS
This is one of the main reasons why there was a change in KDE branding in 2009, see http://dot.kde.org/2009/11/24/repositioning-kde-brand for more information. Basically "KDE" should refer to the community, not particular software. KDE software will depend on the KDE Platform (to become Frameworks), but there is absolutely no need to have a KDE Plasma workspace installed just to run a KDE application. It is perfectly fine to run other non-KDE applications in a KDE Plasma workspace, and similarly there is no problem running KDE applications in a non-KDE workspace (such as GNOME Shell and Xfce, as well as other operating systems like Windows).

Of course, people are stubborn to change, so many still refer to "KDE" for the big collection of libraries, applications, and workspaces that get released together.

With Frameworks 5 the KDE libraries will be further modularized so that you only need to install the dependencies you actually need for a particular application.


Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.

10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts
User avatar
MirceaKitsune
Registered Member
Posts
330
Karma
0
OS
Hans wrote:This is one of the main reasons why there was a change in KDE branding in 2009, see http://dot.kde.org/2009/11/24/repositioning-kde-brand for more information. Basically "KDE" should refer to the community, not particular software. KDE software will depend on the KDE Platform (to become Frameworks), but there is absolutely no need to have a KDE Plasma workspace installed just to run a KDE application. It is perfectly fine to run other non-KDE applications in a KDE Plasma workspace, and similarly there is no problem running KDE applications in a non-KDE workspace (such as GNOME Shell and Xfce, as well as other operating systems like Windows).

Of course, people are stubborn to change, so many still refer to "KDE" for the big collection of libraries, applications, and workspaces that get released together.

With Frameworks 5 the KDE libraries will be further modularized so that you only need to install the dependencies you actually need for a particular application.


Nice... that is good to know. In that case it's probably more of an understanding as well as a distribution problem. The official page for Kopete which I linked earlier for example is hosted on the KDE website... yet even it hints that you need KDE to run Kopete. And if you search for "Kopete on Windows" or "Kopete on Gnome", you find threads saying you need KDE to run it, and tutorials on how to get KDE working on Windows so those specific applications can be used. At least I did... google tends to give different results for people at times.

But at least I know better now. I was starting to think that all programs included in KDE are rather modules / plugins of the KDE framework and can't run without it. If each program can run on its own and is treated like an application rather than just a plugin, it feels more motivating and certain to use applications that come with KDE :)
richardgladman
Registered Member
Posts
3
Karma
0
Forgive me for resurrecting this thread but my question feels relevant.

I run Xubuntu as I prefer Xfce to KDE (sorry guys) but I think that Kate is the best of breed text editor on any platform. When I try to install it, I get a huge list of dependencies most of which I can't imagine being to do with text editing so I tend to make do with an inferior editor.

Code: Select all
richard@andromeda-ascendant:~$ sudo apt-get install kate
[sudo] password for richard:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  linux-image-generic
Use 'apt-get autoremove' to remove it.
The following extra packages will be installed:
  consolekit docbook-xsl icoutils kate-data katepart kde-runtime
  kde-runtime-data kdelibs-bin kdelibs5-data kdelibs5-plugins kdoctools
  kubuntu-debug-installer libattica0.4 libbaloocore4 libbaloofiles4
  libbalooxapian4 libcanberra-pulse libdbusmenu-qt2 libdlrestrictions1
  libepub0 libkactivities-bin libkactivities-models1 libkactivities6
  libkateinterfaces4 libkatepartinterfaces4 libkcmutils4 libkde3support4
  libkdeclarative5 libkdecore5 libkdesu5 libkdeui5 libkdewebkit5 libkdnssd4
  libkemoticons4 libkfile4 libkhtml5 libkidletime4 libkio5 libkjsapi4
  libkjsembed4 libkmediaplayer4 libknewstuff3-4 libknotifyconfig4 libkntlm4
  libkparts4 libkpty4 libkrosscore4 libktexteditor4 libkubuntu0
  libkxmlrpcclient4 libnepomuk4 libnepomukcleaner4 libnepomukcore4abi1
  libnepomukquery4a libnepomukutils4 libntrack-qt4-1 libntrack0
  libpam-ck-connector libphonon4 libplasma3 libpolkit-qt-1-1 libpoppler-qt4-4
  libqapt2 libqapt2-runtime libqca2 libqjson0 libqmobipocket1 libsolid4
  libsoprano4 libssh-4 libstreamanalyzer0 libstreams0 libthreadweaver4
  libvirtodbc0 libzip2 nepomuk-core-data nepomuk-core-runtime
  ntrack-module-libnl-0 odbcinst odbcinst1debian2 oxygen-icon-theme phonon
  phonon-backend-gstreamer phonon-backend-gstreamer-common
  phonon-backend-gstreamer1.0 plasma-scriptengine-javascript qapt-batch
  shared-desktop-ontologies soprano-daemon virtuoso-minimal
  virtuoso-opensource-6.1-bin virtuoso-opensource-6.1-common
Suggested packages:
  dbtoepub docbook-xsl-doc-html docbook-xsl-doc-pdf docbook-xsl-doc-text
  docbook-xsl-doc docbook-xsl-saxon fop libsaxon-java libxalan2-java
  libxslthl-java xalan libterm-readline-gnu-perl libterm-readline-perl-perl
  khelpcenter4 konsole djvulibre-bin finger hspell libqca2-plugin-cyrus-sasl
  libqca2-plugin-gnupg libqca2-plugin-ossl phonon-backend-vlc
  phonon4qt5-backend-gstreamer
The following NEW packages will be installed
  consolekit docbook-xsl icoutils kate kate-data katepart kde-runtime
  kde-runtime-data kdelibs-bin kdelibs5-data kdelibs5-plugins kdoctools
  kubuntu-debug-installer libattica0.4 libbaloocore4 libbaloofiles4
  libbalooxapian4 libcanberra-pulse libdbusmenu-qt2 libdlrestrictions1
  libepub0 libkactivities-bin libkactivities-models1 libkactivities6
  libkateinterfaces4 libkatepartinterfaces4 libkcmutils4 libkde3support4
  libkdeclarative5 libkdecore5 libkdesu5 libkdeui5 libkdewebkit5 libkdnssd4
  libkemoticons4 libkfile4 libkhtml5 libkidletime4 libkio5 libkjsapi4
  libkjsembed4 libkmediaplayer4 libknewstuff3-4 libknotifyconfig4 libkntlm4
  libkparts4 libkpty4 libkrosscore4 libktexteditor4 libkubuntu0
  libkxmlrpcclient4 libnepomuk4 libnepomukcleaner4 libnepomukcore4abi1
  libnepomukquery4a libnepomukutils4 libntrack-qt4-1 libntrack0
  libpam-ck-connector libphonon4 libplasma3 libpolkit-qt-1-1 libpoppler-qt4-4
  libqapt2 libqapt2-runtime libqca2 libqjson0 libqmobipocket1 libsolid4
  libsoprano4 libssh-4 libstreamanalyzer0 libstreams0 libthreadweaver4
  libvirtodbc0 libzip2 nepomuk-core-data nepomuk-core-runtime
  ntrack-module-libnl-0 odbcinst odbcinst1debian2 oxygen-icon-theme phonon
  phonon-backend-gstreamer phonon-backend-gstreamer-common
  phonon-backend-gstreamer1.0 plasma-scriptengine-javascript qapt-batch
  shared-desktop-ontologies soprano-daemon virtuoso-minimal
  virtuoso-opensource-6.1-bin virtuoso-opensource-6.1-common
0 to upgrade, 93 to newly install, 0 to remove and 0 not to upgrade.
Need to get 64.3 MB of archives.
After this operation, 175 MB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.


Are you saying that with the KDE Framework 5 this will no longer be the case? If so, then it is something to look forward to.
User avatar
MirceaKitsune
Registered Member
Posts
330
Karma
0
OS
richardgladman wrote:Forgive me for resurrecting this thread but my question feels relevant.

I run Xubuntu as I prefer Xfce to KDE (sorry guys) but I think that Kate is the best of breed text editor on any platform. When I try to install it, I get a huge list of dependencies most of which I can't imagine being to do with text editing so I tend to make do with an inferior editor.

Code: Select all
richard@andromeda-ascendant:~$ sudo apt-get install kate
[sudo] password for richard:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  linux-image-generic
Use 'apt-get autoremove' to remove it.
The following extra packages will be installed:
  consolekit docbook-xsl icoutils kate-data katepart kde-runtime
  kde-runtime-data kdelibs-bin kdelibs5-data kdelibs5-plugins kdoctools
  kubuntu-debug-installer libattica0.4 libbaloocore4 libbaloofiles4
  libbalooxapian4 libcanberra-pulse libdbusmenu-qt2 libdlrestrictions1
  libepub0 libkactivities-bin libkactivities-models1 libkactivities6
  libkateinterfaces4 libkatepartinterfaces4 libkcmutils4 libkde3support4
  libkdeclarative5 libkdecore5 libkdesu5 libkdeui5 libkdewebkit5 libkdnssd4
  libkemoticons4 libkfile4 libkhtml5 libkidletime4 libkio5 libkjsapi4
  libkjsembed4 libkmediaplayer4 libknewstuff3-4 libknotifyconfig4 libkntlm4
  libkparts4 libkpty4 libkrosscore4 libktexteditor4 libkubuntu0
  libkxmlrpcclient4 libnepomuk4 libnepomukcleaner4 libnepomukcore4abi1
  libnepomukquery4a libnepomukutils4 libntrack-qt4-1 libntrack0
  libpam-ck-connector libphonon4 libplasma3 libpolkit-qt-1-1 libpoppler-qt4-4
  libqapt2 libqapt2-runtime libqca2 libqjson0 libqmobipocket1 libsolid4
  libsoprano4 libssh-4 libstreamanalyzer0 libstreams0 libthreadweaver4
  libvirtodbc0 libzip2 nepomuk-core-data nepomuk-core-runtime
  ntrack-module-libnl-0 odbcinst odbcinst1debian2 oxygen-icon-theme phonon
  phonon-backend-gstreamer phonon-backend-gstreamer-common
  phonon-backend-gstreamer1.0 plasma-scriptengine-javascript qapt-batch
  shared-desktop-ontologies soprano-daemon virtuoso-minimal
  virtuoso-opensource-6.1-bin virtuoso-opensource-6.1-common
Suggested packages:
  dbtoepub docbook-xsl-doc-html docbook-xsl-doc-pdf docbook-xsl-doc-text
  docbook-xsl-doc docbook-xsl-saxon fop libsaxon-java libxalan2-java
  libxslthl-java xalan libterm-readline-gnu-perl libterm-readline-perl-perl
  khelpcenter4 konsole djvulibre-bin finger hspell libqca2-plugin-cyrus-sasl
  libqca2-plugin-gnupg libqca2-plugin-ossl phonon-backend-vlc
  phonon4qt5-backend-gstreamer
The following NEW packages will be installed
  consolekit docbook-xsl icoutils kate kate-data katepart kde-runtime
  kde-runtime-data kdelibs-bin kdelibs5-data kdelibs5-plugins kdoctools
  kubuntu-debug-installer libattica0.4 libbaloocore4 libbaloofiles4
  libbalooxapian4 libcanberra-pulse libdbusmenu-qt2 libdlrestrictions1
  libepub0 libkactivities-bin libkactivities-models1 libkactivities6
  libkateinterfaces4 libkatepartinterfaces4 libkcmutils4 libkde3support4
  libkdeclarative5 libkdecore5 libkdesu5 libkdeui5 libkdewebkit5 libkdnssd4
  libkemoticons4 libkfile4 libkhtml5 libkidletime4 libkio5 libkjsapi4
  libkjsembed4 libkmediaplayer4 libknewstuff3-4 libknotifyconfig4 libkntlm4
  libkparts4 libkpty4 libkrosscore4 libktexteditor4 libkubuntu0
  libkxmlrpcclient4 libnepomuk4 libnepomukcleaner4 libnepomukcore4abi1
  libnepomukquery4a libnepomukutils4 libntrack-qt4-1 libntrack0
  libpam-ck-connector libphonon4 libplasma3 libpolkit-qt-1-1 libpoppler-qt4-4
  libqapt2 libqapt2-runtime libqca2 libqjson0 libqmobipocket1 libsolid4
  libsoprano4 libssh-4 libstreamanalyzer0 libstreams0 libthreadweaver4
  libvirtodbc0 libzip2 nepomuk-core-data nepomuk-core-runtime
  ntrack-module-libnl-0 odbcinst odbcinst1debian2 oxygen-icon-theme phonon
  phonon-backend-gstreamer phonon-backend-gstreamer-common
  phonon-backend-gstreamer1.0 plasma-scriptengine-javascript qapt-batch
  shared-desktop-ontologies soprano-daemon virtuoso-minimal
  virtuoso-opensource-6.1-bin virtuoso-opensource-6.1-common
0 to upgrade, 93 to newly install, 0 to remove and 0 not to upgrade.
Need to get 64.3 MB of archives.
After this operation, 175 MB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.


Are you saying that with the KDE Framework 5 this will no longer be the case? If so, then it is something to look forward to.


Woah... that is indeed quite a list. Totally proves my concern that at least for KDE4, any KDE program requires nearly every other KDE package. I'm also curious for the answer to your question too, and if KDE5 fixes this.
richardgladman
Registered Member
Posts
3
Karma
0
So with a bit of digging, I have partially answered my own question:

Code: Select all
sudo add-apt-repository ppa:neon/kf5
sudo apt-get update
richard@andromeda-ascendant:~$ sudo apt-get install project-neon5-kate
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  linux-image-generic
Use 'apt-get autoremove' to remove it.
The following extra packages will be installed:
  consolekit freetds-common gamin libgamin0 libgcrypt20 libodbc1
  libpam-ck-connector libpolkit-qt-1-1 libpq5 libsybdb5 libxcb-icccm4
  libxcb-image0 project-neon5-attica project-neon5-dbusmenu-qt
  project-neon5-karchive project-neon5-kauth project-neon5-kbookmarks
  project-neon5-kcodecs project-neon5-kcompletion project-neon5-kconfig
  project-neon5-kconfigwidgets project-neon5-kcoreaddons project-neon5-kcrash
  project-neon5-kdbusaddons project-neon5-kglobalaccel
  project-neon5-kguiaddons project-neon5-ki18n project-neon5-kiconthemes
  project-neon5-kio project-neon5-kitemmodels project-neon5-kitemviews
  project-neon5-kjobwidgets project-neon5-knotifications project-neon5-kparts
  project-neon5-kservice project-neon5-ktexteditor project-neon5-ktextwidgets
  project-neon5-kwallet project-neon5-kwidgetsaddons
  project-neon5-kwindowsystem project-neon5-kxmlgui project-neon5-phonon4qt5
  project-neon5-phonon4qt5-vlc project-neon5-qt5 project-neon5-solid
  project-neon5-sonnet
Suggested packages:
  rng-tools libmyodbc odbc-postgresql tdsodbc unixodbc-bin
The following NEW packages will be installed
  consolekit freetds-common gamin libgamin0 libgcrypt20 libodbc1
  libpam-ck-connector libpolkit-qt-1-1 libpq5 libsybdb5 libxcb-icccm4
  libxcb-image0 project-neon5-attica project-neon5-dbusmenu-qt
  project-neon5-karchive project-neon5-kate project-neon5-kauth
  project-neon5-kbookmarks project-neon5-kcodecs project-neon5-kcompletion
  project-neon5-kconfig project-neon5-kconfigwidgets project-neon5-kcoreaddons
  project-neon5-kcrash project-neon5-kdbusaddons project-neon5-kglobalaccel
  project-neon5-kguiaddons project-neon5-ki18n project-neon5-kiconthemes
  project-neon5-kio project-neon5-kitemmodels project-neon5-kitemviews
  project-neon5-kjobwidgets project-neon5-knotifications project-neon5-kparts
  project-neon5-kservice project-neon5-ktexteditor project-neon5-ktextwidgets
  project-neon5-kwallet project-neon5-kwidgetsaddons
  project-neon5-kwindowsystem project-neon5-kxmlgui project-neon5-phonon4qt5
  project-neon5-phonon4qt5-vlc project-neon5-qt5 project-neon5-solid
  project-neon5-sonnet
0 to upgrade, 47 to newly install, 0 to remove and 0 not to upgrade.
Need to get 36.4 MB of archives.
After this operation, 209 MB of additional disk space will be used.
Do you want to continue? [Y/n]


Much improved although I'm uncertain why phonon (a multimedia, multi-platform sound framework) is needed. My finger is hovering over the Y key even now...

I chickened out. It's not officially released yet. I went for the weekly build which is supposedly usable.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Phonon is used for audio notifications, which all KDE applications (including Kate) include support for.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
richardgladman
Registered Member
Posts
3
Karma
0
I read this first thing this morning and I thought "What? What? Why the heck* would a text editor need to know when I've finished listening to an album?" I was building up a good head of righteous steam and then I had a cup of coffee and realised that it is probably audible notifications for the visually impaired. So thanks for getting my heart pumping before I'd even had my morning caffeine xD

* I don't think I'd be allowed to say what I replaced with heck.


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot]