LINUX + FLUTTER

Anuja Kumari
2 min readAug 18, 2021

Hello Everyone πŸ™‹πŸ»β€β™€οΈ

In this article i have written about how we can integrate flutter with Linux .

πŸ”† So Let’s begin πŸ˜„

πŸ‘‰ Step 1. Create a Flutter app.

flutter create my_app

cd my_app

πŸ‘‰ Step 2. Install RHEL 8 on your pc.

πŸ‘‰ Step 3. Install Python and Apache server on it.

πŸ‘‰ Step 4. Write a Python script to execute Linux commands.

cd /var/www/cgi-bin

vim app.py

python CGI code

πŸ‘‰ Step 5. Make the file executable.

chmod +x app.py

πŸ‘‰ Step 6. Disable selinux and firewalld with following cmd:

setenforce 0

systemctl stop firewalld

πŸ‘‰ Step 7. Now, Write the Flutter code

πŸ‘‰ Step 8 . Now , let’s see some demo of my app

As i don’t have enough ram(space in my drive) for launching Emulator(Android Studio). That’s why i am using chrome here …

Output of β€œdate” command
Output of β€œcal” command
Output of β€œpwd” command
Output of β€œls” command

πŸ”° Successfully Completed the task πŸ˜€βœŒοΈ

Thanks for Reading !! πŸ™ŒπŸ»πŸ˜πŸ“ƒ

πŸ”° Keep Learning !! Keep Sharing !!

--

--

Anuja Kumari

Learner @ Linuxworld Informative Pvt Ltd || DevOps(Docker,K8S, Jenkins, Terraform, Git and GitHub) || AWS || ( Python | Java )