Migrate to Ubuntu
06 Sep 2015My MacBookPro's hard drive stooped working last week and I managed to recover most of the data from a Time Machine back-up 6 months ago. But I couldn't get the mu4e and mu working. I feed up with googling, trying, and decide to immigrate to Ubuntu. It would save me from a lot of frustrations and time in making my Mac and office PC work the same way.
Ideally, I will built a Ubuntu on Mac which is exactly the same as the one on my office PC, by just copy over everything 1. As a minimalist, I decided to build the system from scratch and install software one by one so that I can have an better understanding of what are the necessities for me.
In the last few days, I become extra mindful about the what and how I used the Ubuntu system in the office, and realise the things I need can be grouped into three categories:
- Configuration,
- the .ssh folder for the ssh-agent,
- the .fonts folder for new fonts,
- the .mbsynrc file for sync emails,
- the .ledgerrc.
- Software for
- Development: like git, gcc, Emacs, and R.
- Writing: org-mode, LaTeX,
- Email: mu, mu4e, and mbsync.
- Finance: ledger.
- Personal git repositories
- public reposity on GitHub,
- private reposities on BitBucket
For 1), since they are small, I can zip up and copy over, or even better, create a git repository so that sync on two machines becomes better easier.
For 2), I need to find the software's package name in the Ubuntu's software repository, and then install all of them by a script. The dependencies should be resolved automatically.
For 3), I need to create a shared folder between the host system and the Ubuntu system, and then copy over the ~/git/ folder.
It really sounds like a plan! I am going to download the Ubuntu installation file now and hopefully the transition will be very smooth.