📝 Update README for installation process and change the bash version

This commit is contained in:
fsquillace 2016-05-29 00:03:57 +01:00
parent 374cb2e42e
commit c114590ea9
2 changed files with 15 additions and 23 deletions

View file

@ -3,7 +3,7 @@ language: bash
sudo: required
env:
- TRAVIS_BASH_VERSION="4.1"
- TRAVIS_BASH_VERSION="4.0"
before_install:
- ./tests/integ-tests/install-bash.sh "$TRAVIS_BASH_VERSION"
@ -17,7 +17,7 @@ install:
script:
- bash --version
- ./tests/unit-tests.sh
- ./tests/unit-tests/unit-tests.sh
- junest --check ./bin/junest
- yes | junest --delete
- JUNEST_HOME=~/.junest-arm junest --check ./bin/junest --skip-root-tests

View file

@ -58,14 +58,22 @@ visit the [pacman rosetta page](https://wiki.archlinux.org/index.php/Pacman_Rose
Installation
============
JuNest can works on GNU/Linux OS with kernel version greater or equal
2.6.0 (JuNest was not tested on kernel versions older than this) on 64 bit, 32 bit and ARM architectures.
## Dependencies ##
JuNest comes with a very short list of dependencies in order to be installed in most
of GNU/Linux distributions.
Before installing JuNest be sure that all dependencies are properly installed in your system:
- [bash (>=4.0)](https://www.gnu.org/software/bash/)
- [GNU coreutils](https://www.gnu.org/software/coreutils/)
The minimum recommended Linux kernel is 2.6.0+ on x86 32 and 64 bit and ARM architectures.
## Method one (Recommended) ##
Just clone the JuNest repo somewhere (for example in ~/junest):
Just clone the JuNest repo somewhere (for example in ~/.local/share/junest):
git clone git://github.com/fsquillace/junest ~/junest
export PATH=~/junest/bin:$PATH
git clone git://github.com/fsquillace/junest ~/.local/share/junest
export PATH=~/.local/share/junest/bin:$PATH
### Installation using AUR (Arch Linux only) ###
If you are using an Arch Linux system you can, alternatively, install JuNest from the [AUR repository](https://aur.archlinux.org/):
@ -81,22 +89,6 @@ Alternatively, another installation method would be to directly download the JuN
curl https://dl.dropboxusercontent.com/u/42449030/junest/junest-${ARCH}.tar.gz | tar -xz -C ~/.junest
export PATH=~/.junest/opt/junest/bin:$PATH
Dependencies
============
JuNest comes with a very short list of dependencies in order to be installed in most
of GNU/Linux distributions. The needed executables in the host OS are:
- bash
- chown (for root access only)
- ln
- mkdir
- rm
- tar
- uname
- wget or curl
The minimum recommended linux kernel is 2.6.0+
Advanced usage
==============