ArchLinux in Academia
Is there anyone out there who is a Graduate Student and exclusively uses Arch in their lab computers? Would you recommend doing the same to other future grad students? Why or Why not?
About this post
- Posted
- Archived
- Score
- 22 · 100% up
- Kind
- Text
- ID
- 1d26kr
56 comments
Yes. I've been using Archlinux for several years now. I started part-way through my undergrad and have used it exclusively since then. I've now been in grad school for almost three years.
As someone doing graduate work in Computer Science, I generally find that my workflow is much more fluid than my peers, who all mostly use Windows or Mac. Some of my peers also use Ubuntu (but they use it like they'd use Windows). Of the few that use a different Linux distro (e.g., Debian), they seem to get along quite fine.
Basically all of my writing is done in vim. Informal documents are regular plain text. Anything that requires some formality is done in LaTeX. If I need to collaborate, we used a shared
gitrepository. If I need to give a presentation and decide to use slides, I also use LaTeX (in particular,beamer).Since you're not in CS, I'd say your biggest stumbling block will be any particular software that you must use. Others have mentioned using a VM, and that's probably a suitable solution depending upon how comfortable you are doing that.
Our computing workflows seem very similar (although, I bet you're way more useful than I am . . . I'm a math grad student). Hello computing brother.
Physics undergrad reporting in- very similar experience. Much like burntsushi, I mostly use vim and LaTeX. For some assignments, I'm required to use Wolfram Mathematica. For some lab work, I use have to use Matlab. Occasionally, I'll need some specific software- this is almost always available on the lab computers (mostly running Ubuntu). The rest of my work is programming in C or Python, and the occasional Fortran.
I'd say it depends on what software you need to use as an EE student. I suspect you'll need to look for Solidworks/CAD software alternatives that work for you.
I spent a lot of time in my undergraduate Signal Processing class to get my MATLAB scripts to output perfectly sized and numbered EPS files so that I could programatically put them into my LaTeX lab report. Then I could run the script and recompile the report right away after I realized I made a mistake. I'm not sure if I saved more time than I took to set up the environment, but it sure was fun.
That does sound like fun! It may have been more work, but if that was a workflow you needed to repeat outside of class, it probably would have paid for itself quite quickly.
It's an obvious continuation of what you described, but writing your M-files (or whatever script/programming language you happen to be using) to format output using the
tabularenvironment, saving to a.texfile and then usinginputis another great way for automatically updating your documents.Do you write LaTeX in vim? What's your workflow there, do you have some kind of preview open as you write? What's your setup?
Depending on what I'm doing, I either use
makeor thevim-latexplugin (in the AUR) to build the PDF. While I'm editing invim, I usually have thevimwindow and a PDF window tiled next to each other. When I'm ready to "see" what I've written, I either callmakefromvimor use the\llkey binding with thevim-latexplugin. The PDF viewer I use has auto-refresh built in, so I see the changes near-instantly. (I useokular,zathuraorqpdfview, depending on my mood.)you sound like my hero
I run a modest sized lab at my university, mostly on Linux. (Currently in the process of transition all to Linux.)
We run an LTS version of Mint. I considered Arch, but, in most cases, you're not being paid to be a sysadmin--you're being paid to do research. I run Arch and Gentoo on my personal machines, but I want to minimize the time spent doing sysadmin tasks in the lab. YMMV.
If you were a sysadmin, you'd be avoiding Arch like the plague. It's awesome individual boxes, but to roll it out across a lab? DO. NOT. WANT.
Do you think that's true even if you do it the way burntsushi does? Admin'ing one box and rolling the image out?
Why? It works without issue for the most part and software is available easily. Setup your own local repo, have a test lab that pulls first to make sure nothing major breaks, and use Puppet / CFEngine and LDAP to manage packages, config files and logins. It's no different than any other distro.
For some context, I'm an aerospace engineer and the sole person responsible for doing the sysadmin-y tasks with our lab computers.
I mostly use Python, C, C++, MATLAB, and of course LaTeX. In the lab the other big program is X-Plane for flight simulation.
M.Sc in computer science here. I just have to remember not to pacman -Syu when I have a deadline coming up. Can't trust that f***ing ATI driver not to break...
It really depends on what you're doing in grad school. Are you in a computer science master's degree program? If you are and your program requires a thesis, you may want to consider doing your testing on a distro with a specific release number. Thesis writing is very specific and sometimes a rolling release is difficult to generate a consistent benchmark from. I used Arch as my core but ran VM's from it for my actual testing and development.
I think someone mentioned the document sharing aspect too. If you need to collaborate with an advisor and they want to do it electronically, make sure you both agree on what editors to use. Will make for a lot less headache a smoother time all the way around.
Otherwise, do what works for you! I know that's why I used Arch :)
Deleted before we saved it.
Sounds like a good plan ;) Just got to stay on top of the VirtualBox modules with kernel updates.
I use Arch exclusively on all my computers, and it's rarely an issue. Work tends to revolve around programming and latex reports, and linux excels at those tasks. Most of my fellow grad students don't use linux on their personal computers, even though they are plenty comfortable on the command line. There are a lot of virtual resources (linux servers) provided by the department that allow windows/mac computers to get much of the linux functionality.
I have found that collaborating on presentations can be difficult because libreoffice isn't great at using pptx files. Also, general university infrastructure like wifi, printing, and projectors can be a pain. But yes, I would say go for it! I think grad school is one place where it's easier to be obstinate about using proprietary software (unlike undergrad or industry).
Postgraduate doing physics.
Arch + DWM.
Similar set up and approach to work as described by /u/burntsushi. LaTeX for documents, Beamer for presentations, and vim as my editor.
Though to be honest, I think (other than it being arch) this is pretty much the standard in my group. Everyone is on some flavour of linux. I think there are one or two windows users, and the higher-ups use Macs.
I run several EE undergrad computer labs and we use Arch Linux for our lab workstations. One of the main reasons we chose it (aside from all the usual features: nice environment, updated packages, easily customizable, AUR, etc.) is that it is a rolling release distro. When we used Ubuntu/Fedora, we would have to redo the images from scratch every year when we were updating the image. With Arch, we don't have to start over and re-implement all of our configurations/customizations each yet; we can just keep our image updated throughout the year (keeping a single machine updated and cloning it out to the rest every few weeks/months).
If you have any specific questions about out experiences running labs on Arch, feel free to ask.
What window manager/DE do you run? How do you keep students from borking the system?
We used gdm-old for our display manager, but I am in the process of switching us to kdm due to some breakage in gdm-old due to other updates. We actually have a lot of DEs/WMs installed. Users can select their session when logging in and their choice is saved in ~/.dmrc (which gdm-old and kdm support, which is why we use them).
I use xmonad. We have two other tiling WM users, one of whom uses i3 and the other uses spectrwm. Most students use xfce or cinnamon. We also have enlightenment, gnome, and kde installed, though I don't believe anyone actually uses them.
Each student has a Kerberos/LDAP account and their home directories are in AFS. Outside of their home directories and /tmp, student accounts have no permissions and any changes they make effect only their accounts, so they can't really break anything during routine work.
If students need some package or anything along those lines, they can ask me or file a ticket. If it is something minor, I can make the change directly with cssh. If it is something more major, I will make the change on my workstation (which uses the lab image and which I keep updated) and clone it out to the rest when I can.
Deleted before we saved it.
Not really. Our printers are all networked and managed through a CUPS server. We just point our Arch workstations to the CUPS server by specifying the server in /etc/cups/client.conf and everything works great. Projectors work fine with xfce and the normal display preferences dialog. I don't believe we've ever tried to use one with a different WM/DE, but no reason they wouldn't.
USB scanners are sometimes a bit finicky, though I suspect that is due to faulty USB ports. Plug it in (possibly try a few USB ports), start up simple-scan, and you're good to go.
Wouldn't the LTS releases be a better fit in your case?
We don't like working with outdated packages. Normal Ubuntu/Fedora package release cycles are bad enough, much less LTS release cycles. As a user, I would not be happy with such a state of affairs and neither would our students.
No other package manager compares to yaourt/pacman+AUR.
We have a good number of customizations (random scripts and configurations) in our image. With Ubuntu, I have to work to undo a lot of their crap first and then make it work the way I need it to. With Arch, I can just make things work the way I need them to the first time around.
It is far more convenient spending a few minutes every week or two and a few hours when something major breaks (which is not that often) updating Arch than spending a week getting every little detail configured every time we have to rebuild the image from scratch, even if that is every few years. This is especially true because, due to their slow release cycles, there are a huge number of changes between LTS releases so we have to go through everything again to see if our configs still work and figure out what changed and broke if they don't.
This was not intentional, but because we are always on the bleeding edge in terms of software and linux tech, we can act as a sort of experimental branch for the main computer center. It is analogous to how Red Hat release are based on several year old Fedora releases.
Nuclear engineering masters student here, I'm running arch on both my box and netbook (lab work is done on both). All the times that I've used windows boxes at uni, it's a VM to a linux machine connected to the detectors etc anyway. A lot of my work is things like neutron transport modelling which I do natively, the only non native thing I use is basically word processing which I use office2007 with wine. Before anyone jumps on the "OMFG libreoffice" or whatever, fuck off basically. I've got MS office and I prefer it.
Don't blind update unless you have at least 24 hours ahead of you where you aren't doing anything.
There is one other guy who does actual lab work on some debian based distro (squeeze I think) and he gets along fine.
I'm in undergrad and I installed Arch after my freshman year I think. It's been great for the most part. I will say, that I wouldn't do a fresh install or any major changes during the week - save that for the weekend. The biggest hassle is the fact that most of the school relies on Windows, so I feel out of place on their computers. That, and conversion to MS Office sometimes sucks for me so I just export my documents to PDFs.
Before you listen to advice, just make sure the software you would need for school or in your labs are available on Arch.
Deleted before we saved it.
If you're comfortable running a vm it shouldn't be a problem. You didn't give us much info to go on so that's about all I can say.
I always say stick with what you are comfortable with. If you can find all the tools you need to do your work in the repos then go for it.
Depending on how you want to set up Arch, it can be pretty easy if you're willing to read, research, and ask a couple questions. Arch has been my first and likely only Linux distro and diving right in without looking back has made all the difference in how comfortable I am with my own system configurations. I started out just reading about different distros for a couple years and picked Arch over Gentoo, then jumped in by installing the basics and going from there. For me (at the time), the basics were Xorg and KDE, but the longer I use Arch, the less I want programs to do my work for me. After you have your system up and running, it's almost identical to any other flavor of Linux from the users experience. From the admins point of view, the tools are more powerful than most.
I think you would have to be more specific. Graduate work in what field?
Deleted before we saved it.
i would not really suggest arch on the lab servers. people tend to use debian/ cent etc on servers.
With Arch Linux you would have access to the latest versions of software available.
Sometimes exclusively.Some times just the latest version of software.This could be useful if you want to use new features and so on. But the obvious down side is that most academic papers publish links to software that is a bit old and sometimes may not work out of the box on Arch Linux.
EDIT: Changed a couple of sentences for Clarity.
I'm an EE PhD student (digital comm), and I do my research mostly at home on Arch. My research group has a CentOS cluster that we use to run simulations on. Most of the work I do is writing Matlab / Python / C scripts, debugging them at home, and then transfering them to the cluster to do the real work. It works out well for me, but other Grad students do the same just fine in Windows or Ubuntu.
One thing that I recommend if you do use Arch is to be careful about when you run update, and what is being updated. For example, say you need your computer working so you can work on some project or whatever that's due "soon". Consider the time requirements in troubleshooting and fixing botched upgrade between now and then, and if you have time to deal with it and do your work. It can be smarter to put off updating until you have time to deal with it.
And preferable, have a backup plan (alternate computer and access to any progress you've made so far) in case you accidentally do this.
Bioinformatics PhD student here. Our group uses a mixture of Scientific Linux, Ubuntu and Mint on workstations and Scientific Linux on shared machines, so we don't have many Windows interoperability issues. I'm using Arch on my workstation computer for its flexibility, speed and control. My basic workflow:
Additionally, since I'm relying on lots of scientific software which cannot be found in normal distro repositories, keeping a clean system using my own PKGBUILDs is a nice thing. I try to publish on the AUR whenever possible.
Also, Allan McRae is a statistical geneticist, can't tell if he uses Arch in his research though.
I guess the point is that you should pick whatever you're most comfortable with when being the only user of that system. When you share a machine with others,
Hello fellow EE grad student!
I've got Arch on everything except my desktop. That runs Windows 8 so I can have something that is constant if I need it. But my laptops are all Arch and I love it. My beefier laptop rims heavier programs, a full DE, etc. My netbook runs a more minimal install and a WM.
The setup has suited me very well.
Edit: Reasons why.
I do a bit of Ruby development and I really enjoy having a functional command line (Cygwin will never be an adequate replacement). The arch wiki has a great guide to get a functional Rails stack and that visit really nice.
I also hate being stuck in a rut. In the past year I've gone through Gnome, KDE, and XFCE on my bigger laptop and a few WMs on my netbook. Arch just makes it so easy to jump around.
I too run Arch as a graduate student. I originally ran arch doing nuclear physics and now doing "earth sciences" (though I stick out like a sore thumb in my classes).
I would always recommend using it.... but that's because I feel like my workflow is so much more efficient... an admittedly biased perspective
I've run Arch all through my college career similar to the people who posted here I use vim and have been over all more productive then other people, including other Linux users. Most recently the aur and the gcc-arm tools made it easy for me to dev my OS project without screwing around building packages and setting variables. Vim, Latex, Octave/Matlab, R and a few others have worked perfectly fine for me. Computational Mathematics major so even people outside of CS can get along with it.
Only issue I could foresee is sometimes profs want a very specific (read excruciatingly old) version of software typically I just use the newest version anywhere but check the change logs for compatibility issues.
I use arch linux on my own laptop, but my lab computer runs ubuntu. While I would definitely recommend having a linux system in general, there were a couple times where having at least some system running ubuntu to be really helpful. This is because some research-based packages were setup specifically with ubuntu in mind (ros, OMPL). If the package uses python, you'll likely run into issues where arch linux and ubuntu default python 3 and python 2 respectively, causing all sorts of headaches.
That being said, if you're sure you won't run into this type of issue, I would recommend arch linux over ubuntu any day.
TL;DR: sharing code with other researchers is easier if you use Ubuntu.
I'm a computational chemistry PhD student (grad student) and I exclusively use Arch on my work machine. I don't have a lab; my computer is my lab. I went through numerous distros over my first few months here and I eventually settled on Arch purely because I had started using it on my home desktop and my netbook and had become familar with it (I now don't use anything else at all).
It's not as easy as it is on, for example, Debian-based distros to install the software I need but I haven't actually found myself stumped or unable to get it on the machine with Arch (a situation I did actually find myself in with Fedora). So yes, I'd recommend it but with the caveat that I do so based almost completely on personal preference — I only use Arch at work because I love it and am comfortable with it, but most at my office use Ubuntu because typically less configuration is involved with installations and the documentation is normally superior (for the software itself, I mean).