You are not logged in.

#1 2023-01-27 14:37:59

msrx111
Member
Registered: 2023-01-27
Posts: 4

Package dependencies

I am using Linux Distributions since 2002. Archlinux ist now for two years on my Laptop, my Fileserver and other Computers... Lately I decided to remove my KDE Desktops, as I am tired of having hundreds of programs for which I have no use. Now I am trying LXDE. I am looking for a CD Burning Program. K3B Brasero and XF-Burn are interesting. But if I want to install KDB The Following Dependencies will be installed:

Pakete (47) attica-5.102.0-1  convertlit-1.8-11  dmraid-1.0.0.rc16.3-14  ebook-tools-0.2.2-7  gptfdisk-1.0.9-2  iniparser-4.1-4  karchive-5.102.0-1  kbookmarks-5.102.0-1  kcmutils-5.102.0-1
            kcompletion-5.102.0-1  kcrash-5.102.0-1  kdeclarative-5.102.0-1  kded-5.102.0-1  kfilemetadata-5.102.0-1  kglobalaccel-5.102.0-1  kiconthemes-5.102.0-1  kio-5.102.0-1
            kitemviews-5.102.0-1  kjobwidgets-5.102.0-1  knewstuff-5.102.0-1  knotifyconfig-5.102.0-1  kpackage-5.102.0-1  kservice-5.102.0-1  ktextwidgets-5.102.0-1  kwallet-5.102.0-1
            kxmlgui-5.102.0-1  libaio-0.3.113-1  libatasmart-0.19-5  libblockdev-2.28-1  libbytesize-2.7-1  libkcddb-22.12.1-1  libmusicbrainz5-5.1.0-5  libsamplerate-0.2.2-1
            libzip-1.9.2-1  lvm2-2.03.18-4  mdadm-4.2-2  media-player-info-24-2  ndctl-75-1  poppler-qt5-23.01.0-3  qca-qt5-2.3.5-2  solid-5.102.0-1  sonnet-5.102.0-1  syndication-5.102.0-1
            thin-provisioning-tools-0.9.0-1  udisks2-2.9.4-1  volume_key-0.3.12-7  k3b-1:22.12.1-1

It' s clear to me, that there will be some KDE libs be installed. But dmraid, for Hardware Raid, mdadm for software Raids, Kwallet, for Password saving? Are you sure?

If I install Brasero:

Pakete (22) cdrdao-1.2.4-2  cdrtools-3.02a09-5  dmraid-1.0.0.rc16.3-14  dvd+rw-tools-7.1-9  fuse-common-3.13.0-1  fuse3-3.13.0-1  gcr-3.41.1-3  gptfdisk-1.0.9-2  gvfs-1.50.3-1
            iniparser-4.1-4  libaio-0.3.113-1  libatasmart-0.19-5  libblockdev-2.28-1  libbytesize-2.7-1  lvm2-2.03.18-4  mdadm-4.2-2  ndctl-75-1  thin-provisioning-tools-0.9.0-1
            totem-pl-parser-3.26.6-2  udisks2-2.9.4-1  volume_key-0.3.12-7  brasero-3.12.3+r24+gd01ba738-1

Again there will be installed dmraid and mdadm. You are kidding me. What is the sense of such dependencies, which have nothing to do with my intention to burn CDs.....

XF-Burn has none of such silly dependencies, so I have installed this for now.

I would be happy, if someone could explain...

Last edited by msrx111 (2023-01-27 14:50:38)

Offline

#2 2023-01-27 14:41:00

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,511
Website

Re: Package dependencies

Please edit your post to properly use code tags.

As for your question, what do you want explained - packages do tend to be built in arch with most option features enabled.  You are free to rebuild your own from the ABS.  If you want something just to burn CDs, your looking at the wrong packages.  You may be intrested in cdrtools.

Last edited by Trilby (2023-01-27 14:43:42)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2023-01-27 14:47:52

msrx111
Member
Registered: 2023-01-27
Posts: 4

Re: Package dependencies

I want to have an explanation why there are some useless package dependencies, which have nothing to do with CD Burning. Simple Question.... Tell me for what I need dmraid or mdadm for CD Burning, while pacman wants to install this packages when I want to install a CD Burning Programm....

Offline

#4 2023-01-27 14:54:14

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,616

Re: Package dependencies

They get pulled in by the respective dependency chain. If you do not want that then use a different program. dmraid and friends are pulled in by udisks and friends which are used by most of these tools to provide detection of the blockdevice from an user perspective (i.e. your CD-ROM drive). If you want an exact answer run  pactree on the tool you just installed you will see what exactly pulls in what and for which reason.

Obsessing over dependenies and package counts isn't really worth it and on Arch you explicitly sign up for getting the entire feature set, so nothing of this is in any way surprising, if you want more fine grained deps, use Debian or go all in and use Gentoo.

FWIW for k3b the main kicker is knewstuff, while this might break horribly and you can't complain if k3b doesn't start, you'll decrease this drastically with a

pacman -S  k3b --assume-installed knewstuff

Last edited by V1del (2023-01-27 15:00:56)

Offline

#5 2023-01-27 14:57:04

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,511
Website

Re: Package dependencies

Again, please use code tags for code, not bold tags.

You can look at the dependency tree with pactree and see for yourself that brasero depends on gvfs which is a virtual filesystem implemetation.  That makes sense for some uses of cd burning.  Gvfs in turn depends on udisks2, and that on libblockdev, and that in turn on dmraid.

The fact that you don't need it for your current use doesn't mean that no one else does.  Packages are not built just for you unless you build them yourself which you are free to do.

Arch packages (again) often include a lot of optional build time features.  Packages that are part of one of the major desktops even more so as they are deliberately interconnected with other components of that desktop.  Some users like this and see this as a feature.  I (perhaps like you) am not one of those users.  But for us there are different packages that are not so intertwined with the DEs.  Use one of the options that is better suited to your goals - don't worry about options existing for other people with different goals.

Last edited by Trilby (2023-01-27 15:01:03)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#6 2023-01-27 15:13:02

msrx111
Member
Registered: 2023-01-27
Posts: 4

Re: Package dependencies

Thank you for this explanation, which explains, why I don't want to have KDE or Gnome in future on my PCs. Either you get it al including hundreds of for me useless programs, or you don't want this. 
I understand that this dependencies are useful for someone and for others not. I have to find other programs with less dependencies, as I want to have only programs I have use for on my PCs.

Offline

#7 2023-01-27 16:00:21

seth
Member
Registered: 2012-09-03
Posts: 50,902

Re: Package dependencies

https://wiki.archlinux.org/title/Optica … with_a_GUI

nb. that most of that code is today rotten.
Probably related to the fact that I've an unopened box of TAY that I bought in a panic when they announced production stop.

Offline

#8 2023-01-27 16:22:56

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,511
Website

Re: Package dependencies

I do love the oxymoron from the brasero description: "...for the GNOME desktop that is designed to be as simple as possible"


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#9 2023-01-27 17:21:55

msrx111
Member
Registered: 2023-01-27
Posts: 4

Re: Package dependencies

@seth
Thanks for the link. There are some programs I will have to look at. Especially the cli programs are very interesting. Most of them may follow the Linux Motto "One tool for one special task".
@Trilby
[...]"as simple as possible "[...] LOL

Offline

#10 2023-01-28 21:52:31

teckk
Member
Registered: 2013-02-21
Posts: 519

Re: Package dependencies

I am looking for a CD Burning Program.

https://man.archlinux.org/man/growisofs.1
https://man.archlinux.org/man/mkisofs.8

My 2 cents.

pacman -Si dvd+rw-tools
growisofs -use-the-force-luke=tty -Z /dev/sr0 -J -r -speed=8 -dvd-compat -pad -graft-points /path/file1 /path/file2

growisofs -dvd-compat -speed=8 -use-the-force-luke=tty -Z /dev/sr0=/path/file.iso

genisoimage -o output.iso -r -J /path/to/files/*

Doesn't matter what DE/WM, they work without fuss, they work without toolkit problems, and are easily scriptable.

Offline

Board footer

Powered by FluxBB