I am using linux mostly for programming in python/go/C++ from vim in a shell. It always takes me sometime to set my environments right when installing a new machine. Any tips on how I can reuse an existing home directory set up that I like on a new machine?

closed as unclear what you're asking by G-Man, RalfFriedl, msp9011, Archemar, JigglyNaga Dec 6 '18 at 17:38

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • Could you please edit your post to include additional context. Right now your question is very vague. What have you tried and what errors have you encountered? – kemotep Dec 6 '18 at 2:48
  • It sounds like you want dotfile management, there are many solutions available so use your favorite search engine to check them all out. It looks like GitHub has put up some information about dotfile management that seems interesting. – GracefulRestart Dec 6 '18 at 3:06

A few options I have used are:

  1. Have your /home or /home/user directory located on its own partition in your hard drive. Whenever you install a new Linux distro, create a user with the same UID as your other systems, and mount your /home partition.

  2. Similar to option 1, keep all configuration files on its own partition or flash drive and install them where necessary.

  3. Keep all your configuration files on github (or something similar), and download them on new systems.

Not the answer you're looking for? Browse other questions tagged or ask your own question.