Skip to content

Commit

Permalink
Backup installation instructions
Browse files Browse the repository at this point in the history
related: issue #1

Also, conform the Stata syntax to convention.
  • Loading branch information
kousu committed May 13, 2018
1 parent a2cbd8a commit 3321486
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ Installation

In Stata:
```
net search svmachines
. net search svmachines
```
will let you find this wrapper. To install the currently published copy from the Stata archive, this means doing

```
net sj 16-4
net install st0461
. net sj 16-4
. net install st0461
```

But as it is only a wrapper, so you need to install [libsvm](http://www.csie.ntu.edu.tw/~cjlin/libsvm/) too:
Expand All @@ -43,6 +43,15 @@ On Windows, libsvm is bundled with this package, because dependency tracking is
* Redhat/Fedora: `yum install libsvm` (**UNTESTED**)
* You can manually [download](http://www.csie.ntu.edu.tw/~cjlin/cgi-bin/libsvm.cgi?+http://www.csie.ntu.edu.tw/~cjlin/libsvm+tar.gz) and follow the [build instructions](https://github.com/cjlin1/libsvm).

Alternate Installation
----------------------

If the published [Stata Journal](https://www.stata-journal.com/) [copy](https://www.stata-journal.com/software/sj16-4/st0461.pkg) isn't working for you, you can also install directly out of this repository. Get [svmachines.zip](svmachines.zip) get unzip it somewhere, say `/tmp/stata_install/` and make sure that creates `/tmp/stata_install/svmachines.pkg` as well as the folder `/tmp/stata_install/svmachines/`. Then, in Stata, do

```
. net use /tmp/stata_install
. net install svmachines
```

Usage
-----
Expand Down

0 comments on commit 3321486

Please sign in to comment.