Gautham's

Posts

Tags

About

Resume

Migrating to the Linux World from Windows

OS Python Tech Prose

History:

Ever since I have bought my first desktop computer (an assembled one) back in 2005, just like most others even I got Microsoft’s Windows operating system installed in it and the version was XP. Be it any OS that I have used till date, I have hardly felt the operating system to be really convenient to use as I haven’t explored much on how to gain convenience and was just using the system through the GUI provided. Despite hailing from a Computer Science and Engineering background, I have recently decided not to use mouse/touchpad and to try doing most of my activities such as creating/renaming/moving/deleting files and folders, switching between applications or between tabs in the same application, executing my scripts, installing/opening a program and so on through the command prompt itself. Soon, I have started playing with my system path and creating aliases for the programs (ex: for py2 for Python2 and py for Python3) and even creating my own key combinations using Auto Hot Key. I have started liking the Windows 10 Operating System lately for its stability upto some extent but because my increased comfort of using it to the most.

Issues with Windows:

Irrespective of my comfort and it’s stability, I always wanted to have my pc respond quickly for whatever task I give to it which was not happening with the programs like pycharm or anaconda (IPython / Jupyter) and to achieve the same, I have disabled some of the services like the Windows Search, Print Spooler, Indexing, etc…. Disabling such services has definitely imporved the performance of my machine significantly with most of my tasks but not much with Pycharm or Anaconda. The issues have alleviated when I installed Eclipse IDE for some Java Development. Therefore, I have preponed my plans of experiencing the Linux Operating System and on 25th December 2018, I have completely wiped my pc (with licensed Windows 10) clean and installed linux (Click Here to know what happened when I tried sideloading linux on Windows 10) the latest 19.1 Tessa version of Linuxmint Cinnamon edition. Let’s leave the discussion of why Linuxmint Cinnamon and not something else for another article, as I want to share some basic, simple yet important tips for the prospective Linux migrants from other platforms for setting up their environments for Python Development.

Downloading and Installing Linuxmint - Cinnamon Edition:

For installing Linuxmint, all that one has to do is to download the .iso (image file) into your pc and burn it to an empty dvd or make a bootable flashdrive.

First Steps:

Basic and useful information:

Conclusion:

Now, for a Python developer, he will be content only after successfully setting-up his python development environment which could be a bit of “Not-as-Expected” task if you are one like me. I wouldn’t want to install multiple instances of any program in a machine and therefore thought of using the instance of python (Python 3.6) that had come with my OS. But, little did I know that Linux, the operating system itself uses the instances that it brings with it and I have confidently tampered with it and have become successful at corrupting my operating systems. Then I have learnt that it is highly recommended to not to use those instances for your development environment as that might cause discrepencies with Operating System itself as the linux operating system uses those instances for its own scripts and therefore it is always recommended to install a separate version of python

I have downloaded the latest version of Anaconda3 and have used the instance of python that has come with anaconda as my project interpreter for my python projects and am therefore being able to use the package installer and install all my packages such as pyodbc, scrapy, etc.. without any hassles.

I wish you’ll a very happy transition to Linux.

P.S.: This is my first tech article in my blog being published on 1st Jan 2019. Please give comments or suggestions on it as I’m looking forward to improve.

Wish you all a Very Happy 2019!


Wanna reach out? Email me!

Copyright (c) 2021 Sai Gautam Kolluru