1

I want to install a list of packages under a certain directory. I have seen this answer but It doesn't fulfill my needs.

What I want to do is the following:

  • Select a folder to include all files related to the ubuntu focal packages.
  • Install list of packages to the selected folder
  • Do static analysis on the package files (this is not related to the Q).

And repeat this for selected other ubuntu versions.

I don't want to break my system. And I want this test environment to be managed easily. What would be the best practice? I am thinking of chroot but Im not sure if it would work as expected with apt.

I am currently using ubuntu focal 20.04 lts. But as I said, I am not willing to change current configuration.

0 Answers0