- I switched from Windows to Linux. Here are the lessons I learned along the way.
- I switched from Windows to Linux. Here are the lessons I learned along the way.
- Performance
- Security
- Software development
- Modularity
- Working with remote Linux servers
- Familiarity with low-level OS principles
- Not everything is perfect, though
- How to Make the Switch From Windows to Linux
- Choose Your Distribution
- Create Your Installation Drive
- Install Linux on Your PC
- Get Acquainted With Linux and Install Some Apps
- How to Install and Uninstall Apps
- How to Update Apps
I switched from Windows to Linux. Here are the lessons I learned along the way.
I switched from Windows to Linux. Here are the lessons I learned along the way.
People who spend most of their time in front of a computer need to question their basic habits. I’m talking about the operating system they use. The market share for Windows desktop computers is now over 90%!
Everyone uses Windows for different reasons:
- Windows OS (operating system) comes as the default OS on their PC (personal computer).
- Users grew up with different versions of the Windows OS, so it’s difficult to change.
- Most people think Windows is the only alternative for their desktop PC. Aside from the Mac OS, they are not exposed to more alternatives.
I must admit that Windows is well designed and convenient. It allows you to perform many tasks easily and is updated regularly.
But if you’re a Windows user who has little experience with other operating systems, you may not be aware of all your options.
The Windows alternative I’m presenting here is Linux.
Linux is an open-source operating system developed by the community. Linux is Unix-like, which means it’s based on the same principles as other Unix-based systems. Linux is free and has different distributions, for example Ubuntu, CentOS, and Debian.
Every distribution has its pros and cons. Each is used for different applications. Linux’s hard disk is considered a lightweight. It’s used in embedded systems, smart home devices, IoT (Internet-of-things), and much more. Android OS is also based on Linux.
As a tech entrepreneur with more than 7 years of experience, I have to say that switching from Windows to Ubuntu has allowed me to become more productive.
I started looking closely at the OS when I noticed that the basic tools I was using did not allow me to make progress for latency. These tools include the Android Studio IDE and an Android simulator running on a Windows machine. I thought it was the hardware. So I upgraded to a Lenovo Y50–70 PC with 16GB of RAM and a 512MB SSD hard drive.
The laptop
After installing the necessary software, I realized I had similar latency issues with my new PC. I expected my new PC to be fast. But it wasn’t. At that point, I changed my strategy.
I realized hardware was not the problem. So I started to conduct research on software. Ubuntu’s distribution of Linux is the most popular distribution for PC users. Ubuntu is available both in a client edition and a server edition. A huge advantage to switching over to Linux is that I am now familiar with Ubuntu. Also, I can use Linux on both my PC and the servers I operate.
I read MANY online resources that debated which OS to use, for example, Linux versus Windows or Windows versus Ubuntu. I realized an OS that fits my needs will make me more productive in the long run.
So I waited for a sign. The sign arrived — it was a virus that forced me to backup all my files and reformat my PC. But this time I was using an Ubuntu operating system. I thought about installing Windows and Ubuntu side-by-side for a soft landing. I’m happy I didn’t. I left Windows because I was committed to Ubuntu. I didn’t want Windows as a fall-back alternative.
Here are the lessons I learned after I switched from Windows to Linux. The lessons are mostly aimed at developers, programmers, and anyone who creates products.
Performance
Thanks to its lightweight architecture, Linux runs faster than both Windows 8.1 and 10. After switching to Linux, I’ve noticed a dramatic improvement in the processing speed of my computer. And I used the same tools as I did on Windows. Linux supports many efficient tools and operates them seamlessly.
Security
Linux is an open-source software. Anyone can contribute code to help enhance the users’ experience with Linux. As well, anyone can add features, fix bugs, reduce security risks, and more.
Large-scale, open-source projects benefit from having many pair of eyes examine them. As such, Linux is more secure than Windows. Instead of installing antiviruses to clean malware, you just have to stick to the recommended repositories. Then you are good to go.
Software development
The terminal in Linux is a wild card. You can do almost anything with it. This includes software installation, application and server configurations, file system management, and much more.
If you are a developer, the terminal is the sweet spot. There is nothing more convenient than running servers, training machine learning models, accessing remote machines, and compiling and running scripts from the same terminal window. It’s a huge productivity booster. By using the terminal, automation becomes a game changer.
Modularity
With Linux, you can easily configure and access your computer, check processes, and manage virtual environments. Because your server will probably be Linux-based, it will be easier to mimic behaviours, use similar software and packages, and automate workflows.
Working with remote Linux servers
Most servers are Linux-based for reasons that are not listed here. Linux provides tools for developers to operate scalable and secure servers. Therefore, technological entrepreneurs who operate end-to-end applications must master Linux to configure and maintain servers.
Windows use third-party tools like PUTTY to connect and interact with Linux-based servers. This is not so convenient. For example, to copy files with Windows, you need to download another tool.
An advantage of a Linux-based local machine is that it can connect to remote servers with a single command line. This is done in the terminal. Hosts can be stored in a file as well as with SSH keys and usernames. All you have to do to connect with SSH is to type the following command:
And you’re in! No passwords required.
This is an example of the capability a Linux-based local machine has to configure and maintain Linux-based servers. The ability to work via the terminal for both machines is a no-brainer. Most of the popular cloud providers also have command-line-interface (CLIs) for easy integration.
Familiarity with low-level OS principles
Windows implementation is very high level. Developers are rarely exposed to internal issues and to implementations. Linux is the opposite. Configurations have to be implemented by the terminal. This includes editing OS files, adding scheduled tasks, updating software, installing drivers, and more.
When you use Ubuntu, AskUbuntu.com is your friend. You not only learn skills, but you also learn how to solve issues (sometimes the hard way). As well, you learn to monitor your machine for problems, configure different components, and more.
Not everything is perfect, though
- There is a learning curve if you switch to Ubuntu. Some things you didn’t need help with when you used Windows, you might need help when you use Linux. You can use AskUbuntu.com for assistance, though. Expect to experience issues if you have special hardware installed on your computer, for example GPUs.
- Every technological entrepreneur should be a designer with minimal graphic design skills. Unfortunately, Adobe hasn’t released any of its products to Linux users. So it’s impossible to run them directly. The Ubuntu alternative is GIMP. This is a free software and has the basic features for a developer-designer. Despite the disadvantages, I have no regrets about switching. I’m all Ubuntu now and wish I had moved years ago.
Linux is not for everyone. Check to see if it fits your needs before you decide to switch. If you consider yourself either a technological entrepreneur, developer, data scientist, or programmer, you should definitely check out Ubuntu.
To receive more insightful posts, especially if you are a technological entrepreneur, please go to CodingStartups.com
If this article was helpful, tweet it.
Learn to code for free. freeCodeCamp’s open source curriculum has helped more than 40,000 people get jobs as developers. Get started
freeCodeCamp is a donor-supported tax-exempt 501(c)(3) nonprofit organization (United States Federal Tax Identification Number: 82-0779546)
Our mission: to help people learn to code for free. We accomplish this by creating thousands of videos, articles, and interactive coding lessons — all freely available to the public. We also have thousands of freeCodeCamp study groups around the world.
Donations to freeCodeCamp go toward our education initiatives, and help pay for servers, services, and staff.
How to Make the Switch From Windows to Linux
If you don’t want to upgrade from Windows 7 or are sick of Windows 10, here’s how to finally make the switch to Linux and install apps.
Microsoft is finally ending support for Windows 7 in January, meaning you won’t get bug fixes or security updates anymore. If you’re one of the final Windows 7 holdouts and don’t want to get stuck with an unsafe system, you have a choice to make: upgrade to Windows 10 or switch to something else entirely.
If you don’t like the direction Microsoft has taken with Windows 10, we understand. It’s gotten better (and you can make it feel more like Windows 7 with a few tweaks), but its new approach to Windows as a Service means there will always be more of a focus on embedded advertisements, constant updates, and data collection. If you’ve been thinking about making the jump to Linux, now is the time.
Choose Your Distribution
Unlike Windows and macOS, there isn’t just one version of Linux. Instead, Linux is packaged into many different distributions, or «distros,» each with their own interface and set of features. One may use a Mac-like interface with a dock and an «app store,» while others may use a more minimalist interface and require installing apps from the command line.
Exploring the bevy of Linux distributions out there is a fun part of the hobby, but for your first installation, you will likely want something popular and beginner-friendly, so it’s easy to get help when you need it. That’s why I recommend starting with Linux Mint.
There are a lot of distributions that aim to mimic Windows in layout and functionality, like Zorin OS, but they’re on the smaller side, and you won’t have as big a community to tap as you learn your way around. Ubuntu, on the other hand, is arguably the most popular distro on desktop PCs, but it isn’t very Windows-like at all these days.
Linux Mint is a perfect in-between option: it’s designed for beginners, offers a familiar desktop environment, and it’s based on Ubuntu, so you can make use of the enormous Ubuntu/Mint community when you need help.
You’re free to check out other distros instead, but I’ll be using Mint for the purposes of this guide, and I recommend you do too. It’s not my personal distro of choice, but it’s great for new Windows migrants, and it’s easier to explore other distros once you’ve nailed down the basics on a beginner-friendly system.
Create Your Installation Drive
Head to Mint’s download page and choose the 64-bit «Cinnamon» version. Cinnamon is the desktop environment I recommend for former Windows users, though MATE is also pretty Windows-like, even though it’s a bit less modern. XFCE is ideal for old or low-powered PCs, thanks to its light resource usage.
Mint’s download page provides a number of links depending on where you live. If you use BitTorrent, I recommend grabbing the torrent file, which will download much faster.
The installer will come as an ISO, or disc image file. To install it on your system, you’ll need to burn it to a DVD (by right-clicking it and choosing Burn Disc Image in Windows 7) or USB flash drive. We’re going to do the latter using a tool called Rufus. Install Rufus, open it up, and insert a flash drive that’s 2GB or larger. (If you have a fast USB 3.0 drive, all the better.) You should see it appear in the Device drop-down at the top of Rufus’ main window.
Next, click the Select button next to Disk or ISO image, and choose the Linux Mint ISO you just downloaded. Press the Start button, and if prompted to download new versions of Syslinux, click Yes. Note that this will erase your flash drive, so make sure there isn’t anything important on there before continuing.
When it’s finished, you’ll see a success message and your flash drive will be named LINUX MINT. Back up your data, reboot your computer, and buckle your seat belts: it’s time to install Linux.
Install Linux on Your PC
As your computer reboots, you should see a message telling you to press a certain key to access the Boot Menu (usually something like F12). If not, you’ll see a key to enter Setup (often Delete). Press one of those keys, and look for the option to boot from the inserted USB drive. (If you enter the full setup menu, it’ll be in a Boot settings menu somewhere, and you’ll have to exit the menu to reboot again when you’re done.)
You will then be greeted by GRUB, Linux Mint’s boot menu, where you can choose to boot into Linux Mint. If you run into any errors, you may need to Google around for a fix. I had to enable the nomodeset option for my graphics card, for example. Others may have to tweak or disable Secure Boot in the BIOS.
This installer is what we call a Live CD, where you can actually poke around and use the Linux Mint desktop before installing it. This will give you a chance to see if this particular distro appeals to you without it actually touching your system drive.
Once you’re satisfied, double-click the Install Linux Mint icon and go through the wizard. Be sure to check the box next to Install third-party software, since it contains useful drivers and codecs you almost certainly want.
From here, you have a few options. You can wipe your hard drive entirely, erasing all traces of Windows and using Linux as your only operating system. (Make double sure you’ve backed up your data before doing this.) Alternatively, you can divide your drive up into two partitions and dual boot Linux alongside Windows.
This will allow you to reboot into one or the other whenever you want. Keep in mind that Windows 7 will be left insecure, so you don’t want to spend too much time there. If nothing else, it’s comforting to know you have that safety net during the transition before you remove Windows entirely.
Choose the relevant option from the Installation Type menu, and click Install Now. The process may take a little while, but when it’s done, you’ll get a success message. Click the Restart Now button to boot into Linux Mint and start getting acquainted with your new OS.
Get Acquainted With Linux and Install Some Apps
When you reboot, you’ll be dropped into the Linux Mint desktop once again—only this time, it’s installed on your PC. The basics are pretty familiar: click the button in the lower-left corner to see applications, manage windows from the bottom taskbar, and so on. There are, however, a few things in Linux that work differently than in Windows, with apps being the biggest.
In Linux, it’s less common to download apps from the web. Instead, each distro has its own repository—kind of like a free app store, with a directory of popular apps. You can install an app from the repositories in one of two ways: from a graphical software manager (again, which looks like an app store) or from the command line.
To open Linux Mint’s Software Manager, click the menu button in the lower-left corner and head to Administration > Software Manager (or just start typing «software manager,» like you would in Windows). From here you can download plenty of free, open-source apps.
Some are Linux versions of their Windows counterparts, like Steam and Spotify, while others are open-source alternatives to common apps (Banshee is a music player similar to iTunes, Gimp is an image editor akin to Photoshop). You can browse here or search for apps using the bar at the top.
How to Install and Uninstall Apps
If you know what you’re looking for, it’s generally faster to install apps from the command line. And while it may seem intimidating at first, Linux still relies on the command line for various tasks, so it might behoove you to get comfortable with it. To install an app—let’s say the open-source media player VLC—open a Terminal window and run:
Sudo apt update
sudo apt install vlc
Let’s break that down: sudo tells the system to run the command as root (or, as it might be called in Windows, as an administrator), apt is the name of Linux Mint’s package manager, and update ensures the list of available apps is up to date.
The second command, which includes install vlc, is self-explanatory. You should run sudo apt update before installing any app, and you can replace vlc with the name of any app you want to install. If you aren’t sure what the repository calls it, you can run sudo apt cache search vlc to see what comes up.
To uninstall an app, just run:
sudo apt remove vlc
This will remove the app, but not your configuration files, so if you decide to reinstall it later, your settings will still be there.
If you want to remove configuration files too, you can instead run:
sudo apt purge vlc
How to Update Apps
You’ll also want to periodically update those apps, so you have the latest versions. You can do this, again, in two ways: from the graphical tool or from the command line. For the graphical tool, click the shield icon in the lower-right corner, which opens the Update Manager app. You can then click the Install Updates button to update all your software.
Alternatively, you can open a Terminal and run two commands:
sudo apt update
sudo apt upgrade
Again, the update command checks for new versions of your software, and the upgrade command actually upgrades all your apps. You’ll want to run these two together, just like you do for installing new apps.
Those are the most crucial things to know right now, but take some time to browse around Mint’s interface and its settings to see what it has to offer. The Welcome window that appears at startup can be a big help—its First Steps area will show you how to choose different desktop layouts, install multimedia codecs you might want, and install necessary drivers for your hardware.
You’ll get the hang of the basics pretty quickly, but the Mint and Ubuntu forums are always there to help if you get stuck. Just be sure to search around, since there’s a good chance someone before you has had the same question.