安装 curl : [ 当时随便安装的 ,可能不需要]
1.获得安装包,从网上直接下载或者其他途径,这里直接wget
wget http://curl.haxx.se/download/curl-7.20.0.tar.gz
2.解压到当前目录(或者 http://www.linuxidc.com/Linux/2014-08/106022.htm)
tar -zxf curl-7.20.0.tar.gz
3.进入解压后的目录内
cd curl-7.17.1
4.配置,指定安装的目录,这里是“/usr/local/curl”
./configure --prefix=/usr/local/curl
make
5.安装
sudo make install
原文:https://flutter.dev/docs/get-started/install/linux
---------------------------------------------------------------------
安装 flutter SDK
下载 at: https://flutter.dev/docs/get-started/install/linux
-
Extract the file in the desired location, for example:
content_copy$ cd ~/development $ tar xf ~/Downloads/flutter_linux_v1.5.4-hotfix.2-stable.tar.xz
-
Add the
flutter
tool to your path: