Linux for Physicists: Best Distro for Beginners

Click For Summary

Discussion Overview

The discussion revolves around the selection of a Linux distribution suitable for beginners, particularly for a physicist starting a PhD. Participants share their experiences and preferences regarding various distributions, focusing on usability, support, and suitability for programming in Python and C++. The conversation includes both personal anecdotes and technical considerations.

Discussion Character

  • Exploratory
  • Debate/contested
  • Technical explanation

Main Points Raised

  • One participant expresses a desire to learn Linux and seeks recommendations for a beginner-friendly distribution, mentioning prior experience with Linux Mint.
  • Another participant advocates for Debian, citing its stability and extensive software repository, while acknowledging that preferences for distributions vary.
  • Concerns are raised about the reliability of Linux installations, with one participant suggesting that a Mac might be a better option due to its functional Unix-like system.
  • Ubuntu is recommended by multiple participants for its ease of setup and regular updates, with mentions of its large package repository and support for Python and numerical computing through Anaconda.
  • Some participants share their experiences with different distributions, noting that Mint may offer an easier transition for users coming from Windows, while others prefer Debian for its stability and adherence to Free Software guidelines.
  • One participant mentions the challenges of using Linux, such as driver issues when switching machines and the potential for missing software in repositories.
  • There is a discussion about the cost and customization options of Macs compared to Linux, with mixed opinions on their usability for computational tasks.
  • Several participants suggest trying out multiple distributions to find the best fit, including Debian, Ubuntu, and Fedora.

Areas of Agreement / Disagreement

Participants express a range of opinions on the best Linux distribution for beginners, with no clear consensus. While Ubuntu and Debian receive multiple recommendations, some participants highlight the challenges of using Linux and suggest alternatives like Mac. The discussion remains unresolved regarding the "best" choice, as individual preferences and experiences vary significantly.

Contextual Notes

Participants' recommendations are based on personal experiences, and the discussion includes various assumptions about user needs and preferences. There are mentions of specific software compatibility and usability issues that may affect the choice of distribution.

Who May Find This Useful

This discussion may be useful for new PhD students in physics or related fields who are considering using Linux for programming and computational tasks, as well as those interested in exploring different Linux distributions.

RobosaurusRex
Messages
29
Reaction score
1
I am starting my PhD soon, and I want to properly start learning linux.
I have mainly used windows for most of my life, but I have been apart of two research placements using linux mint, where I did simulations attaining to Nano-Photonics.

I am curious as to if you guys have any opinion on the "best" distro for me to use as an introduction to linux programming. I am a physicist and intend on writing code in python, and c++ as well as using the laptop to write reports, and the like. I am looking for one with a reasonably friendly hud, and one which is supported enough that i can find help should i need it. I intend to do every myself as to fully grasp as much as possible, as quick as possible.

Any comments are much appreciated.
 
Computer science news on Phys.org
I think most mainstream distributions can do that. Have you looked at https://distrowatch.com/ for a comparison? Since 2005 I am a happy Debian user. It is very stable, well-supported and comes with a large software repository. (Mint is based on Ubuntu, which is in turn based on Debian.)

Since everyone has his own preference, be prepared for a parade of distributions below :wink: Good luck on the PhD, by the way, and enjoy!
 
I have been an advocate of linux for a long time, but I am increasingly annoyed with it. Even plain vanilla instalations work only in at most 50% of the time and I have spent weeks in the last years to make sound cards, printers, wlans running. Programs rely increasingly on the graphical surface and there are two main diverging versions, namely gnome and kde. Why don't you consider to buy a Mac instead? You get a functional unixoid system where it is possible to run all of the applications you are interested in.
 
  • Like
Likes   Reactions: vela
I use Ubuntu and get most of my help via internet searches. Ubuntu is regularly updated with security patches and is quite popular.

You should be able to do your work on it without any trouble. When software is missing Ubuntu will often suggest a package to download from its repository that provides the command you're looking for.

With respect to Python and numerical computing, a really popular package is the Anaconda distribution which uses the Jupyter editor/IDE.
It comes preloaded with all the modules needed to do numerical computing, charting and analysis.

https://www.continuum.io/anaconda-overview
 
DrDu said:
Why don't you consider to buy a Mac instead? You get a functional unixoid system where it is possible to run all of the applications you are interested in.
I find a Mac difficult to tailor to my needs, which is an option I like to keep open as a researcher interested in numerical computation (among other things). It is costly and makes me depend too much on the whims of Apple. Colleagues of mine are quite happy with it, though.
 
Krylov said:
I find a Mac difficult to tailor to my needs, which is an option I like to keep open as a researcher interested in numerical computation (among other things). It is costly and makes me depend too much on the whims of Apple. Colleagues of mine are quite happy with it, though.

The whims of Apple don't really affect the mac-mini or macbooks. In all the years I've been using it. I've never seen a problem with it ever. Its true they are pricier but they work well in computational environments. There are more commercial packages that support Macos than do Linux. We do development on Mac in Java and then port the same code to Linux with no problems.

It sometimes happens with Linux when you switch to a new machine that some driver is missing that causes problems or in the case of Ubuntu where they don't have the latest release in their repository (there is a fair delay here).

MATLAB is available for it and for Linux so if you're needing it then either option is okay.

One thing I caution graduate students is that you shouldn't cheap on things when you're going for your PhD. You don't need the excitement of a refurbished machine breaking down or software underperforming while you're in the finishing stages of your thesis. There is no dog ate my homework excuse here.
 
I am torn, Debian, Ubuntu, and Fedora all peaked my interest and are all highly commended to me.

I guess I will just start playing around with them, and see which I feel most comfortable with. Thank you for the comments!
Very helpful.
 
jedishrfu said:
The whims of Apple don't really affect the mac-mini or macbooks. In all the years I've been using it. I've never seen a problem with it ever. Its true they are pricier but they work well in computational environments. There are more commercial packages that support Macos than do Linux. We do development on Mac in Java and then port the same code to Linux with no problems.

It sometimes happens with Linux when you switch to a new machine that some driver is missing that causes problems or in the case of Ubuntu where they don't have the latest release in their repository (there is a fair delay here).

MATLAB is available for it and for Linux so if you're needing it then either option is okay.

One thing I caution graduate students is that you shouldn't cheap on things when you're going for your PhD. You don't need the excitement of a refurbished machine breaking down or software underperforming while you're in the finishing stages of your thesis. There is no dog ate my homework excuse here.
In all honesty, I have never been a fan of Apple. The price to hardware ratio is far too ludicrous for me personally, and windows machines just have appeal. I prefer thinkpad keyboards in particular! But thank you for your comments
 
Try Ubuntu first as I think its the easiest to setup.
 
  • #10
I recommend starting with Ubuntu also.
 
  • #11
jedishrfu said:
MATLAB is available for it and for Linux so if you're needing it then either option is okay.

Octave is a free version of Matlab available on Linux, almost as good as the original when I used it.

Tried 3 or 4 distros, Ubuntu is the easiest to get going. My advisor had a Mac years ago, had nothing but problems with it.
 
  • #12
I started playing with Linux about two-two and a half years ago. As with most people, I started off with Ubuntu. The package repository is large and it offers a lot of GUI packages for base functionality to help you ease into the environment. This is very helpful when transitioning from Windows to Linux.

Mint is another distribution I tried early on and it seemed closer to Windows and might offer an easier transition point for new users. Cinnamon and Mate desktops make life a lot simpler.

Over time, I moved away from Ubuntu and Mint for the following reasons. Mint, mainly because it didn't have a rolling release, each major update meant I had to reinstall. This isn't that big a deal if you partition your drive carefully and separate your home directories. Then you can simply reinstall without having to lose any data.

A big reason I left the windows environment was because of the bloatware. Ubuntu unfortunately also suffers from the same problem, it's heavily marketed and does a lot of the data collection that Microsoft does.

I ran fedora for a little bit but it was a little too bleeding edge for me. I never quite got it to do everything I wanted. That said, it has its ties to Red Hat, a lot of scientific software is built for Red Hat so you may have more joy because of that.

My current system is running on debian. I settled on debian for two reasons. It is fantastically stable and because of their Free Software guidelines. I get a clean system that does exactly what I want and nothing else. It is the base for both Ubuntu and Mint so there's a lot of documentation and help around the Web. I'm even built a computing cluster at work using debian.

My suggestion, follow the Mint/Ubuntu path to start, get your feet wet and see what it's like. Once you become familiar with the OS and get comfortable fixing issues and solving problems, then perhaps you can consider switching over to Arch or Debian. Or just stay with Ubuntu or Mint and be happily ever after lol
 
  • Like
Likes   Reactions: deskswirl and nsaspook
  • #13
Dr Transport said:
Tried 3 or 4 distros, Ubuntu is the easiest to get going. My advisor had a Mac years ago, had nothing but problems with it.

I use Linux on my Mac every day. I use Homebrew to handle the package installation and everything works fine. Connectivity on the Mac (such things as printer installation, multimedia browsing, internet connectivity...) is much more robust than a native Linux distro like Ubuntu.
 
  • #14
phyzguy said:
I use Linux on my Mac every day. I use Homebrew to handle the package installation and everything works fine. Connectivity on the Mac (such things as printer installation, multimedia browsing, internet connectivity...) is much more robust than a native Linux distro like Ubuntu.
No, no, my advisor didn't run Linux on his Mac, he ran the native OS... He didn't have a mind for how a computer worked, so he dorked up the machine all the time. This was in the '90's and early '00's, I am sure it is much better now.
 
  • #15
Dr Transport said:
No, no, my advisor didn't run Linux on his Mac, he ran the native OS... He didn't have a mind for how a computer worked, so he dorked up the machine all the time. This was in the '90's and early '00's, I am sure it is much better now.

I didn't mean that I install a Linux distro on my Mac - I also am using the native Mac OS, which is based on Linux. There is no need to install a new OS, you just need to install a package manager like Homebrew to handle the software installations.
 
  • #16
phyzguy said:
I didn't mean that I install a Linux distro on my Mac - I also am using the native Mac OS, which is based on Linux. There is no need to install a new OS, you just need to install a package manager like Homebrew to handle the software installations.

He would not have been able to do that and keep his machine running. He had a tendency to drag the package to where ever he wanted on the drive then he would move it later, thus ruining all his links and paths that were set up. ultimately he just used it as a word processor, never did any code on it whatsoever. Didn't even want to learn PowerPoint, he just fought thru rotating the page in word and did his slides that way.
 
  • #17
phyzguy said:
I didn't mean that I install a Linux distro on my Mac - I also am using the native Mac OS, which is based on Linux. There is no need to install a new OS, you just need to install a package manager like Homebrew to handle the software installations.
Mac OS X isn't based on Linux. It's based on Darwin, which is a descendant of BSD Unix.
 
  • #18
www.scientific.org has a lot of science apps built in.
www.gentoo.org is the fastest linux but the hardest to install. If you want to learn about linux gentoo is the way to go
 
  • #19
longsun said:
www.scientific.org has a lot of science apps built in.
www.gentoo.org is the fastest linux but the hardest to install. If you want to learn about linux gentoo is the way to go

the first link is dead. am i right to assume it was scientfic linux??
 
  • #20
longsun said:
www.gentoo.org is the fastest linux but the hardest to install. If you want to learn about linux gentoo is the way to go
That is an overstatement. I've used gentoo for over a year. The installation process is just following a recipee (their wiki) and as soon as I ran into a problem I sought help on #gentoo. In the end it was very easy to maintain, install and use and I didn't learn that much about linux with it. If you want a harder linux than gentoo, try lfs (linux from scratch). I did not try myself but people claim that you "really" learn linux with it.
Also Gentoo speed is not necessarily the greatest, in fact Stockfish chess engine was running slower in Gentoo than on Manjaro (an arch linux fork) so I opened a thread in their forum, and finding a culprit was a hard task. In general the speed difference is almost nil, even with benchmarking. And as I said, it can even be slower.
I really liked gentoo, compiling every program with the flags you want is very pleasant. And the linux kernel compilation is extremely funny and pleasant too. Windows made a brick out of my laptop though, and I lost my gentoo OS in the process.
 
  • #21
Routaran said:
My current system is running on debian. I settled on debian for two reasons. It is fantastically stable and because of their Free Software guidelines. I get a clean system that does exactly what I want and nothing else. It is the base for both Ubuntu and Mint so there's a lot of documentation and help around the Web. I'm even built a computing cluster at work using debian.

My suggestion, follow the Mint/Ubuntu path to start, get your feet wet and see what it's like. Once you become familiar with the OS and get comfortable fixing issues and solving problems, then perhaps you can consider switching over to Arch or Debian. Or just stay with Ubuntu or Mint and be happily ever after lol

I use Debian (Raspbian for RPi) for just about everything. It runs great if you keep that SystemD monkey off your server machines.
 
  • #23
Thanks for all the input, in the end i trialed poseidon, scientific linux, fedora and ubuntu for a few hours each. In the end, I wound up going with ubuntu as it was aesthetically pleasing, really easy for me to customise and I was able to start running jobs which I need to very quickly. I feel as though I will move on to another distro in a few months, however I am happy enough to use ubuntu to get to grips with the os and learn some command line actions.

The one thing i will say is that ubuntu comes with a lot of bloatware, which took me a while to identify and remove.
 
  • #24
For programming, i recommend you choose Ubuntu with more libraries and comunity
 

Similar threads

  • · Replies 21 ·
Replies
21
Views
3K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 20 ·
Replies
20
Views
5K
Replies
60
Views
11K
Replies
6
Views
3K
Replies
10
Views
5K
Replies
38
Views
5K
  • · Replies 24 ·
Replies
24
Views
7K
  • · Replies 12 ·
Replies
12
Views
6K