Skip to main content

Install Flutter SDK and Permanently set the path in your CentOS or any others Linux Distro

Flutter is Google's UI toolkit for building beautiful, Natively compiled applications for mobile, web, desktop from a single codebase.
Now We install Flutter in our new Linux machine for apps development. At first, We go to Flutter site and downloads Flutter SDK. And Extract this tar.xz file and move the desired directory. To extract and move to the desired directory following terminal commands...



Go to your Downloads directory and typing this ...

tar xf flutter_linux_v1.7.8+hotfix.4-stable.tar.xz

Finishing this process then you get a new flutter folder. Now You should move this following commands...

sudo mv flutter /usr/local/

Now We declare the specific flutter/bin directory address in our system's path. My Systems flutter SDK path is /usr/local/flutter/bin . Now typing following commands your terminals...

sudo gedit ~/.bashrc

When opening a file, then adding following code for declaring the flutter SDK path...

export FLUTTER_HOME=/usr/local/flutter
export PATH="$PATH:$FLUTTER_HOME/bin"

Now finally save the file and run flutter doctor in your terminal for installation testing...
Installing Visual Studio Code in CentOS 


Visual studio code is open source and cross-platform. It's developed by Microsoft. Now I am going to show you how to install visual studio code in your Linux systems.
At first, Importing Microsoft GPG Key. Open your terminal and type following commands...

sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc

And now we have to enable visual studio core repositories. Then We install code...

sudo nano /etc/yum.repos.d/vscode.repo

You Press this command then open a file. In this file, you should be type this commands. and Press Ctrl+x then write YES.

[code]
name=Visual Studio Code
baseurl=https://packages.microsoft.com/yumrepos/vscode
enabled=1
gpgcheck=1
gpgkey=https://packages.microsoft.com/keys/microsoft.asc


Now write the terminal this code...

sudo yum install code
sudo yum update

Update git version in CentOS

First, Remove the old git...

sudo yum remove git*

Now add centOS IUS repositories and install git...

sudo yum -y install  https://centos7.iuscommunity.org/ius-release.rpm
sudo yum -y install  git2u-all

Finishing all command execute successfully then check your git version...

git --version

Comments

Popular posts from this blog

Install Oracle JDK and declaring path in Linux Operating System (Ubuntu 18.04)

We can install oracle jdk at any Linux operating systems. Firstly We need updated oracle jdk. We collect this from Oracle site . Now We can not directly download jdk without sign in account. So, Firstly We create a fresh account in oracle site. Then Download Oracle JDK for Linux 64bit version.Now Extract it... tar -zxvf jdk-8u211-linux-x64.tar.gz Create a new folder in /usr/lib directory. Then move this file it. sudo mv jdk1.8.0_211/ /usr/lib/java Now Update java alternative these command... sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/java/jdk1.7.0_65/bin/java" 1   sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/java/jdk1.7.0_65/bin/javac" 1 sudo update-alternatives --install "/usr/bin/javaws" "javaws" "/usr/lib/java/jdk1.7.0_65/bin/javaws" 1 Now update ~/,barchrc file. Command.. sudo gedit ~/.bashrc And past this command in this fil

Install tar.gz file and creating desktop launcher in ubuntu 18.04 systems

Now I am going to described you how to extract and install tar.gz file in Linux systems and creating a desktop shortcut. So, I will install the Eclipse IDE for example. Now, Going to Eclipse site and download the latest install file. Open terminal (ctrl + alt + T) and extract tar.gz file like this command... tar zxvf download_location/file_name Example: tar zxvf ~/Downloads/eclipse-inst-linux64.tar.gz   When completely extract the full file. Then keep this your own chosen location. Example: /home/srinath/code/ide/eclipse Fine, install successfully. Now create a launcher icon for fast launching. Open terminal and type... sudo gedit /usr/share/applications/eclipse.desktop When you enter this command then automatically open a text file. In this text file, you write this code... [Desktop Entry] Name=Eclipse Type=Application Exec=[destication address]/eclipse Terminal=false Icon= [destication address] /icon.xpm Comment=Integrated Development Environme