sudo apt-fast install <软件包名> 3. 配置apt代理(针对特定网络环境) 如果你的网络环境需要通过代理访问外部资源,可以配置apt的代理来加速apt-get的更新和下载过程。 步骤: 编辑apt配置文件: 在/etc/apt/apt.conf.d/目录下创建一个新的配置文件(如99proxy),并添加以下内容来设置代理: bash acquire ...
sudoadd-apt-repository ppa:apt-fast/stablesudoapt-getupdatesudoapt-get-yinstallapt-fast 基于Debian如kali #创建并编辑apt-fast.list文件vim/etc/apt/sources.list.d/apt-fast.list #然后复制以下内容,然后退出并保存deb http://ppa.launchpad.net/apt-fast/stable/ubuntu bionic main deb-src http://ppa...
sudoadd-apt-repository ppa:apt-fast/stablesudoapt-getupdatesudoapt-get-yinstallapt-fast 基于Debian如kali #创建并编辑apt-fast.list文件vim/etc/apt/sources.list.d/apt-fast.list #然后复制以下内容,然后退出并保存deb http://ppa.launchpad.net/apt-fast/stable/ubuntu bionic main deb-src http://ppa...
sudo apt-fast autoclean sudo apt-fast clean AI代码助手复制代码 6. 删除软件包 sudo apt-fastremovepackage_name AI代码助手复制代码 apt-fast的工作原理 apt-fast的核心是通过aria2实现多线程下载。以下是其工作流程: 1.解析依赖关系:apt-fast调用apt或apt-get解析软件包的依赖关系。 2.生成下载列表:将需要下...
-f,--fast:快速模式,假定文件有效且不需要检查。该选项只应在apt-cdrom已经在这张光盘运行过且没有任何错误的情况下使用。 方式2vim /etc/apt/sources.list,手动添加: deb [trusted=yes] file:/mnt/os_iso bullseye contrib main 在APT源地址中添加trusted=yes的作用是允许APT包管理器信任该源,从而避免在安装...
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ precise-updates main restricted universe multiverse 4、更新系统 $ sudo apt-get update $ sudo apt-get dist-upgrade 5、安装apt-fast $ sudo add-apt-repository ppa:tldm217/tahutek.net $ sudo apt-get update ...
| n/a|/home/vivek/nginx_1.10.0-0ubuntu0.16.04.2_all.debStatus Legend:(OK):download completed.下载并显示指定包的 changelog:$ sudo apt-fast changelog pkgNameHere$ sudo apt-fast changelog nginx
apt-fast: A shellscript wrapper for apt that speeds up downloading of packages. - ilikenwf/apt-fast
安装apt-fast需要的软件包:$ sudoapt-get install axel安装完了之后,从http://www.mattparnell.com/linux/apt-fast/apt-fast.sh下载这个脚本文件,或者到我的115网盘提取apt-fast.sh 。$ sudo mvapt-fast.sh /usr/bin/apt-fast$ sudo chmod +x /usr/ ...
$ sudo apt-fast check 下载二进制包到当前目录: $ sudo apt-fast download pkgNameHere $ sudo apt-fast download nginx [#7bee0c 0B/0B CN:1 DL:0B] 07/26 15:35:42 [NOTICE] Verification finished successfully. file=/home/vivek/nginx_1.10.0-0ubuntu0.16.04.2_all.deb ...