LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-08-2019, 11:47 AM   #1
black-clover
Member
 
Registered: Jun 2017
Distribution: Devuan Daedalus, Debian Testing, SliTaz, Alpine Linux.
Posts: 206

Rep: Reputation: Disabled
slim down falkon dependencies


hello,

I want to install the Falkon browser on a minimal Debian testing machine.
Right now when I check the install it says I have to install.
Code:
root@mac:/# apt install falkon
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  liba52-0.7.4 libarchive13 libaribb24-0 libavformat58 libbasicusageenvironment1 libbluray2 libcddb2
  libdbusmenu-qt5-2 libdouble-conversion1 libdvbpsi10 libebml4v5 libevent-2.1-6 libfam0 libgles2 libgpgmepp6
  libgroupsock8 libixml10 libkf5archive5 libkf5auth-data libkf5auth5 libkf5codecs-data libkf5codecs5
  libkf5config-data libkf5configcore5 libkf5configgui5 libkf5configwidgets-data libkf5configwidgets5
  libkf5coreaddons-data libkf5coreaddons5 libkf5crash5 libkf5dbusaddons-data libkf5dbusaddons5
  libkf5guiaddons5 libkf5i18n-data libkf5i18n5 libkf5iconthemes-data libkf5iconthemes5 libkf5itemviews-data
  libkf5itemviews5 libkf5notifications-data libkf5notifications5 libkf5service-bin libkf5service-data
  libkf5service5 libkf5wallet-bin libkf5wallet-data libkf5wallet5 libkf5widgetsaddons-data
  libkf5widgetsaddons5 libkf5windowsystem-data libkf5windowsystem5 libkwalletbackend5-5 liblirc-client0
  liblivemedia64 liblua5.2-0 libmad0 libmatroska6v5 libmicrodns0 libminizip1 libmpeg2-4 libmtp-common
  libmtp9 libmysofa0 libnfs12 libopenmpt-modplug1 libpcre2-16-0 libphonon4qt5-4 libplacebo7
  libpolkit-qt5-1-1 libpostproc55 libprotobuf-lite17 libpulse-mainloop-glib0 libqt5core5a libqt5dbus5
  libqt5gui5 libqt5network5 libqt5positioning5 libqt5printsupport5 libqt5qml5 libqt5quick5
  libqt5quickwidgets5 libqt5sql5 libqt5sql5-sqlite libqt5svg5 libqt5texttospeech5 libqt5webchannel5
  libqt5webengine-data libqt5webenginecore5 libqt5webenginewidgets5 libqt5widgets5 libqt5x11extras5
  libqt5xml5 libre2-5 libresid-builder0c2a libsdl-image1.2 libsdl1.2debian libsidplay2 libspatialaudio0
  libspeexdsp1 libssh-gcrypt-4 libswscale5 libupnp13 libusageenvironment3 libva-wayland2 libvlc5 libvlccore9
  libwebpdemux2 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-shape0
  libxcb-xinerama0 libxcb-xkb1 libxcb-xv0 libxkbcommon-x11-0 phonon4qt5 phonon4qt5-backend-vlc vlc-data
  vlc-plugin-base vlc-plugin-video-output
Suggested packages:
  lrzip libbluray-bdj fam lirc qt5-image-formats-plugins qtwayland5 qt5-qmltooling-plugins
  phonon4qt5-backend-gstreamer libdvdcss2
Recommended packages:
  libaacs0 libkf5config-bin libkf5dbusaddons-bin libkf5iconthemes-bin kwayland-integration qtwayland5
  libmtp-runtime qttranslations5-l10n qt5-gtk-platformtheme geoclue-2.0 libgl1-mesa-glx libvlc-bin
  libproxy-tools xdg-utils
The following NEW packages will be installed:
  falkon liba52-0.7.4 libarchive13 libaribb24-0 libavformat58 libbasicusageenvironment1 libbluray2 libcddb2
  libdbusmenu-qt5-2 libdouble-conversion1 libdvbpsi10 libebml4v5 libevent-2.1-6 libfam0 libgles2 libgpgmepp6
  libgroupsock8 libixml10 libkf5archive5 libkf5auth-data libkf5auth5 libkf5codecs-data libkf5codecs5
  libkf5config-data libkf5configcore5 libkf5configgui5 libkf5configwidgets-data libkf5configwidgets5
  libkf5coreaddons-data libkf5coreaddons5 libkf5crash5 libkf5dbusaddons-data libkf5dbusaddons5
  libkf5guiaddons5 libkf5i18n-data libkf5i18n5 libkf5iconthemes-data libkf5iconthemes5 libkf5itemviews-data
  libkf5itemviews5 libkf5notifications-data libkf5notifications5 libkf5service-bin libkf5service-data
  libkf5service5 libkf5wallet-bin libkf5wallet-data libkf5wallet5 libkf5widgetsaddons-data
  libkf5widgetsaddons5 libkf5windowsystem-data libkf5windowsystem5 libkwalletbackend5-5 liblirc-client0
  liblivemedia64 liblua5.2-0 libmad0 libmatroska6v5 libmicrodns0 libminizip1 libmpeg2-4 libmtp-common
  libmtp9 libmysofa0 libnfs12 libopenmpt-modplug1 libpcre2-16-0 libphonon4qt5-4 libplacebo7
  libpolkit-qt5-1-1 libpostproc55 libprotobuf-lite17 libpulse-mainloop-glib0 libqt5core5a libqt5dbus5
  libqt5gui5 libqt5network5 libqt5positioning5 libqt5printsupport5 libqt5qml5 libqt5quick5
  libqt5quickwidgets5 libqt5sql5 libqt5sql5-sqlite libqt5svg5 libqt5texttospeech5 libqt5webchannel5
  libqt5webengine-data libqt5webenginecore5 libqt5webenginewidgets5 libqt5widgets5 libqt5x11extras5
  libqt5xml5 libre2-5 libresid-builder0c2a libsdl-image1.2 libsdl1.2debian libsidplay2 libspatialaudio0
  libspeexdsp1 libssh-gcrypt-4 libswscale5 libupnp13 libusageenvironment3 libva-wayland2 libvlc5 libvlccore9
  libwebpdemux2 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-shape0
  libxcb-xinerama0 libxcb-xkb1 libxcb-xv0 libxkbcommon-x11-0 phonon4qt5 phonon4qt5-backend-vlc vlc-data
  vlc-plugin-base vlc-plugin-video-output
0 upgraded, 123 newly installed, 0 to remove and 9 not upgraded.
Need to get 70.0 MB of archives.
After this operation, 271 MB of additional disk space will be used.
Do you want to continue? [Y/n]
which seems like a lot of stuff.
I have already disabled installing "suggested" and "recomended" packages in apt.
what makes me curious is that on A Linuxrch the list of dependencies for Falkon is rather small:

qt5-svg
qt5-webengine
qt5-x11extras
extra-cmake-modules (make)
kwallet (make)
libgnome-keyring (make)
pyside2 (make)
qt5-tools (make)
shiboken2 (make)

whereas the Debian website lists more:

dep: libc6 (>= 2.14) [amd64]
GNU C Library: Shared libraries
also a virtual package provided by libc6-udeb
dep: libc6 (>= 2.17) [arm64]
dep: libc6 (>= 2.4) [not amd64, arm64]
dep: libgcc1 (>= 1:3.0) [amd64, arm64]
GCC support library
dep: libgcc1 (>= 1:3.5) [armhf]
dep: libgcc1 (>= 1:4.2) [i386, mipsel]
dep: libkf5wallet-bin
Secure and unified container for user passwords.
dep: libkf5wallet5 (>= 4.96.0)
Secure and unified container for user passwords.
dep: libqt5core5a (>= 5.8.0) [not amd64, i386]
Qt 5 core module
dep: libqt5core5a (>= 5.9.0~beta) [amd64, i386]
dep: libqt5dbus5 (>= 5.0.2)
Qt 5 D-Bus module
dep: libqt5gui5 (>= 5.7.0)
Qt 5 GUI module
dep: libqt5network5 (>= 5.0.2)
Qt 5 network module
dep: libqt5positioning5 (>= 5.6.0)
Qt Positioning module
dep: libqt5printsupport5 (>= 5.0.2)
Qt 5 print support module
dep: libqt5qml5 (>= 5.0.2)
Qt 5 QML module
dep: libqt5quick5 (>= 5.0.2)
Qt 5 Quick library
dep: libqt5quickwidgets5 (>= 5.4.0)
Qt 5 Quick Widgets library
dep: libqt5sql5 (>= 5.0.2)
Qt 5 SQL module
dep: libqt5sql5-sqlite
Qt 5 SQLite 3 database driver
dep: libqt5webchannel5 (>= 5.6.1)
Web communication library for Qt
dep: libqt5webenginecore5 (>= 5.9.0)
Web content engine library for Qt - Core
dep: libqt5webenginewidgets5 (>= 5.9.0)
Web content engine library for Qt - Widget
dep: libqt5widgets5 (>= 5.7.0)
Qt 5 widgets module
dep: libqt5x11extras5 (>= 5.6.0)
Qt 5 X11 extras
dep: libssl1.1 (>= 1.1.0)
Secure Sockets Layer toolkit - shared libraries
dep: libstdc++6 (>= 5)
GNU Standard C++ Library v3
dep: libxcb1
X C Binding

my question is:

Is there a way to slim down the number of packages installed without affecting Falkon functionality?
 
Old 02-08-2019, 11:59 AM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by black-clover View Post
Is there a way to slim down the number of packages installed without affecting Falkon functionality?
Not in my opinion. Of course you could miss out the dependencies that involve specific functionality that you would never use (and change the package control file to exclude these as dependencies) but you've have to be very knowledgeable about the program and prepared for error messages about missing libraries.

Naturally, the number of dependencies a package will want to install depends on how many of these dependencies already exist on your system. The fact that you're running a minimal Debian system may explain why there are so many dependencies listed and also why less are listed on your other system which may have many already installed.

What is "A Linuxrch"?
 
Old 02-08-2019, 12:49 PM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
^ i think they mean "ArchLinux"

anyhow, it's quite possible that a simple "depends on KDE" just wants to pull in all of KDE, which is a lot.
But falkon does not require the whole KDE desktop to function correctly.

anyhow, i'd look at falkon's PKGBUILD from the AUR, maybe you can figure out how to adapt that to build from source on debian.
 
Old 02-08-2019, 10:26 PM   #4
black-clover
Member
 
Registered: Jun 2017
Distribution: Devuan Daedalus, Debian Testing, SliTaz, Alpine Linux.
Posts: 206

Original Poster
Rep: Reputation: Disabled
Thanks for the feedback,

yes, I meant Arch Linux, sorry about the misspell.
AUR seems like a good starting point.
Seems like starting with the minimal deps listed in Arch Linux package description and going up by trial and error until it works might be the way to go.
Also, on the same system, the difference in the size of MB download required compared to other browsers is staggering:

falkon 272
chromium 191
firefox 171
epiphany 84
midori 82
luakit 75
 
Old 02-08-2019, 11:42 PM   #5
JWJones
Senior Member
 
Registered: Jun 2009
Posts: 1,444

Rep: Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709
Geez, I just drilled down the rabbit hole for falkon (3.0.1) on slackbuilds.

Code:
qt5 (5.9.7)
extra-cmake-modules (5.51.0) 
libxkbcommon (0.8.2)
libinput (1.12.6)
graphviz (2.40.1)
meson (0.49.0)
python3 (3.6.7)
ninja (1.9.0)
pyudev (0.21.0)
python-evdev (1.1.2)
libwacom (0.32)
Not too bad, but this is probably in addition to a regular, full installation of 14.2, which I never do. I usually eliminate KDE entirely. Probably need to remove KDE4 for qt5?

Maybe dillo instead.
 
Old 02-09-2019, 09:07 AM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by black-clover View Post
Thanks for the feedback,

yes, I meant Arch Linux, sorry about the misspell.
AUR seems like a good starting point.
Seems like starting with the minimal deps listed in Arch Linux package description and going up by trial and error until it works might be the way to go.
Also, on the same system, the difference in the size of MB download required compared to other browsers is staggering:

falkon 272
chromium 191
firefox 171
epiphany 84
midori 82
luakit 75
not sure what you're on about, but i have falkon installed on my vanilla archlinux system and it definitely did not pull in 272 MiB of dependencies.
It depends only on "qt5-webengine qt5-x11extras qt5-svg" and its own install size is 11.72 MiB.
It is definitely lighter in every sense compared to the big players chrom* and *fox.
 
Old 02-09-2019, 02:45 PM   #7
black-clover
Member
 
Registered: Jun 2017
Distribution: Devuan Daedalus, Debian Testing, SliTaz, Alpine Linux.
Posts: 206

Original Poster
Rep: Reputation: Disabled
ondoho

yes, the amount of download required is what surprised me too, expecially considering I have suggested and recommended packages turned off in apt configuration.
It is a very simple Debian Testing machine with Jwm and little else.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Guess what? You can have even the DevTools (Web Inspector) like in the Chromium, in the Falkon web-browser from Eric's latest Plasma5 Darth Vader Slackware 10 04-25-2018 12:52 PM
LXer: Bleachbit, Falkon, Ubuntu 18.04 Flavour Betas, Albert, Linux From Scratch | This Week in Linux 23 LXer Syndicated Linux News 0 03-12-2018 01:31 AM
slim login problem - anyone succeed in configuring slim? rkrishna Slackware 20 02-18-2008 06:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration