{"id":23047559,"url":"https://github.com/aman9026/flutter-setup","last_synced_at":"2025-04-03T02:45:50.109Z","repository":{"id":101248967,"uuid":"279781083","full_name":"Aman9026/Flutter-Setup","owner":"Aman9026","description":"Simple Tutorial for setting up the environment and workspace for Flutter on rhel 8","archived":false,"fork":false,"pushed_at":"2020-07-15T18:43:00.000Z","size":5112,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-08T17:10:05.341Z","etag":null,"topics":["dart","environment","flutter","google-flutter","tutorial","workspace"],"latest_commit_sha":null,"homepage":"https://flutter.dev/","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Aman9026.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-15T06:10:38.000Z","updated_at":"2020-07-16T04:01:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"13a0866b-71da-4157-ac8f-b856d8939a9d","html_url":"https://github.com/Aman9026/Flutter-Setup","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aman9026%2FFlutter-Setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aman9026%2FFlutter-Setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aman9026%2FFlutter-Setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aman9026%2FFlutter-Setup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Aman9026","download_url":"https://codeload.github.com/Aman9026/Flutter-Setup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246927806,"owners_count":20856193,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dart","environment","flutter","google-flutter","tutorial","workspace"],"created_at":"2024-12-15T22:36:52.919Z","updated_at":"2025-04-03T02:45:50.086Z","avatar_url":"https://github.com/Aman9026.png","language":null,"readme":"![](https://github.com/Aman9026/Flutter-Setup/blob/master/Data/flut.jpeg)\n# New to Flutter?\nLet's get started with setting up the workspace and installations.\n\n## System Requirement\nTo install and run Flutter, your development environment must meet these minimum requirements:\n\n* **Operating Systems:** MacOS,Linux (64-bit) or Windows // We'll be working on rhel-8\n\n* **Disk Space:** 600 MB (does not include disk space for IDE/tools).\n\n* **Tools:** Flutter depends on these command-line tools being available in your environment like bash, curl, \nfile, git 2.x, mkdir, rm, unzip, which, xz-utils, zip\n\n* **Shared libraries:** Flutter test command depends on this library being available in your environment.\n\n* **libGLU.so.1 -** provided by mesa packages such as libglu1-mesa on Ubuntu/Debian and mesa-libGLU on Fedora.\n\n## Installing Rhel-8\n![](https://github.com/Aman9026/Flutter-Setup/blob/master/Data/RHEL_8_Desktop.png)\nDownload rhel-8 from [here](https://drive.google.com/file/d/1nZVXCVOy41LjAyOAiHMcNgFIwUlJYw16/view).\n\nAlso follow this amazing [rhel installation tutorial](https://youtu.be/JBNvnINsswo) by the founder of Linux World and RHCSA-level-22 Mr. [Vimal Daga](https://in.linkedin.com/in/vimaldaga) for technical insights while installation.\n\n## Get the Flutter SDK\n1.  Download the following installation bundle to get the latest stable release of the Flutter SDK from [here](https://flutter.dev/docs/get-started/install/linux)\n2.  Extract the file in the desired location, for example:\n```\n$ cd ~/development\n$ tar xf ~/Downloads/flutter_linux_1.17.5-stable.tar.xz\n```\n3.  Add the flutter tool to your path:\n```\n$ export PATH=\"$PATH:`pwd`/flutter/bin\"\n```\n\nThis command sets your PATH variable for the current terminal window only.\nTo make it permanent and run flutter commands in any terminal session follow next steps for modifying \nthis variable permanently for all terminal sessions are machine-specific. \nTypically you add a line to a file that is executed whenever you open a new window. For example:\n\n1. Determine the directory where you placed the Flutter SDK. You need this in Step 3.\n2. Open (or create) the rc file for your shell. For example, Linux uses the Bash shell by default, so edit $HOME/.bashrc. \nIf you are using a different shell, the file path and filename will be different on your machine.\n3. Add the following line and change [PATH_TO_FLUTTER_DIRECTORY] to be the path where you cloned Flutter’s git repo:\n```\n$ export PATH=\"$PATH:[PATH_TO_FLUTTER_DIRECTORY]/flutter/bin\"\n```\n4. Run ```source $HOME/.\u003crc file\u003e``` to refresh the current window, or open a new terminal window to automatically source the file.\n\nElse you can also do the same thing in /etc/profile if you have administrator privileges.\n\n### Run the Doctor\nRun the following command to see if there are any dependencies you need to install to complete the setup (for verbose output, add the -v flag):\n```\n$ flutter doctor -v\n```\nThis command checks your environment and displays a report to the terminal window. The Dart SDK is bundled with Flutter; \nit is not necessary to install Dart separately.\nOnce you have installed any missing dependencies, run the ```$ flutter doctor``` command again to verify that you’ve set everything up correctly.\n\nBasically by using the doctor option you can check if we need to install further dependencies.\n\n## Android Setup\n\nFlutter relies on a full installation of Android Studio to supply its Android platform dependencies like emulator. However, you can write your Flutter apps in a number of editors; a later step discusses where we'll be writing in VSCode and use the emulator of android studio.\n1.  Download and install [Android Studio](https://developer.android.com/studio#downloads).\n2.  Start Android Studio, and go through the ‘Android Studio Setup Wizard’. This installs the latest Android SDK, Android SDK Command-line Tools, and Android SDK Build-Tools, which are required by Flutter when developing for Android.\n\n### Add Dart Plugin to Android Studio\nIf you prefer to use Android Studio as your main IDE to develop Flutter, you have to set dart language support to Android Studio as shown below.\n\nPreferences → Plugins → Browse Repository → type Dart in search bar → Install and Restart android studio.\n\n### Add Flutter Plugin to Android Studio\n\nPreferences → Plugins → Browse Repository → type Flutter in search bar → Install and Restart android studio.\n\n## Set up the Android emulator\n![](https://github.com/Aman9026/Flutter-Setup/blob/master/Data/ezgif.com-video-to-gif%20(1).gif)\n\n*To prepare, run and test your **Flutter app on the Android emulator**, follow these steps:*\n\n* Tools → AVD Manager → Opens a window\n\n* Select → Create Virtual Device\n\n* Phone → [Choose Any] → [Choose System Image, typically the highest one is most preferred] → Android 8.1 → AVD Name(Pixel 2 API 27)\n\n* Choose Graphics → Hardware → Finish\n\n* Select Pixel 2 API 27 emulator → click on Launch AVD(start) button\n\n![](https://miro.medium.com/max/700/1*Nz0C7NC0wR73z7KcPhUVrg.gif)\n\n## VSCode\n\nThis IDE is quite handy for managing dart code and can be easily integrated with the android emulator.\n\nDownload Visual Studio Code from [here](https://code.visualstudio.com/download), Then switch to the extension tab and search for “flutter”:\n![](https://github.com/Aman9026/Flutter-Setup/blob/master/Data/0_I5vq797d25fPZ5nT.png)\n\nThe first entry in the search result list is the extension we’re looking for. \nBy installing this extension we’re adding support for editing, refactoring, running, \nand reloading Flutter application, as well as support for the Dart programming language.\n\n---\n\n*Happy Fluttering!* :heartbeat:\n\n***You are always welcome to add more or improve any resource in this repository by following [these](https://github.com/Aman9026/Flutter-Setup/blob/master/CONTRIBUTING.md) instructions.***\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faman9026%2Fflutter-setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faman9026%2Fflutter-setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faman9026%2Fflutter-setup/lists"}