docs: Cleanup unnecessary parts in build-instructions-linux.md

This commit is contained in:
Cheng Zhao 2016-05-02 16:26:18 +09:00
parent 26c0ad1c2f
commit 64abae0b3c

View file

@ -4,6 +4,7 @@ Follow the guidelines below for building Electron on Linux.
## Prerequisites ## Prerequisites
* At least 25GB disk space and 8GB RAM.
* Python 2.7.x. Some distributions like CentOS still use Python 2.6.x * Python 2.7.x. Some distributions like CentOS still use Python 2.6.x
so you may need to check your Python version with `python -V`. so you may need to check your Python version with `python -V`.
* Node.js v0.12.x. There are various ways to install Node. You can download * Node.js v0.12.x. There are various ways to install Node. You can download
@ -33,11 +34,6 @@ $ sudo yum install clang dbus-devel gtk2-devel libnotify-devel libgnome-keyring-
Other distributions may offer similar packages for installation via package Other distributions may offer similar packages for installation via package
managers such as pacman. Or one can compile from source code. managers such as pacman. Or one can compile from source code.
## If You Use Virtual Machines For Building
If you plan to build Electron on a virtual machine you will need a fixed-size
device container of at least 25 gigabytes in size.
## Getting the Code ## Getting the Code
```bash ```bash
@ -112,8 +108,6 @@ $ ./script/clean.py
## Troubleshooting ## Troubleshooting
Make sure you have installed all of the build dependencies.
### Error While Loading Shared Libraries: libtinfo.so.5 ### Error While Loading Shared Libraries: libtinfo.so.5
Prebulit `clang` will try to link to `libtinfo.so.5`. Depending on the host Prebulit `clang` will try to link to `libtinfo.so.5`. Depending on the host
@ -128,7 +122,7 @@ $ sudo ln -s /usr/lib/libncurses.so.5 /usr/lib/libtinfo.so.5
Test your changes conform to the project coding style using: Test your changes conform to the project coding style using:
```bash ```bash
$ ./script/cpplint.py $ npm run lint
``` ```
Test functionality using: Test functionality using: