Skip to content

Instantly share code, notes, and snippets.

@ajiehatajie
Last active July 23, 2018 07:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ajiehatajie/02166ef82f52da0b1a178565e385f134 to your computer and use it in GitHub Desktop.
Save ajiehatajie/02166ef82f52da0b1a178565e385f134 to your computer and use it in GitHub Desktop.
setting react native ubuntu 18.04
cd ~
curl -sL https://deb.nodesource.com/setup_10.x -o nodesource_setup.sh
sudo bash nodesource_setup.sh
sudo apt install nodejs
install watchman
sudo apt-get install -y autoconf automake build-essential python-dev libssl-dev libtool pkg-config
git clone https://github.com/facebook/watchman.git
cd watchman/
git checkout v4.9.0
./autogen.sh
./configure
make
sudo make install
jdk
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install openjdk-8-jdk
http://www.techomoro.com/how-to-install-and-setup-react-native-on-ubuntu-17-10/
#php
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install -y php7.2
sudo apt-get install php7.2-mysql php7.2-curl php7.2-json php7.2-cgi php7.2-xsl php7.2-dev
laravel
composer global require "laravel/installer"
.bashrc
export PATH="$PATH:$HOME/.config/composer/vendor/bin"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment