Skip to content

Commit 1847f5a

Browse files
committed
Merge pull request #272 from NativeScript/ikoevska/new-sys-reqs-updated
Reopening the PR for the sys reqs
2 parents be9b558 + 4913000 commit 1847f5a

File tree

1 file changed

+56
-15
lines changed

1 file changed

+56
-15
lines changed

README.md

+56-15
Original file line numberDiff line numberDiff line change
@@ -61,18 +61,19 @@ You can install and run the NativeScript CLI on Windows or OS X.
6161

6262
* [Windows](#widnows)
6363
* [OS X](#os-x)
64+
* [Linux](#linux)
6465

6566
## Windows
6667

6768
> On Windows systems, you can develop, build, and deploy NativeScript projects that target Android.
6869
6970
* Windows Vista or later
70-
* [Node.js 0.10.26] or a later stable official release
71-
* (Optional) [Chocolatey]
72-
* [JDK 6] or a later stable official release
73-
* [Apache Ant 1.8] or a later stable official release
74-
* [Android SDK 19] or a later stable official release
75-
* (Optional) [Genymotion]
71+
* [Node.js 0.10.26][Node.js 0.10.26] or a later stable official release
72+
* (Optional) [Chocolatey][Chocolatey]
73+
* [JDK 7][JDK 7] or a later stable official release
74+
* [Apache Ant 1.8][Apache Ant 1.8] or a later stable official release
75+
* [Android SDK 19][Android SDK 19] or a later stable official release
76+
* (Optional) [Genymotion][Genymotion]
7677

7778
If you want to develop for Android, verify that you have added the following paths in the `PATH` system environment variable.
7879

@@ -136,17 +137,16 @@ If you have installed Chocolatey, you can complete these steps to set up JDK, Ap
136137
> On OS X systems, you can develop, build, and deploy NativeScript projects that target iOS and Android.
137138
138139
* OS X Mavericks
139-
* [Node.js 0.10.26] or a later stable official release
140+
* [Node.js 0.10.26][Node.js 0.10.26] or a later stable official release
140141
* For iOS development
141-
* [iOS 7.0 SDK][12] or a later stable official release
142-
* [Xcode 5][12] or a later stable official release
142+
* [Xcode 6][12] or a later stable official release
143143
* [Xcode command-line tools][12]
144-
* (Optional) [Mono] installed via Homebrew
144+
* (Optional for working with third-party libraries) [64-bit Mono][Mono] installed via Homebrew
145145
* For Android development
146-
* [JDK 6] or a later stable official release
147-
* [Apache Ant 1.8] or a later stable official release
148-
* [Android SDK 19] or a later stable official release
149-
* (Optional) [Genymotion]
146+
* [JDK 7][JDK 7] or a later stable official release
147+
* [Apache Ant 1.8][Apache Ant 1.8] or a later stable official release
148+
* [Android SDK 19][Android SDK 19] or a later stable official release
149+
* (Optional) [Genymotion][Genymotion]
150150

151151
If you want to develop for Android, verify that you have added the following paths in your `PATH` in `~/.bash_profile`.
152152

@@ -161,6 +161,45 @@ For example:
161161
export PATH=${PATH}:/ant/apache-ant-1.9.4/bin:/Applications/Android Studio.app/sdk/tools:/Applications/Android Studio.app/sdk/platform-tools
162162
```
163163

164+
## Linux
165+
166+
> On Linux systems, you can develop, build, and deploy NativeScript projects that target Android.
167+
168+
* Ubuntu 14.04 LTS
169+
* [Node.js 0.10.26][Node.js 0.10.26] or a later stable official release<br/>If installed via `sudo apt-get install`, use the `nodejs-legacy` package.
170+
171+
```Shell
172+
sudo apt-get install nodejs-legacy
173+
```
174+
* G++ compiler
175+
176+
```Shell
177+
sudo apt-get install g++
178+
```
179+
* On 64-bit systems only
180+
* The runtime libraries for the ia32/i386 architecture.
181+
182+
```Shell
183+
sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 libstdc++6:i386
184+
```
185+
* [JDK 7][JDK 7] or a later stable official release
186+
* [Apache Ant 1.8][Apache Ant 1.8] or a later stable official release
187+
* [Android SDK 19][Android SDK 19] or a later stable official release
188+
* (Optional) [Genymotion][Genymotion]
189+
190+
Verify that you have added the following paths in your `PATH`.
191+
192+
```
193+
Path to the bin subdirectory in the Apache Ant installation directory
194+
Path to the tools subdirectory in the Android SDK installation directory
195+
Path to the platform-tools subdirectory in the Android SDK installation directory
196+
```
197+
198+
For example:
199+
```
200+
export PATH=${PATH}:/ant/apache-ant-1.9.4/bin:/Applications/Android Studio.app/sdk/tools:/Applications/Android Studio.app/sdk/platform-tools
201+
```
202+
164203
[Back to Top][1]
165204

166205
Installation
@@ -174,6 +213,8 @@ In the command prompt, run the following command.
174213
npm install nativescript -g
175214
```
176215

216+
> On OS X and Linux systems, you might need to run this command using sudo.
217+
177218
[Back to Top][1]
178219

179220
Quick Start
@@ -468,7 +509,7 @@ This software is licensed under the Apache 2.0 license, quoted <a href="LICENSE"
468509
[12]: https://developer.apple.com/xcode/downloads/
469510
[Node.js 0.10.26]: http://nodejs.org/download/
470511
[Chocolatey]: https://chocolatey.org/
471-
[JDK 6]: http://www.oracle.com/technetwork/java/javase/downloads/index.html
512+
[JDK 7]: http://www.oracle.com/technetwork/java/javase/downloads/index.html
472513
[Apache Ant 1.8]: http://ant.apache.org/bindownload.cgi
473514
[Android SDK 19]: http://developer.android.com/sdk/index.html
474515
[Genymotion]: https://www.genymotion.com/#!/

0 commit comments

Comments
 (0)