Closed gvwilson closed 7 years ago
@ncarchedi @gvwilson My sense is that packages can be installed, but will NOT persist across user sessions. @filipsch @machow can you shed some more light on this?
That's right, but keep in mind comments about how a command which produces a prompt such as...
would you like to install this package (y/n)?
that requires the user to then enter y
, will cause the session to hang until timeout
RE (1) if you end up wanting to start exercises at different "states" (for example, students practice installing ack
in one exercise, and then use it in the next), you could do something like
In this sense, each module would hold an intermediate course state.
RE (2) right, in case you're curious, we're using the python library pexpect behind the scenes!
Issue moved to datacamp/courses-intermediate-unix-shell #3 via ZenHub
Find out whether packages can be installed during lessons so that we can teachbrew
/apt
/yum
/etc.Consensus is that:
Note: we do not need package installation in the basic course (this one), but should introduce it in the second (intermediate) course so that we can show learners what lands where - they'll need to know this in order to debug when things (inevitably) go wrong.