3

How do I install a Flatpak app without installing one of its dependencies which is not really required?
For instance, if you wanted to install the TexStudio App (org.texstudio.TeXstudio), Flatpak would pull in the TeX Live SDK (org.freedesktop.Sdk.Extension.texlive) as a dependency, which is about 4.8 GB in size. The TexStudio App page at flathub mentions the following:

Requires either TeX Live being installed on the system from your distribution's repositories or the TeX Live Flatpak which you can install by running 'flatpak install flathub org.freedesktop.Sdk.Extension.texlive//21.08'

But it does not explain how you can install it without installing the Flatpak's Tex Live dependency.

Since I already have TeX Live installed in my system, I do not want to install the Flatpak's version of TeX Live, is there a way to install an app using Flatpak without installing it's "dependencies"?

2 Answers 2

3

If you want to install a flatpak package without its dependencies, you can provide --no-related flag.

For example, if you want to install texstudio without installing texlive, you can try this:

flatpak install org.texstudio.TeXstudio --no-related
-1

With the option --no-deps? See flatpak install --help.

1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .