1
0
mirror of https://github.com/TheLocehiliosan/yadm synced 2024-10-27 20:34:27 +00:00
TheLocehiliosan_yadm/_docs/020_install.md
Paraplegic Racehorse d040bce996 020_install.md + user-local option
and hints on how to keep yadm in the yadm repository as a submodule.
2017-01-05 09:41:01 -09:00

70 lines
2.0 KiB
Markdown

---
title: "Installation"
permalink: /docs/install
---
{% include toc title="Platforms" %}
## OSX
**yadm** can be installed using [Homebrew](https://github.com/Homebrew/homebrew).
```
brew install yadm
```
## Fedora/Red Hat/ CentOS (YUM/RPM)
Several yum repositories are on Copr. Follow this link for [repositories and installation instructions](https://copr.fedorainfracloud.org/coprs/thelocehiliosan/yadm/).
## Debian / Ubuntu
**yadm** is currently in the "testing" release of Debian. If you are using the "stable" release, you can still install **yadm** using the following process.
* First, add the following to `/etc/apt/sources.list`
```
deb http://ftp.debian.org/debian testing main contrib non-free
```
* Next, run `apt-get update -y`
* Last, run `apt-get -t testing install yadm`
If you are using the "unstable" or "testing" release of Debian, you should be able to install **yadm** as you normally install software with `apt-get`.
## Arch Linux
**yadm** is available in the Arch User Repos and can be installed with AUR helper or Makepkg
```
yaourt -S yadm
```
## Gentoo Linux
**yadm** is available in the main gentoo portage tree, simply use `emerge` to install it
```
emerge -atv app-admin/yadm
```
## Other
You *can* simply download the **yadm** script and put it into your `$PATH`. Something like this:
```
curl -fLo /usr/local/bin/yadm https://github.com/TheLocehiliosan/yadm/raw/master/yadm && chmod a+x /usr/local/bin/yadm
```
or this if you don't want to clutter your system files:
```
curl -fLo ~/bin/yadm https://github.com/TheLocehiliosan/yadm/raw/master/yadm && chmod +x ~/bin/yadm
```
You can then, if you wish, add the **yadm** repository to your repository as a submodule.
Doing this is beyond this documentation, but you can get a start by reading the
[git-submodule](https://git-scm.com/docs/git-submodule)
man page;
or Stack-Overflow has a [useful resource](https://stackoverflow.com/questions/9035895/how-do-i-add-a-submodule-to-a-sub-directory)