React Native Installation Steps in Ubuntu System:
All Node js version available here.
https://askubuntu.com/questions/426750/how-can-i-update-my-nodejs-to-the-latest-version
1.
sudo apt-get install curl
curl -sL https://deb.nodesource.com/setup_13.x | sudo -E bash -
sudo apt-get install -y nodejs
node -v
2.
sudo npm install -g react-native-cli
3.
sudo apt install openjdk-8-jdk
4.
Android Studio down
Android SDK
Android SDK Platform
Android Virtual Device
Configure SDK
A React Native app requires the Android 9 (Pie) SDK. Install it throught the SDK Manager in Android Studio. Expand the Pie selection by clicking the Show Package Details box. Make sure the follow options are checked:
Android SDK Platform 28
Intel x86 Atom_64 System Image or Google APIs Intel x86 Atom System Image (I chose the first option)
Add the following lines to your $HOME/.bashrc config file:
cd ~
pico .bashrc
# Add these lines to the top of the file
export PATH=${PATH}:~/android-sdk/tools
export PATH=${PATH}:~/android-sdk/platform-tools
# CTRL+O (uppcase o) to save
# CTRL+X to exit
source ~/.bashrc
export ANDROID_HOME=$HOME/Android/Sdk
export PATH=$PATH:$ANDROID_HOME/emulator
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/tools/bin
export PATH=$PATH:$ANDROID_HOME/platform-tools
Load the config into the current shell:
source $HOME/.bashrc
Now your system is ready for React Native developement