React Native Set-Up For Linux Enviornment

React Native Set-Up For Linux Enviornment

Hey everyone, Harshit on this side. In this blog, I will share how can you set up the react native environment on your Linux machine. As Hitesh sir has started the react native series on his youtube channel so I am going to follow that series and learn to react native from him. So there is some installation that we need to do before starting. Here I will share the steps that you need to complete the installation in react.

1. To install java you need to run this command in your terminal.
sudo apt install openjdk-11-jre-headless

After that hit enter and enter your password and java will be installed in your system you can check the version by command java --version

  1. For installing the android studio you can either use your terminal or the snap store software in your system.

    if you are using software then you just need to open the snap store and search "Android Studio" and then just need to click on install

If you want to install using a terminal then just follow the below steps.
  • snap find "android-studio"

  • sudo snap install android-studio --classic

  • It will take some time to download because it is around 500 Mb of files.

  • After that, you are ready to go...
    Just 1 thing is left if you have seen Hitesh's video then after installing the video Hitesh had run 1 command adb --version but when I tried to run that i got something like this that adb is not found

So what you need to do is just add the path of adb in your .bashrc file so whenever terminal will open it will get as global path

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1674845262449/63302ab6-cb70-4d66-8398-185f22ad694c.png align="center")


After that when you will run the adb --version you will get the version of it

You may need to close and open your terminal to get this. Hope you will like the block althoug it is not a perfect blog , I just wrote a blog for the first time that too in a hurry. I have tried my best to provide all the required information. If i have missed something then feedback will be appricated.