... | @@ -10,7 +10,8 @@ Follow the instructions in this guide to install the `webis` command on your own |
... | @@ -10,7 +10,8 @@ Follow the instructions in this guide to install the `webis` command on your own |
|
|
|
|
|
### Windows
|
|
### Windows
|
|
|
|
|
|
- Go to [cygwin.com](https://www.cygwin.com) and download and install the appropriate `cygwin` distribution for your operating system (either the 32-bit or 64-bit version)
|
|
- Go to [cygwin.com](https://www.cygwin.com) and do/usr/local/share/webis-cmd/webis.py core install
|
|
|
|
wnload and install the appropriate `cygwin` distribution for your operating system (either the 32-bit or 64-bit version)
|
|
- During installation, make sure that the `bash`, `git`, `python` and `openssh` packages are selected
|
|
- During installation, make sure that the `bash`, `git`, `python` and `openssh` packages are selected
|
|
- For the remainder of this guide, use the cygwin `bash` shell to enter all commands; this will likely be called "Cygwin Terminal" or similar in your start menu
|
|
- For the remainder of this guide, use the cygwin `bash` shell to enter all commands; this will likely be called "Cygwin Terminal" or similar in your start menu
|
|
- Windows installation has not been tested extensively. If you use the `webis` command on Windows, let us know what problems you encountered and how you fixed them.
|
|
- Windows installation has not been tested extensively. If you use the `webis` command on Windows, let us know what problems you encountered and how you fixed them.
|
... | @@ -51,6 +52,27 @@ positional arguments: |
... | @@ -51,6 +52,27 @@ positional arguments: |
|
$ sudo webis core update
|
|
$ sudo webis core update
|
|
```
|
|
```
|
|
|
|
|
|
|
|
#### Alternative Instructions for Old Ubuntu Versions
|
|
|
|
|
|
|
|
If your version of Ubuntu doesn't ship at least Python3.6, you will have to use the [deadsnakes](https://github.com/deadsnakes) repository to install a newer Python version first. Instead of all the above, execute the following commands in sequence, as root:
|
|
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
apt-get update
|
|
|
|
apt-get install -y software-properties-common git pep8 python3-pip
|
|
|
|
add-apt-repository -y ppa:deadsnakes/ppa
|
|
|
|
apt-get update
|
|
|
|
apt-get install -y python3.8 python3.8-venv
|
|
|
|
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 10
|
|
|
|
python3 -m easy_install -U pip
|
|
|
|
python3 -m pip install -U setuptools wheel
|
|
|
|
git clone https://git.webis.de/code-generic/code-webis-cmd.git /usr/local/share/webis-cmd
|
|
|
|
python3 /usr/local/share/webis-cmd/setup.py install
|
|
|
|
/usr/local/share/webis-cmd/webis.py core install
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Single-user machines
|
|
### Single-user machines
|
|
|
|
|
|
If you have only one user account, you don't need to clone the repository to a system-wide folder, any location (e.g. in your HOME directory) will do, for example:
|
|
If you have only one user account, you don't need to clone the repository to a system-wide folder, any location (e.g. in your HOME directory) will do, for example:
|
... | | ... | |