Merge pull request #3989 from Bengt/patch-1

Add initial instructions to build rpm from sources, ...
This commit is contained in:
Kevin Sawicki
2014-10-28 17:10:22 -07:00

View File

@@ -19,9 +19,9 @@ Ubuntu LTS 12.04 64-bit is the recommended platform.
* `sudo apt-get install build-essential git libgnome-keyring-dev fakeroot`
* Instructions for [Node.js](https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager#ubuntu-mint-elementary-os).
### Fedora
### Fedora / CentOS / RHEL
* `sudo yum --assumeyes install make gcc gcc-c++ glibc-devel git-core libgnome-keyring-devel`
* `sudo yum --assumeyes install make gcc gcc-c++ glibc-devel git-core libgnome-keyring-devel rpmdevtools`
* Instructions for [Node.js](https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager#fedora).
### Arch
@@ -60,14 +60,20 @@ If you have problems with permissions don't forget to prefix with `sudo`
```sh
sudo script/grunt install
```
To use the newly installed Atom, quit and restart all runnung Atom instances.
5. *Optionally*, you may generate a `.deb` package at `$TMPDIR/atom-build`:
5. *Optionally*, you may generate distributable packages of Atom at `$TMPDIR/atom-build`. Currenty, `.deb` and `.rpm` package types are supported. To create a `.deb` package run:
```sh
script/grunt mkdeb
```
Use the newly installed Atom by fully quitting Atom and then reopening.
To create an `.rpm` package run
```sh
script/grunt mkrpm
```
## Advanced Options