A challenge.
Thoughts
Linux installation - A bittersweet experience. I had installed Ubuntu with dual boot configuration before, where I had formatted my PC accidentally many times. It was long time back, still I did it. I thought I won't face any issue now, after that in my job I had to use unix shell all the time for 2 years. So I was confident I can handle most of them, and I could. All those learnings helped me but still I had install Ubuntu more than 10 times.
Journal
- Installed Ubuntu. It was super simple. It was very easy, maybe because with years they have made it better or maybe because of Perplexity AI's help or I was more pro. It was easy.
- Saw Ubuntu Pro. Getting it for free for 5 machines for Personal use. Sweet. Enrolled.
- Screwed up installation of Anaconda and CUDA. Found that fixing it will take more time so better follow instructions properly. Reinstalled Ubuntu. Enrolled in Ubuntu Pro again. Mistake. I can't remove old one, it needs to go away automatically on its own now. No guarantee that this will work.
- Screwed up CUDA installation again. I'm tired of reinstalling softwares like Chrome, VS Code, Anaconda. I want them automated.
- Ansible. The thing I learned 4 years ago. I don't remember anything except how it worked. LLMs to the rescue.
- Wrote playbooks that installed as root everywhere. It screwed up Ubuntu. Updated to do install as root but configure and create environment as user.
- Screwed up apt cache keys etc. I fixed it but somethings seemed odd. Don't want to take risk. Gave up idea of automating installation of CUDA.
- Final moment, installed Ubuntu fresh. Ran playbook that worked wonderfully. Followed CUDA installations instructions to the t. Medium articles helped me that AI couldn't and was kinda confusing on the official docs.
- Too late though, will sleep now. Get started tommorow.
Learnings
- General - Nah.
- Related to AI - Nah.