aria2 MacOS安装教程

2024-01-25 22:59
文章标签 安装 教程 macos aria2

本文主要是介绍aria2 MacOS安装教程,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

aria2 MacOS安装教程

使用homeBrew进行安装时报错

brew install aria2

系统更新之后没使用过 竟然报错了!

fatal: not in a git directory
Warning: No remote 'origin' in /opt/homebrew/Homebrew, skipping update!
Running `brew update --auto-update`...
==> Homebrew has enabled anonymous aggregate formula and cask analytics.
Read the analytics documentation (and how to opt-out) here:https://docs.brew.sh/Analytics
No analytics have been recorded yet (nor will be during this `brew` run).fatal: not in a git directory
Error: Command failed with exit 128: git
Error: aria2: unknown or unsupported macOS version: :dunno

brew doctor一下

Warning: Your Command Line Tools (CLT) does not support macOS 14.
It is either outdated or was modified.
Please update your Command Line Tools (CLT) or delete it if no updates are available.
Update them from Software Update in System Preferences.If that doesn't show you any updates, run:sudo rm -rf /Library/Developer/CommandLineToolssudo xcode-select --installAlternatively, manually download them from:https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 13.4.

发现 升级Sonoma之后还需要升级CLT

更新完CLT

bash

pkgutil --pkg-info=com.apple.pkg.CLTools_Executables

出现以下内容 安装成功

package-id: com.apple.pkg.CLTools_Executables
version: 15.0.0.0.1.1694021235
volume: /
location: /
install-time: 1701669565

brew doctor 报错


Warning: You have unlinked kegs in your Cellar.
Leaving kegs unlinked can lead to build-trouble and cause formulae that depend on
those kegs to fail to run properly once built. Run `brew link` on these:apr-utilaprWarning: Some installed formulae are not readable:apr-util: unknown or unsupported macOS version: :dunnogettext: unknown or unsupported macOS version: :dunnoapr: unknown or unsupported macOS version: :dunnosubversion: unknown or unsupported macOS version: :dunnoWarning: You are using macOS 14.
We do not provide support for this pre-release version.
It is expected behaviour that some formulae will fail to build in this pre-release version.
It is expected behaviour that Homebrew will be buggy and slow.
Do not create any issues about this on Homebrew's GitHub repositories.
Do not create any issues even if you think this message is unrelated.
Any opened issues will be immediately closed without response.
Do not ask for help from MacHomebrew on Twitter.
You may ask for help in Homebrew's discussions but are unlikely to receive a response.
Try to figure out the problem yourself and submit a fix as a pull request.
We will review it but may or may not accept it.

执行

cd "$(brew --repo)"
git fetch
git reset --hard origin/master
brew update
brew upgrade

配置文件

下载配置文件

链接:https://pan.quark.cn/s/7a103c26dfc3
提取码:vxFq

在终端中执行

cd ~
mkdir .aria2
cd .aria2
pwd

打开访达 command+shift+G 将pwd结果复制进去 进入aria2

将下载的三个配置文件复制进去

把aria2.config文件中文件目录替换成当前目录 其他配置酌情修改

启动命令

aria2c --conf-path="/Users/xxxx(你的用户名)/.aria2/aria2.conf"

常驻后台运行

aria2c --conf-path="/Users/ballen/.aria2/aria2.conf" -D

下载插件

Camtd

比较好用的插件,界面美观,可惜chrome商店已下架,并且github中下载crx文件也无法启动

附上传送门

Chrome商店地址: https://chrome.google.com/webstore/detail/camtd-aria2-download-mana/lcfobgbcebdnnppciffalfndpdfeence?utm_source=chrome-ntp-iconGithub release:https://github.com/jae-jae/Camtd/releases

YAAW for Chrome

这里用了另一款平替,界面比较简陋,不过功能类似

简单配置PRC地址即可

附上传送门

Chrome商店地址:https://chrome.google.com/webstore/detail/dennnbdlpgjgbcjfgaohdahloollfgoc
Github地址:https://github.com/acgotaku/YAAW-for-Chrome

油猴

Chrome商店

下载红色版本才能解锁变态功能

https://chrome.google.com/webstore/detail/gcalenpjmijncebpfijmoaglllgpjagf

大名鼎鼎的GreasyFork 直接找你想要的网盘下载插件即可 非常多

https://greasyfork.org/zh-CN

想要把速度拉满还是得开会员!

这篇关于aria2 MacOS安装教程的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/644895

相关文章

Win10安装Maven与环境变量配置过程

《Win10安装Maven与环境变量配置过程》本文介绍Maven的安装与配置方法,涵盖下载、环境变量设置、本地仓库及镜像配置,指导如何在IDEA中正确配置Maven,适用于Java及其他语言项目的构建... 目录Maven 是什么?一、下载二、安装三、配置环境四、验证测试五、配置本地仓库六、配置国内镜像地址

Python pandas库自学超详细教程

《Pythonpandas库自学超详细教程》文章介绍了Pandas库的基本功能、安装方法及核心操作,涵盖数据导入(CSV/Excel等)、数据结构(Series、DataFrame)、数据清洗、转换... 目录一、什么是Pandas库(1)、Pandas 应用(2)、Pandas 功能(3)、数据结构二、安

Python安装Pandas库的两种方法

《Python安装Pandas库的两种方法》本文介绍了三种安装PythonPandas库的方法,通过cmd命令行安装并解决版本冲突,手动下载whl文件安装,更换国内镜像源加速下载,最后建议用pipli... 目录方法一:cmd命令行执行pip install pandas方法二:找到pandas下载库,然后

Linux系统中查询JDK安装目录的几种常用方法

《Linux系统中查询JDK安装目录的几种常用方法》:本文主要介绍Linux系统中查询JDK安装目录的几种常用方法,方法分别是通过update-alternatives、Java命令、环境变量及目... 目录方法 1:通过update-alternatives查询(推荐)方法 2:检查所有已安装的 JDK方

SQL Server安装时候没有中文选项的解决方法

《SQLServer安装时候没有中文选项的解决方法》用户安装SQLServer时界面全英文,无中文选项,通过修改安装设置中的国家或地区为中文中国,重启安装程序后界面恢复中文,解决了问题,对SQLSe... 你是不是在安装SQL Server时候发现安装界面和别人不同,并且无论如何都没有中文选项?这个问题也

2025版mysql8.0.41 winx64 手动安装详细教程

《2025版mysql8.0.41winx64手动安装详细教程》本文指导Windows系统下MySQL安装配置,包含解压、设置环境变量、my.ini配置、初始化密码获取、服务安装与手动启动等步骤,... 目录一、下载安装包二、配置环境变量三、安装配置四、启动 mysql 服务,修改密码一、下载安装包安装地

Redis MCP 安装与配置指南

《RedisMCP安装与配置指南》本文将详细介绍如何安装和配置RedisMCP,包括快速启动、源码安装、Docker安装、以及相关的配置参数和环境变量设置,感兴趣的朋友一起看看吧... 目录一、Redis MCP 简介二、安www.chinasem.cn装 Redis MCP 服务2.1 快速启动(推荐)2.

在macOS上安装jenv管理JDK版本的详细步骤

《在macOS上安装jenv管理JDK版本的详细步骤》jEnv是一个命令行工具,正如它的官网所宣称的那样,它是来让你忘记怎么配置JAVA_HOME环境变量的神队友,:本文主要介绍在macOS上安装... 目录前言安装 jenv添加 JDK 版本到 jenv切换 JDK 版本总结前言China编程在开发 Java

电脑提示d3dx11_43.dll缺失怎么办? DLL文件丢失的多种修复教程

《电脑提示d3dx11_43.dll缺失怎么办?DLL文件丢失的多种修复教程》在使用电脑玩游戏或运行某些图形处理软件时,有时会遇到系统提示“d3dx11_43.dll缺失”的错误,下面我们就来分享超... 在计算机使用过程中,我们可能会遇到一些错误提示,其中之一就是缺失某个dll文件。其中,d3dx11_4

Linux下在线安装启动VNC教程

《Linux下在线安装启动VNC教程》本文指导在CentOS7上在线安装VNC,包含安装、配置密码、启动/停止、清理重启步骤及注意事项,强调需安装VNC桌面以避免黑屏,并解决端口冲突和目录权限问题... 目录描述安装VNC安装 VNC 桌面可能遇到的问题总结描js述linux中的VNC就类似于Window