Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kazuhisya committed Sep 24, 2015
1 parent 4e51934 commit 122a111
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ Tested working (as sane as I could test for) on:
* when you try to build on el5, must enable the EPEL repository.
* when you try to build on el6, can use `devtoolset-3` and `SCL` repository.
- RHEL6.x: [Red Hat Developer Toolset](https://access.redhat.com/documentation/en-US/Red_Hat_Developer_Toolset/) , [Red Hat Software Collections](https://access.redhat.com/documentation/en-US/Red_Hat_Software_Collections/index.html)
- CentOS6.x: [Devtoolset-3 — Software Collections](https://www.softwarecollections.org/en/scls/rhscl/devtoolset-3/) , SCL: run `yum install -y centos-release-SCL`
- CentOS6.x: [Devtoolset-3](https://www.softwarecollections.org/en/scls/rhscl/devtoolset-3/) , SCL: run `yum install -y centos-release-SCL`
- `yum install -y devtoolset-3-gcc-c++ python27`

setting up:

Expand All @@ -32,11 +33,22 @@ git clone and make:
$ git clone https://github.com/kazuhisya/nodejs-rpm.git
$ cd nodejs-rpm
$ sudo yum-builddep ./nodejs.spec
```

el7:

```bash
$ make rpm
```

el6 :Software Collections and Devtoolset

install package:

```bash
$ scl enable python27 devtoolset-3 'make rpm'
```

```bash
$ cd ./dist/RPMS/x86_64/
$ sudo yum install ./nodejs-X.X.X-X.el6.x86_64.rpm ./nodejs-npm-X.X.X-X.el6.x86_64.rpm --nogpgcheck
Expand Down

0 comments on commit 122a111

Please sign in to comment.