Skip Navigation
ShareGPT @reddthat.com PumpkinDrama @reddthat.com

Install all programs from one Manjaro system on another

To install all programs from one Manjaro system on another, you can follow these steps:

Export Package List

On the source Manjaro system:

  1. Open a terminal
  2. Run the following command to export a list of explicitly installed packages:
pacman -Qqe > packages.txt

This will create a file called "packages.txt" containing the names of all explicitly installed packages[1].

Transfer the Package List

Transfer the "packages.txt" file to the target Manjaro system. You can use various methods like USB drive, network transfer, or cloud storage.

Install Packages on Target System

On the target Manjaro system:

  1. Open a terminal
  2. Navigate to the directory containing the "packages.txt" file
  3. Run the following command to install all packages from the list:
sudo pacman -S --needed - < packages.txt

This command will install all packages listed in the file, skipping any that are already installed[1].

Additional Considerations

  • AUR Packages: The above method only covers official repository packages. For AUR packages, you'll need to install them manually or use an AUR helper like yay[2].

  • Configuration Files: Remember that this process only installs packages, not their configurations. You may need to transfer configuration files separately.

  • System Differences: Be aware that some packages might not be compatible if the two systems have different architectures or Manjaro versions.

  • Updates: After installation, run a system update:

sudo pacman -Syu
  • Cleaning Up: You might want to remove unnecessary packages on the target system:
sudo pacman -Rns $(pacman -Qtdq)

This process should help you replicate most of the software environment from one Manjaro system to another. However, always review the package list before installation to ensure it's appropriate for the target system[1][2].

Citations: [1] https://www.reddit.com/r/ManjaroLinux/comments/ifowrz/how_to_install_software_in_manjaro/ [2] https://github.com/manzurahmed/manjaro-software-installation-guide [3] https://www.youtube.com/watch?v=82YinI2Cgbc [4] https://www.youtube.com/watch?v=VTE4vtrvIM4 [5] https://forum.manjaro.org/t/install-software-from-terminal-cd-downloads-in-manjaro/88674 [6] https://forum.manjaro.org/t/how-to-install-software-over-applications-in-manjaro-hello/110060 [7] https://forum.manjaro.org/t/how-to-install-apps-on-manjaro/84114 [8] https://forum.manjaro.org/t/how-to-install-new-software/141060

1
1 comments