From 81586d22f49bdc822ab7d5abfee369ef6fc1eef9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bengt=20L=C3=BCers?= Date: Wed, 29 Oct 2014 01:09:21 +0100 Subject: [PATCH] Add initial instructions to build rpm from sources, add packaging dependency for Fedora --- docs/build-instructions/linux.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/docs/build-instructions/linux.md b/docs/build-instructions/linux.md index b2256f9ef..94a9c3536 100644 --- a/docs/build-instructions/linux.md +++ b/docs/build-instructions/linux.md @@ -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