Installing
-
2. Enabling Dart Repository
Add Dart Repository for Ubuntu GNU/Linux
-
3. Installing Dart
Then to Install Dart in Ubuntu
Simply run:sudo apt install dart
Authenticate with the User’s Admin Pass.
If Got “User is Not in Sudoers file” then see: How to Enable sudo. -
4. Amending User’s Path
Again Append Dart Binaries into the Path
So to append it to the Bash Configuratio File execute:echo 'export PATH="$PATH:/usr/lib/dart/bin"' >> ~/.bashrc
Next Reload the Bash Path simply with:
bash
Contents