m-labs / artiq

A leading-edge control system for quantum information experiments
https://m-labs.hk/artiq
GNU Lesser General Public License v3.0
415 stars 193 forks source link

Ubuntu 15.10+/Debian jessie+ specific instructions? #282

Closed sbourdeauducq closed 8 years ago

sbourdeauducq commented 8 years ago

https://m-labs.hk/artiq/manual/installing.html#ubuntu-15-10-debian-jessie-specific-instructions

Who wants to maintain those, i.e. test them at every major ARTIQ release? And remove any superfluous packages?

They are also certainly incomplete, as they e.g. they do not include Qt, and it is not explained when they are needed (it seems they are for building from source a minimal ARTIQ that can just run kernels, no GUI/controllers).

If there are no maintainers, I will remove them.

whitequark commented 8 years ago

I use Debian (and abhor conda) so naturally I know what's needed... don't care about Ubuntu though.

whitequark commented 8 years ago

The list is wildly wrong though.

dhslichter commented 8 years ago

These are so out of date that we should probably just remove them for now.

jordens commented 8 years ago

That section was already hilariously broken when it was first written and committed. Removing would be beneficial.

ghost commented 8 years ago

When I was regularly building ARTIQ from source I was updating this list for Ubuntu 14.04 LTE. I don't know when it shifted to 15.x. As part of the build-install instructions a list of dependencies for a specific version of Linux is crucial -- build errors in the absence of proper dependencies can be quite cryptic to the uninitiated.

I strongly advocate for Ubuntu for historical reasons and because it is officially supported by the NIST Linux security scripts. Details such as build dependencies are for ease of installation by physicists not ARTIQ developers. Peter's loathing of Ubuntu is noted but not relevant unless there is very strong technical grounds to shift to a different distribution.

What is the motive for a shift from 14.04 LTE to 15.x? Agreed that in anticipation of v1.0 somebody needs to be installing and building on a clean install of the standard disto. This should be a relative novice, not one of the m-labs.hk developers. This may be an application of one of SB's kode kids or a physicist.

Joe

On Saturday, February 20, 2016, dhslichter notifications@github.com wrote:

These are so out of date that we should probably just remove them for now.

— Reply to this email directly or view it on GitHub https://github.com/m-labs/artiq/issues/282#issuecomment-186737127.

dhslichter commented 8 years ago

I think what we have right now (in the dependencies section at the very end of the "install" page of the manual) is not useful so it is less confusing to remove it for the time being. We should replace this with full instructions for installing ARTIQ/Misoc/Migen/openocd/llvm/clang and all dependencies on a fresh install of Xubuntu 14.04 LTS, aimed at the novice/non-Linux-expert ARTIQ user (much of this already exists, although there are some dependencies not detailed in the current install-from-source documentation). This particular choice of OS is because it is a preferred one for NIST users because of iTAC policy. If someone has strong preferences for a different Linux distro, I would imagine it means they are sufficiently proficient with Linux to be able to figure out how to install the dependencies etc on their particular distribution without our having to document it in fine detail for them.

whitequark commented 8 years ago

loathing of Ubuntu is noted

Oh, I don't have strong feelings about Ubuntu. It's just that extracting the list of needed Debian packages is trivial and would take me a minute whereas for Ubuntu it's more involved (needs a new VM... etc).

ghost commented 8 years ago

The choice of Xubuntu 14.04 is an artifact of early testing at NIST on Virtual Machines. Now that everybody at NIST is using dedicated hardware, Ubuntu 14.04 is best. NIST security scripts officially support Ubuntu 14.04. -Joe

On Sun, Feb 21, 2016 at 11:42 PM, whitequark notifications@github.com wrote:

loathing of Ubuntu is noted

Oh, I don't have strong feelings about Ubuntu. It's just that extracting the list of needed Debian packages is trivial and would take me a minute whereas for Ubuntu it's more involved (needs a new VM... etc).

— Reply to this email directly or view it on GitHub https://github.com/m-labs/artiq/issues/282#issuecomment-187037258.