Getting started using your laptop
SSH and X11
If you’ve never installed ssh or X11 on your computer, these two pages will guide you through the process:
If you have an account on one of the Nevis particle-physics systems, these sites were included in the introductory email I sent you with details about your account.
In case it’s not obvious: For the rest of this tutorial, I’ll assume
you’ve read the above web pages, know how to use
connect to your Nevis server (or some other computer system that
includes ROOT),2 or have your own installation.
Escape from the gooey GUI
You may be used to a graphical user interface (GUI) instead of the command line; for example, opening a file with an appropriate application by double-clicking on its icon in a window. For copying and editing files, or developing code, I recommend against a GUI; almost all physics development work is done on the command line.
This GUI advice won’t apply if you start using ROOT notebooks. We’ll get to that later.
You will need at least two terminal windows open during parts of this tutorial. One window I’ll call your “ROOT command” window; this is where you’ll run ROOT. Another is a separate “UNIX command” window.
Your existing terminal program includes some way of showing multiple
windows or tabs; look through its menus for something like “New Window”.
If you’re using a laptop to connect to a remove server, you’ll have to
ssh to login to that server in each window.
I like to open a new tab instead of a new separate window, but you can use whichever mode you prefer. I suggest you try both methods to find out which one suits you.
Installing ROOT on your laptop
If this is too short and snarky for you, I’ll elaborate: You may correctly deduce that setting up ROOT on your own computer system is not a trivial task. It is not an app you can double-click to install. To avoid a hassle, I suggest logging into Nevis servers or using the Nevis notebook server for this course if you are able to do so.
The reason why I installed ROOT on the Nevis particle-physics systems and prepared the notebook server is so students and researchers affiliated with Nevis can spend less time on software installations, and more time on learning how to use the tools to do physics.
Let’s do physics.
If the above is not enough to dissuade you, or you don’t have a choice because you don’t have a connection to either Nevis or another institution with ROOT already installed, I offer the nitty-gritty details of installing ROOT.
Very strictly speaking, if you’re going to install ROOT on your own computer, you don’t need
ssh. As a practical matter, if you’re going to be working in science, you’ll find
sshand its related tools (
sftp) to be useful.
Don’t forget the -
XYor some other method of forwarding an X11 connection to that server.