diff --git a/bootstrap/_deb_common.sh b/bootstrap/_deb_common.sh index ccb4c4b2f..b09130d77 100755 --- a/bootstrap/_deb_common.sh +++ b/bootstrap/_deb_common.sh @@ -29,7 +29,7 @@ fi # #276, https://github.com/martinpaljak/M2Crypto/issues/62, # M2Crypto setup.py:add_multiarch_paths -sudo apt-get update -sudo apt-get install -y --no-install-recommends \ - python python-setuptools "$virtualenv" python-dev gcc swig \ - dialog libaugeas0 libssl-dev libffi-dev ca-certificates dpkg-dev +apt-get update +apt-get install -y --no-install-recommends \ + python python-setuptools "$virtualenv" python-dev gcc swig \ + dialog libaugeas0 libssl-dev libffi-dev ca-certificates dpkg-dev diff --git a/bootstrap/mac.sh b/bootstrap/mac.sh index a24590131..9f0f22a17 100755 --- a/bootstrap/mac.sh +++ b/bootstrap/mac.sh @@ -1,2 +1,2 @@ #!/bin/sh -sudo brew install augeas swig +brew install augeas swig diff --git a/docs/using.rst b/docs/using.rst index eb53fc54a..6fed67467 100644 --- a/docs/using.rst +++ b/docs/using.rst @@ -11,6 +11,7 @@ are provided mainly for the :ref:`developers ` reference. In general: +* ``sudo`` is required as a suggested way of running privileged process * `swig`_ is required for compiling `m2crypto`_ * `augeas`_ is required for the ``python-augeas`` bindings @@ -20,7 +21,7 @@ Ubuntu .. code-block:: shell - ./bootstrap/ubuntu.sh + sudo ./bootstrap/ubuntu.sh Debian @@ -28,13 +29,10 @@ Debian .. code-block:: shell - ./bootstrap/debian.sh + sudo ./bootstrap/debian.sh For squezze you will need to: -- Run ``apt-get install -y --no-install-recommends sudo`` as root - (``sudo`` is not installed by default) before running the bootstrap - script. - Use ``virtualenv --no-site-packages -p python`` instead of ``-p python2``. - Use text mode ``sudo ./venv/bin/letsencrypt --text`` (`#280`_) @@ -47,7 +45,7 @@ Mac OSX .. code-block:: shell - ./bootstrap/mac.sh + sudo ./bootstrap/mac.sh Installation