I would like to install (another) instance of 15.3 without Baloo and Texlive. But on installation each indicates many, many co-dependencies.
In the past I have used zypper to ‘addlock’, but this leaves these on my computer (but blocked; inoperable). What I really want is to omit them
entirely. Any means to accomplish this and bypass “dependency hell”? TIA for advice. — rob
Here the only package installed having ‘textlive’ in it’s name is textlive-lm-fonts. I do not know why that one is there. The others, starting with textlive itself, are not installed, nor are they locked. Nor can I remember I ever did something to not install them (e.g. during installation, which was btw already far before 15.3).
Thus I can not confirm that removing texlive does any harm. I do not even understand why it is installed when you are not interested in it.
For balloo, there are several packages which have baloo5 in their name and are installed here. Strange enough there is no package named just baloo5. I assume that balloo is very much a dependency of KDE and that removing it might not be a good idea. I think it is better to inform your KDE users how to switch off the search function of KDE if they do not need it.
HTH
When you lock a package (zypprr/YaST), that package will not be installed, or when already there, it will not be upfated.
This locking does not do anything to make it “inoperable”.
If you go to the software section during install, you can deselect the packages that you don’t want. And you can actually set it to not install recommends during the install. I’ve never actually tried that, but maybe it helps.
For me, I just allow it to install, but I don’t use the unwanted packages. The small amount of disk space that they use doesn’t bother me.
“And you can actually set it to not install recommends during the install” Thanks for all advice. Will try to skip recommends, see if it works next week.
Merry Christmas to all and a Healthy, Prosperous New Year! — rob
To prevent some packages from installing mark them as “taboo”, not “locked”. To set taboo mark previously unselect package (blank mark).
It is possible to install OS without any “texlive*” packages.
It is possible to install OS without any “baloo*” packages if you choose to not install KDE.
I actually tried this. I installed Leap 15.4 Alpha. During the software selection part of install, I went to the “Dependencies” menu and deselected installing recommends.
This was the fastest install that I have ever done, because so little was installed.
When I rebooted, I got a text grub menu. And then I was booted to the command line. KDE was installed, but with no easy way to get to it.
I then repeated the install. This time, I selected the grub2-opensuse-branding package. And I selected “sddm” so that I would have a way of getting into KDE. I selected a few additional packages, such as “xterm”.
The install was again very fast. This time I got a better grub2 boot menu. And I got a graphic login screen which logged me into KDE. But there was no usual menu for starting applications. Evidently I needed to select some more packages to install.
This was all done in a virtual machine, intended as a throwaway. But I think I follow my more usual practice of allowing recommends in future. It isn’t worth the effort to select all the packages I want, when it has already been provided by the recommends.
I feel your pain regarding the use of texlive using zypper/yast2.
Instead of using zypper, I have resorted to installing texlive 2021 using their standard installer. It was less daunting than I anticipated, but it made the updates to texlive completely SEPARATE from updates to openSUSE. I have chosen this route and avoided the headache from
sudo zypper up
taking forever to update ALL the texlive packages.
https://tug.org/texlive/doc/texlive-en/texlive-en.html
tar xf install-tl-unx.tar.gz
cd /path/to/texlive/install-tl-20211116
perl install-tl -gui
- installation type selected :: medium (+1GiB)
- installation location selected :: /path/to /texlive /2021
- documentation start point :: /path/to/texlive/2021/index.html
Additional installation methods are described here:
https://accelconf.web.cern.ch/workshop99/Proceedings/Goossens.pdf
Now I simply source the following lines in a new BASH terminal session prior to using “pdflatex” or whichever programs from texlive that you intend to use.
Make your own adjustments to your INSTALL_LOCATION and processor architecture below.
TEXLIVE_INSTALL_LOCATION=/path/to/texlive/2021
# Add MANPATH and INFOPATH at the end
MANPATH=$MANPATH:$TEXLIVE_INSTALL_LOCATION/texmf-dist/doc/man
INFOPATH=$INFOPATH:$TEXLIVE_INSTALL_LOCATION/texmf-dist/doc/info
# Add PATH at the beginning
PATH=$TEXLIVE_INSTALL_LOCATION/bin/x86_64-linux:$PATH
export MANPATH INFOPATH PATH
# Bash prompt colorization and customization
PS1="\\033[01;32m\]\u@\h\\033[00m\]:\\033[01;34m\]\w\\033[00m\] texlive> "
I can confirm this.
All my systems (openSUSE Tumbleweed) were installed with “no-recommends” right from the very start. The result is quite “a surprise” (e.g. no displaymanager, no vi, most language packages missing, …) and depending on your needs it can be cumbersome to come to the system you want.
However compared to a “normal” installation i ended up with ~30% less packages. Considering the update frequency of Tumbleweed less packages saves quite some time and bandwidth.
Regards
susejunky
The only part of TeXLive (please pronounce it “Tech Live” – the “X” in “TeX” is the Greek letter “Chi” … ) which is normally present in Leap 15.3, is the package “texlive-lm-fonts” –
- Which, is recommended by the Pattern “patterns-fonts-fonts_opt” …
If you happen to absolutely refuse to have anything related to TeX or LaTeX on your systems, please simply remove and blacklist the “texlive-lm-fonts” package.
[HR][/HR]KDE and Baloo
- If, you absolutely wish to use KDE Plasma without Baloo and, accept the consequences of your actions – given that, the majority of KDE developers have chosen to use Baloo as the standard search engine for their applications – then, remove and blacklist the following packages –
> LANG=C zypper search --installed-only baloo
Loading repository data...
Reading installed packages...
S | Name | Summary | Type
---+-------------------------+-----------------------------------------------+--------
i+ | baloo5-file | Filesearch components for Baloo Framework | package
i | baloo5-file-lang | Translations for package baloo5 | package
i | baloo5-imports | QML components for Baloo Framework | package
i | baloo5-imports-lang | Translations for package baloo5 | package
i | baloo5-kioslaves | KIO slave components for Baloo Framework | package
i | baloo5-kioslaves-lang | Translations for package baloo5 | package
i+ | baloo5-tools | Aditional components for Baloo Framework | package
i | baloo5-tools-lang | Translations for package baloo5 | package
i | baloo5-widgets | Framework for searching and managing metadata | package
i | baloo5-widgets-lang | Translations for package baloo5-widgets | package
i | libKF5Baloo5 | Core library for Baloo Framework | package
i | libKF5BalooEngine5 | Baloo Engine library | package
i | libKF5BalooEngine5-lang | Translations for package baloo5 | package
>
But, please be aware that, you’ll be swimming alone in shark infested waters, at your own risk …
- Alternatively, you can choose to use a different Desktop – one which is not related to the KDE Project in any way at all …
Ahhhh, so KDE is the main culprit! I will try the ‘taboo’ method. I’m fine with KDE, just not some of the recommends… Using the word recommends is sometimes confusing in that ‘recommend’ doesn’t mean your install has to go blam without a package. For searching I use find and grep. As for texlive, again no use to me. About 12.x I tried similar and got rude awakening; packages (recommends) had to be installed to finish, then blocked/locked and/or deleted later. Maybe its me but if I had use for it, something like texlive would be on a dedicated machine. As for baloo, I get it’s usefulness but I prefer do without it. Thanks all for advice. Have A Healthy, Prosperous New Year All! --rob
There’s an awful amount of “** bash Baloo **” on the net – maybe this is a reasonable response –
> LANG=C balooctl status
Baloo File Indexer is running
Indexer state: Idle
Total files indexed: 162,248
Files waiting for content indexing: 0
Files failed to index: 0
Current size of index is 108.79 MiB
>
I know, the “Baloo bashers” will claim that, I’m not running an English language Desktop and therefore, “Baloo performs better” – read acceptably …
- I must admit that, I don’t use content indexing – grep works just fine …
[HR][/HR]Recommend:
- For the case of package dependencies, it can be viewed as being “an obligation
” …
For Texlive (which you are still taking about) I can only repeat what I said earlier. It never installed on any of my openSUSE installations and I did nothing to block it from installing. There is only one package texlive-lm-fonts installed “spontaneous”. Others have confirmed this above. So When you nevertheless have a bunch of texlive packages
- you have them installed yourself, either on purpose or as the result of some other extra package installation;
- you must be able to uninstall them (except for the one mentioned) either without further problems (or need to block), or there will be messages about the package that needs them.
Well, I don’t know about Texlife but as for Baloo, what about just not using it? Go to “KDE System Settings” i.e. systemsettings5 - Workspace - Search and just uncheck “enable file search”. Baloo won’t bother you anymore. You still can search files, it’ll just take longer.
Exactly why, some “TeX Live” Latin Modern (lm) fonts are being installed seems to be a mystery –
- Possibly, there’s this reason – support for Mozilla’s MathML engine – <https://developer.mozilla.org/en-US/docs/Web/MathML/Fonts> – but,
[INDENT=2]for openSUSE, Mozilla recommends the texlive-lm-math and stix-fonts packages –
[/INDENT]
*=2]The stix-fonts package is normally pulled in by the patterns-fonts-fonts_opt Pattern …
[HR][/HR]Bottom line –
- The TeX Live Latin Modern and Scientific and Technical Information Exchange (STIX) fonts issue, seems to be of interest for folks who are heavily into mathematical documents – mathematical symbols and fonts …
Confirmed, package is recommended:
**erlangen:~ #** zypper se -is texlive
Loading repository data...
Reading installed packages...
S | Name | Type | Version | Arch | Repository
--+------------------+---------+-----------------------------+--------+------------------------
i | texlive-lm-fonts | package | 2021.187.2.005svn58637-47.2 | noarch | openSUSE-Tumbleweed-Oss
**erlangen:~ #**
**erlangen:~ #** rpm -q --whatrecommends texlive-lm-fonts
patterns-fonts-fonts_opt-20170319-5.10.x86_64
**erlangen:~ #**
**erlangen:~ #** zypper if patterns-fonts-fonts_opt
Loading repository data...
Reading installed packages...
Information for package patterns-fonts-fonts_opt:
-------------------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : patterns-fonts-fonts_opt
Version : 20170319-5.10
Arch : x86_64
Vendor : openSUSE
Installed Size : 55 B
Installed : Yes (automatically)
Status : up-to-date
Source package : patterns-fonts-20170319-5.10.src
Summary : Fonts
Description :
Base fonts and font configuration.
**erlangen:~ #**
Patterns vs. packages:
**erlangen:~ #** **zypper if --type pattern fonts**
Loading repository data...
Reading installed packages...
**Information for pattern fonts: **
------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : fonts
Version : 20170319-5.10
Arch : x86_64
Vendor : openSUSE
Installed : Yes (automatically)
Visible to User : Yes
Summary : Fonts
Description :
Base fonts and font configuration.
Contents :
S | Name | Type | Dependency
--+-----------------------------+---------+------------
i | patterns-fonts-fonts | package | Required
i | dejavu-fonts | package | Recommended
i | ghostscript-fonts-std | package | Recommended
i | google-roboto-fonts | package | Recommended
i | intlfonts-euro-bitmap-fonts | package | Recommended
i | liberation-fonts | package | Recommended
i | patterns-fonts-fonts_opt | package | Recommended
i | xorg-x11-fonts-core | package | Recommended
**erlangen:~ #**
**erlangen:~ #** **zypper if patterns-fonts-fonts_opt**
Loading repository data...
Reading installed packages...
**Information for package patterns-fonts-fonts_opt: **
-------------------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : patterns-fonts-fonts_opt
Version : 20170319-5.10
Arch : x86_64
Vendor : openSUSE
Installed Size : 55 B
Installed : Yes (automatically)
Status : up-to-date
Source package : patterns-fonts-20170319-5.10.src
Summary : Fonts
Description :
Base fonts and font configuration.
**erlangen:~ #**