Skip to main content Package list / clone : r/voidlinux

Package list / clone

Hi,

I would like to clone my machine and for that purpose somehow export a list of all installed packages and reinstall it on the new machine. How can that be achieved?

Thanks,

Sebastian

Learn by doing - Cloud, Kubernetes, Python, and more. Get your teams up to speed faster with interactive labs and sandboxes to gain hands-on experience. No environment to set up, no software to install.
  • O'Reilly builds AI-ready teams
  • O'Reilly builds AI-ready teams
  • O'Reilly builds AI-ready teams
  • O'Reilly builds AI-ready teams
  • O'Reilly builds AI-ready teams
  • O'Reilly builds AI-ready teams
  • Best
    Open comment sort options
    Profile Badge for the Achievement Top 1% Commenter Top 1% Commenter

    xbps-query -m to list all manually installed packages. To get a list without versions use sed/awk or xpkg from the xtools package: xpkg -m.

    Thanks - for some reason some packages are missing - e.g. the st-terminfo

    Do you know why?

    Profile Badge for the Achievement Top 1% Commenter Top 1% Commenter

    This lists manually installed packages, st-terminfo is a dependencies of st and you most likely installed st and st-terminfo was automatically installed.

    You could get a list of all installed packages with xpkg -a, but if you just install all of them manually you lose features like detecting obsolete dependency packages etc.

    More replies
    More replies
    More replies

    I think rsycing files is better.

    what files?

    The full system?

    More replies
    More replies