Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • code-webis-cmd code-webis-cmd
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 19
    • Issues 19
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • code-generic
  • code-webis-cmdcode-webis-cmd
  • Wiki
  • webis cmd installation

webis cmd installation · Changes

Page history
Update webis cmd installation authored Mar 02, 2021 by Michael Völske's avatar Michael Völske
Hide whitespace changes
Inline Side-by-side
webis-cmd-installation.md
View page @ 94f83358
......@@ -10,7 +10,8 @@ Follow the instructions in this guide to install the `webis` command on your own
### 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
- 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.
......@@ -51,6 +52,27 @@ positional arguments:
$ 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
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:
......
Clone repository
  • git admin tools
  • git setup
  • Home
  • webis cmd installation