scoop手动下载应用后安装

您所在的位置:网站首页 stata变量类型转换 scoop手动下载应用后安装

scoop手动下载应用后安装

2022-12-24 19:23| 来源: 网络整理| 查看: 265

有些应用地址直接用scoop下载安装很慢,经常安装失败,我们可以获取下载地址,然后用迅雷下载,下好后复制到 scoop/cache 目录下。重命名文件成指定格式。

如 git 的安装文件重命名为:

git#2.31.0.windows.1#https_github.com_git-for-windows_git_releases_download_v2.31.0.windows.1_PortableGit-2.31.0-64-bit.7z.exe_dl.7z

然后再用安装命令安装:

scoop install git

成功输出如下:

Installing 'git' (2.31.0.windows.1) [64bit] Loading PortableGit-2.31.0-64-bit.7z.exe from cache. Checking hash of PortableGit-2.31.0-64-bit.7z.exe ... ok. Extracting dl.7z ... done. Linking ~\scoop\apps\git\current => ~\scoop\apps\git\2.31.0.windows.1 Creating shim for 'git'. Creating shim for 'gitk'. Creating shim for 'git-gui'. Creating shim for 'tig'. Creating shim for 'git-bash'. Creating shortcut for Git Bash (git-bash.exe) Creating shortcut for Git GUI (git-gui.exe) Running post-install script... 'git' (2.31.0.windows.1) was installed successfully!

另外,可以利用aria2来加速下载,提高直接安装的成功率。 在使用scoop安装aria2后,scoop会自动调用aria2进行多线程下载以加速下载:

scoop install aria2

下载完成后,记得打开16线程(aria2编译版本默认最高线程为16,需要更高的请自行编译):

scoop config aria2-max-connection-per-server 16 scoop config aria2-split 16 scoop config aria2-min-split-size 1M

卸载软件

scoop uninstall 7zip

更新scoop及软件

scoop update #更新 scoop scoop update 7zip #更新 7zip scoop * #更新全部

添加仓库 scoop自带的main bucket软件过少,我们需要添加官方维护的extras bucket:

scoop bucket add extras

之后就可以安装我们所需的软件了,附我的安装软件清单:

scoop install calibre gimp inkscape latex zotero

第三方bucket 若在scoop search中找不到需要的软件,可以上github上的第三方bucket查找一下。比如安装cajviewer,添加bucket:

scoop bucket add scoopbucket https://github.com/yuanying1199/scoopbucket



【本文地址】


今日新闻


推荐新闻


    CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3