Score:0

Install a package without install dependencies globally

pe flag

I want to a install recoll, but my question applies to packages that rely on dependencies.

I don't use python, but when I add the recoll PPA and try to install the package, apt wants to install many python libraries as dependencies for recoll.

So my question is.. is there a way to install a package with all dependencies packaged within a folder so I don't pollute my system with all these dependencies?

N0rbert avatar
zw flag
Does this answer your question? [How to escape dependency hell?](https://askubuntu.com/questions/1144640/how-to-escape-dependency-hell) . Or isolate it to its own docker container.
karel avatar
sa flag
@N0rbert I don't think close voting this question as a duplicate of another question is the best policy because user535733 has posted an answer with a different concise and elegant alternative solution to it.
Score:2
cn flag

Not directly. Deb packages (the kind apt uses) have specified install locations. You cannot change them.

However, you might be asking the wrong question or looking in the wrong place:

  • The python3-recoll package is in the Ubuntu repositories -- a PPA is not needed. The package adds a single additional dependency to a stock Ubuntu 21.10 test install, which hardly seems like polluting the system.
pe flag
Thanks. I'd rather have 3rd party applications being managed by apt though so I can know what all I have installed in my system. Also, I was following the instructions from the recoll website: https://www.lesbonscomptes.com/recoll/pages/download.html#ubuntu I opt to use docker instead.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.