Differences between revisions 1 and 5 (spanning 4 versions)
Revision 1 as of 2024-12-05 12:30:32
Size: 224
Editor: mark
Comment:
Revision 5 as of 2024-12-05 15:10:38
Size: 2678
Editor: mark
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from Nottingham2024/Installation
Line 3: Line 4:
These instructions assume that you have successfully installed WSL or a virtual machine, as described in the [[pre-arrival instructions|Meetings/Nottingham2024/PreArrival]] These instructions assume that you have successfully installed WSL or a virtual machine, as described in the [[Meetings/Nottingham2024/PreArrival|pre-arrival instructions]]. If for some reason this hasn't been possible, please consult one of the instructors.

=== Downloading the software: ===
Open a shell in your linux environment

Create a directory into which we will download the ScrumPy source-code:

{{{#!highlight bash
$ mkdir ScrumPyInstall
}}}
and make this directory your current working directory:

{{{#!highlight bash
$ cd ScrumPyInstall
}}}
Now we can download the source-code archive:

{{{#!highlight bash
ScrumPyInstall$ wget https://gitlab.com/MarkPoolman/scrumpy/-/archive/master/scrumpy-master.tar.gz
}}}
and then unpack it:

{{{#!highlight bash
ScrumPyInstall$ tar zxf scrumpy-master.tar.gz
}}}
Check that it's worked:

{{{#!highlight bash
ScrumPyInstall$ ls
scrumpy-master.tar.gz
mark@Ryzen7-1:~/ScrumPyInstall$ tar zxf scrumpy-master.tar.gz
mark@Ryzen7-1:~/ScrumPyInstall$ ls
scrumpy-master scrumpy-master.tar.gz
mark@Ryzen7-1:~/ScrumPyInstall$ ls scrumpy-master
BuildLibs.py debian11.py install_conf.py ScrumPy testing Update.py
BuildRel.py debian12.py install.py ScrumPy.e4p Ubuntu20.py
CHANGELOG Fedora38.py LICENSE synfromin Ubuntu22.py
config.txt INSTALL README
}}}
=== Installing the Software ===
having downloaded and unpacked the archive, we can now instal the software. Do do this, we must assume root (aka _admin_) privileges

{{{#!highlight bash
mark@Ryzen7-1:~/ScrumPyInstall$ sudo bash
mark@Ryzen7-1:~/ScrumPyInstall#
}}}
Note the change of prompt from $ to # to remind you of your elevated privileges. All that remains is to cd into the source code archive, and run the installer:

{{{#!highlight bash
mark@Ryzen7-1:~/ScrumPyInstall# cd scrumpy-master
mark@Ryzen7-1:~/ScrumPyInstall/scrumpy-master# python3 ./install.py
}}}
This will generate a lot of output, but once it ends, you should drop root privileges, cd out of the archive directory, and then run ScrumPy:

{{{#!highlight bash
mark@Ryzen7-1:~/ScrumPyInstall# CTRL+D
mark@Ryzen7-1:~/ScrumPyInstall$ cd
mark@Ryzen7-1:~/$ ScrumPy3
}}}
This should bring up a window similar to the one shown below:

=== Note: ===
If you are already familiar with git:

{{{#!highlight bash
git clone https://gitlab.com/MarkPoolman/scrumpy.git
mark@Ryzen7-1:~/$ wget https://gitlab.com/MarkPoolman/scrumpy/-/archive/master/scrumpy-master.tar.gz
}}}
And run the installation script.

Installing ScrumPy

Pre-requisite:

These instructions assume that you have successfully installed WSL or a virtual machine, as described in the pre-arrival instructions. If for some reason this hasn't been possible, please consult one of the instructors.

Downloading the software:

Open a shell in your linux environment

Create a directory into which we will download the ScrumPy source-code:

   1 $ mkdir ScrumPyInstall

and make this directory your current working directory:

   1 $ cd ScrumPyInstall

Now we can download the source-code archive:

   1 ScrumPyInstall$ wget https://gitlab.com/MarkPoolman/scrumpy/-/archive/master/scrumpy-master.tar.gz

and then unpack it:

   1 ScrumPyInstall$ tar zxf scrumpy-master.tar.gz

Check that it's worked:

   1 ScrumPyInstall$ ls
   2 scrumpy-master.tar.gz
   3 mark@Ryzen7-1:~/ScrumPyInstall$ tar zxf scrumpy-master.tar.gz
   4 mark@Ryzen7-1:~/ScrumPyInstall$ ls
   5 scrumpy-master  scrumpy-master.tar.gz
   6 mark@Ryzen7-1:~/ScrumPyInstall$ ls scrumpy-master
   7 BuildLibs.py  debian11.py  install_conf.py  ScrumPy      testing      Update.py
   8 BuildRel.py   debian12.py  install.py       ScrumPy.e4p  Ubuntu20.py
   9 CHANGELOG     Fedora38.py  LICENSE          synfromin    Ubuntu22.py
  10 config.txt    INSTALL      README

Installing the Software

having downloaded and unpacked the archive, we can now instal the software. Do do this, we must assume root (aka _admin_) privileges

   1 mark@Ryzen7-1:~/ScrumPyInstall$ sudo bash
   2 mark@Ryzen7-1:~/ScrumPyInstall#

Note the change of prompt from $ to # to remind you of your elevated privileges. All that remains is to cd into the source code archive, and run the installer:

   1 mark@Ryzen7-1:~/ScrumPyInstall# cd scrumpy-master
   2 mark@Ryzen7-1:~/ScrumPyInstall/scrumpy-master# python3 ./install.py

This will generate a lot of output, but once it ends, you should drop root privileges, cd out of the archive directory, and then run ScrumPy:

   1 mark@Ryzen7-1:~/ScrumPyInstall# CTRL+D
   2 mark@Ryzen7-1:~/ScrumPyInstall$ cd
   3 mark@Ryzen7-1:~/$ ScrumPy3

This should bring up a window similar to the one shown below:

Note:

If you are already familiar with git:

   1 git clone https://gitlab.com/MarkPoolman/scrumpy.git
   2 mark@Ryzen7-1:~/$ wget https://gitlab.com/MarkPoolman/scrumpy/-/archive/master/scrumpy-master.tar.gz

And run the installation script.

None: Meetings/Nottingham2024/Installation (last edited 2024-12-08 11:50:58 by mark)