cp8700环境安装
1.修改代理文件,/etc/dnf/dnf.conf
2.替换阿里源
cd /etc/yum.repos.d/
mv fedora.repo fedora.repo.backup
mv fedora-updates.repo fedora-updates.repo.backup
wget -O /etc/yum.repos.d/fedora.repo http://mirrors.aliyun.com/repo/fedora.repo
wget -O /etc/yum.repos.d/fedora-updates.repo http://mirrors.aliyun.com/repo/fedora-updates.repo
dnf clean all
dnf makecache
3.安装gcc,gcc-c++,python
4.安装C库:sudo dnf install glibc-devel.i686
5.安装node X86 32位版本
6.npm淘宝源:npm config set registry https://registry.npm.taobao.org
7.electron:https://npm.taobao.org/mirrors/electron/4.2.12/
electron V4.2.12 64位(2.x版本不支持webm视频播放,5+版本运行失败)
本文出自 码农,转载时请注明出处及相应链接。
发表评论