readme: Add OS-specific installation instructions

This commit is contained in:
Mr. Outis
2018-11-06 14:44:33 -06:00
parent 49cadb68da
commit eef34b567b
+37 -12
View File
@@ -89,39 +89,64 @@ Installation
There are three options to install DVC: ``pip``, Homebrew, or an OS-specific package: There are three options to install DVC: ``pip``, Homebrew, or an OS-specific package:
pip (PyPI)
----------
Stable
^^^^^^
.. code-block:: bash .. code-block:: bash
pip install dvc pip install dvc
Development
^^^^^^^^^^^
.. code-block:: bash
pip install git+git://github.com/iterative/dvc
Homebrew
--------
.. code-block:: bash
brew install iterative/homebrew-dvc/dvc
or:
.. code-block:: bash
brew cask install iterative/homebrew-dvc/dvc
Package Package
------- -------
Self-contained packages for Windows, Linux, Mac are available. The latest version of the packages can be found at Self-contained packages for Windows, Linux, Mac are available. The latest version of the packages can be found at
GitHub `releases page <https://github.com/iterative/dvc/releases>`_. GitHub `releases page <https://github.com/iterative/dvc/releases>`_.
Homebrew Ubuntu / Debian (apt)
-------- ^^^^^^^^^^^^^^^^^^^^^
.. code-block:: bash .. code-block:: bash
$ brew install iterative/homebrew-dvc/dvc sudo wget https://dvc.org/deb/dvc.list -O etc/apt/sources.list.d/dvc.list
sudo apt-get update
or: sudo apt-get install dvc
Fedora / CentOS (rpm)
^^^^^^^^^^^^^^^^^^^^^
.. code-block:: bash .. code-block:: bash
$ brew cask install iterative/homebrew-dvc/dvc sudo wget https://dvc.org/rpm/dvc.repo -O /etc/yum.repos.d/dvc.repo
sudo yum update
AUR sudo yum install dvc
---
Arch linux (AUR)
^^^^^^^^^^^^^^^^
*Unofficial package*, any inquiries regarding the AUR package, *Unofficial package*, any inquiries regarding the AUR package,
`refer to the maintainer <https://github.com/mroutis/pkgbuilds>`_. `refer to the maintainer <https://github.com/mroutis/pkgbuilds>`_.
.. code-block:: bash .. code-block:: bash
# https://aur.archlinux.org/packages/dvc yay -S dvc
$ yay -S dvc
Related technologies Related technologies
==================== ====================