系统教程
您现在的位置是:首页>服务器系统>Ubuntu系统内容

ubuntu 16.04安装brackets deb包

时间:2018-04-28 出处:未知复制分享人气(次) 【

1、github 上下载deb包(https://github.com/adobe/brackets/releases)
 
2、双击deb包但是安装不了(无任何提示,是因为缺少lib文件)
网上给出的解决方案:
使用debtool 接压 deb包 把缺少的lib复制进去 配置文件中去掉该 lib。
下载安装debtool
参考:https://github.com/brbsix/debtool
curl -LOsS https://github.com/brbsix/debtool/releases/download/v0.2.5/debtool_0.2.5_all.deb
sudo dpkg --install debtool_0.2.5_all.deb
sudo apt-get install --fix-broken
下载 libgcrypt.so.11 
64,i386:https://launchpad.net/ubuntu/+source/libgcrypt11
解压 bracket的deb包
debtool -u ./Brackets.Release.1.9.64-bit.deb
复制l libgcrypt.so.11 到解压出来的 opt/brackets目录
cp libgcrypt.so.11 ./brackets_1.9.0-17312_amd64/opt/brackets/
移除control文件中的libgrypt11的配置
sed -i 's/ libgcrypt11 (>= [0-9.]\+),//' ./brackets_1.9.0-17312_amd64/DEBIAN/control
重新打包
debtool -b ./brackets_1.9.0-17312_amd64/
双击打包好的deb包装即可。
    最新资讯
    热门内容
    小米移动电源能为iPad mini充几次电