Since forever, I've been a Windows user with almost zero knowledge of other Operational Systems. But I always found to develop inside Windows environments to be a little tricky since and if you are out of the Visual Studio environment things are even more complicated.
After a period considering a change to a MacOSX environment, I decided to try Linux, since it's free and work on (most) any hardware that works with Windows.
HOW:
First, you will need to choose a distribution (flavor) of Linux that will suit your needs. I like to recommend Ubuntu Mate to new users for a couple of reasons:
- It has the support and features of one of the most used distributions on the Linux world plus a great UI (Mate) that have a lot in common with other OS.
Just use Etcher to burn the image into a USB stick and plug into the PC before booting it. Your BIOS/UEFI must be set to read from the USB. Follow the instructions on the screen to install the OS (Backup any relevant data first, because this will erase your HD).
LANGUAGE SUPPORT:
Most Linux distributions have a large support for programming languages, from C to GO, you will only need to find the correct package for your distribution. To start just run the command sudo apt install build-essential
to have the most common toolchain for C/C++ compiling that will help to install a lot of other development software like:
- Python:
sudo apt install python2 python3 python3-pip
- Java:
sudo apt install jdk8-openjdk
- Javascript/Node:
sudo apt install nodejs npm
PS: apt
is a command line tool to help install packages into the system, like brew for MacOSX or choco for Windows, used by Debian like systems (Debian, Ubuntu, Mint). You can learn more at man apt
TEXT EDIT:
Most common text editors will work without any sweat, like Atom, Visual Studio Code, Sublime. Even some exclusive editors can make your life easier like Kate, Gedit, Geany and KDevelop.
GIVE IT A TRY:
If you are not comfortable to move an entire system to a Linux environment, you can still try it using some Virtual Machine environment, like VMWare Workstation or Oracle VirtualBox. You can see for yourself if it suits you and what you can learn from it.
CONCLUSION:
Linux systems are very powerful and fully feature to be your next development environment, just remember is not the same thing as Windows or MacOSX and you should approach it with an open mind.
And Remember Google is your friend. Do not be afraid to search for dumb things such: How to move a file from directory or How to install sublime on Linux. You are learning everything again and some easy things should not stop you.
Top comments (50)
Finally someone that doesn´t blame Linux for not beeing a clone of Windows or tries to sell it talking about software freedom (Yes GPL is awesome, but people usually doesn't care about it). Some tips for begginers:
that is my main point when I recommend Linux to someone. you should not treat it as a regular Windows or Mac environment. each one is it one beast
Well, idk why, I always get excited seeing other people trying out linux :D Coming from windows 10, it felt great to have an OS which is more supportive of installations and software for devs and without all the ad banners that W10 usually threw at me.
Another tip ;). The
apt
command is to install packages/software from repositories that are in your apt index, which aren't always the latest version. Or sometimes, they are not in the repos.So, to install software outside any repo, you will usually find
.deb
packages (rpm
if you are on a non-Debian based distro). For example, to install VS code, you downloadvscode.deb
from their website. Then, in the terminal you rundpkg -i path/to/vscode.deb
. There's lots of great stuff in Linux.The problem with this approach is that you won't get any updates for the software installed this way.
The preferred way to install software should always be to use the package manager provided by the distribution (apt on Ubuntu and Debian based ones).
If the software isn't in the official repository, use a PPA (Personal Package Archive). Preferably an official one. They are kept up to date and provide updates using the package manager.
Only if these two options fail you should use the
.deb
, and be aware of the implications.You're not exactly wrong, but some Debian packages (including Google Chrome and Visual Studio Code) provided by software vendors automatically add their own software repositories to system and so are automatically updated using the same package manager.
Thanks for this. I've used Linux before and have been considering diving back in, at least part time. This is helpful.
feel free to contact me at @andreanidouglas if you have any questions
Hey! I am really glad more people think this way.
Back in 2008 I was looking to learn coding in c++. After trying Windows and Visual Studio, moving to Linux felt like the ultimate freedom.
I dont have to click through all this and can just do gcc main.cpp? No shit! I dont need to wait five fucking minutes for the text editor to run!? What kind of magic...???
Coding on Linux is a breeze. With great tools like CMake, eclipse, emacs (fuck Vi), CLang, all the languages, all the nice tools to make stuff work is already there, just waiting.
Unless you want to play a game and waste your time spent at a computer (entertainment is overrated), then using Linux is the best thing one can do to really grasp computing.
Thanks for this piece again, I support the case. Using Windows in 2018 is a sign of technological weakness. A properly configured distro should be a status symbol.
Switched from Windows to Ubuntu 1.5 years ago. Main reason were the lack of a decent build-in terminal and the horrible file system of Windows. Although some of my troubles should be fixed by now, I'm still a very happy Linux user not considering to ever go back. Feels good to be independent of Apple and MS.
I have a text file containing all terminal commands to configure my laptop and install all software necessary, so with a fresh laptop/system I can be up and running in like 15 minutes and be productive again.
The only thing missing for me is a good Photoshop alternative. I Tried GIMP and I use Pinta at the moment, but both can't match PS. Also still no Unity3D support for Linux.
Inhale the same approach to have a git repository with all my config files
github.com/andreanidouglas/dotfiles
I also recently started working on this for my various cross platform needs :) Next step is a big install script for mac/ubuntu and store all my VSCode extensions...
github.com/matt123miller/dotfiles
I am waiting Microsoft to port its Office Suite to finally delete my Windows partition.
Switching from Windows to Linux (or macOS if you prefer it) is like ~70% productivity boost :D
I've used small parts of Office365 on Linux and it worked pretty well.
I know they are not 100% the same as the "offline" versions, but maybe you can give it a try.
They are not my main tool (not even second or third, TBH :D) but... YMMV.
Yes, this is the only missing piece. I can do some work on office online, but excel is a must for me.
While proprietary, WPS Office is free on Linux and has excellent Office support, and a nearly identical interface.
I tried it before, but I still use LibreOffice for my personal documents. The main reason I need MSOffice (MSWord especially) is to open documents and assignments that my teachers publish (most of them use PDF, but some still use Word)
To be honest, I use LibreOffice exclusively. The newer updates have improved support of MSOffice formats to the point that no one ever knows the difference if I use LO.
I wrote my thesis on LibreOffice didn't have a single problem. It's just as good as MS Office.
Yeah, I have the same problem. I do a lot of stuff in VBA, and I still haven't found another spreadsheet program with a good scripting system.
Moved from Windows to Linux about 4 years ago. I used MacOS beside Windows for 15 years before.
It was a little bit hard at the beginning and used my Windows VM a lot. But now i'm totally happy with it and don't need any Windows VM. Never wanna go back!
Some software hints for Linux:
Bash on Windows has made working in Windows so much better. I mean if you have no computer and your build one the Linux is the way to go. There are 2 issues that keeps windows around for me.
1) Hidpi support is not there yet
2) driver firmware updates cannot be done in Linux.
The Linux Filesystem Susystem on Windows 10 is really useful :)
The one pain in the arse, is I run into permission issues alot. But it may be user error so oh well
This is something that every Linux user will need to deal, one day or another, it's the way that the kernel/OS is built upon. But remember, it's all for your own safety.
Having UNIX-like experience is great for any resume, and just a good, all around benefit to your work.
I started my secondary education and my career on BSD UNIX. The first time I touched a DOS/Windows computer I was amazed by the waste of a CPU being used by one process, one person :) I was ecstatic the first time I was able to get BSD on my desktop, followed by Linux on a laptop. That joy continued for about 20 years, with Ubuntu as the last version I used. All through that, at least once or twice a year (much more so in earlier years) I had to spend some hours tweaking because of some updated driver or change in X Windows or OS software. I got tired of it. I just don't have the time anymore. I switched to a Macbook and felt, and still feel that, though I've lost a bit of the flexibility, shit just works. That's time and money back in my pocket. And really, I spend most of my time developing within a local Vagrant CentOS VM or doing devops stuff while ssh'd into remote RedHat systems. And I get fancy mail and calendar software that just works. Like everything, there was a bit of a learning curve, but it was pretty easy.
Hi,
Good post, it is full of good advice. I've always been a Windows user, but last months I've been working with serveral Linux VPS and I like it. So maybe next year I'll try to install a development PC with Linux and this info will be very important for that purpose.
Greetings