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安装教程的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!


原文地址:https://blog.csdn.net/SuperAutoBot/article/details/134847645
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.chinasem.cn/article/644895

相关文章

Pycharm安装报错:Cannot detect a launch configuration解决办法

《Pycharm安装报错:Cannotdetectalaunchconfiguration解决办法》本文主要介绍了Pycharm安装报错:Cannotdetectalaunchconfigur... 本文主要介绍了Pycharm安装报错:Cannot detect a launch configuratio

pytorch+torchvision+python版本对应及环境安装

《pytorch+torchvision+python版本对应及环境安装》本文主要介绍了pytorch+torchvision+python版本对应及环境安装,安装过程中需要注意Numpy版本的降级,... 目录一、版本对应二、安装命令(pip)1. 版本2. 安装全过程3. 命令相关解释参考文章一、版本对

Windows系统下如何查找JDK的安装路径

《Windows系统下如何查找JDK的安装路径》:本文主要介绍Windows系统下如何查找JDK的安装路径,文中介绍了三种方法,分别是通过命令行检查、使用verbose选项查找jre目录、以及查看... 目录一、确认是否安装了JDK二、查找路径三、另外一种方式如果很久之前安装了JDK,或者在别人的电脑上,想

大数据spark3.5安装部署之local模式详解

《大数据spark3.5安装部署之local模式详解》本文介绍了如何在本地模式下安装和配置Spark,并展示了如何使用SparkShell进行基本的数据处理操作,同时,还介绍了如何通过Spark-su... 目录下载上传解压配置jdk解压配置环境变量启动查看交互操作命令行提交应用spark,一个数据处理框架

Linux搭建Mysql主从同步的教程

《Linux搭建Mysql主从同步的教程》:本文主要介绍Linux搭建Mysql主从同步的教程,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录linux搭建mysql主从同步1.启动mysql服务2.修改Mysql主库配置文件/etc/my.cnf3.重启主库my

Python FastAPI入门安装使用

《PythonFastAPI入门安装使用》FastAPI是一个现代、快速的PythonWeb框架,用于构建API,它基于Python3.6+的类型提示特性,使得代码更加简洁且易于绶护,这篇文章主要介... 目录第一节:FastAPI入门一、FastAPI框架介绍什么是ASGI服务(WSGI)二、FastAP

Python中Windows和macOS文件路径格式不一致的解决方法

《Python中Windows和macOS文件路径格式不一致的解决方法》在Python中,Windows和macOS的文件路径字符串格式不一致主要体现在路径分隔符上,这种差异可能导致跨平台代码在处理文... 目录方法 1:使用 os.path 模块方法 2:使用 pathlib 模块(推荐)方法 3:统一使

2025最新版Python3.13.1安装使用指南(超详细)

《2025最新版Python3.13.1安装使用指南(超详细)》Python编程语言自诞生以来,已经成为全球最受欢迎的编程语言之一,它简单易学易用,以标准库和功能强大且广泛外挂的扩展库,为用户提供包罗... 目录2025最新版python 3.13.1安装使用指南1. 2025年Python语言最新排名2.

SpringBoot操作MaxComputer方式(保姆级教程)

《SpringBoot操作MaxComputer方式(保姆级教程)》:本文主要介绍SpringBoot操作MaxComputer方式,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的... 目录引言uqNqjoe一、引入依赖二、配置文件 application.properties(信息用自己

Python依赖库的几种离线安装方法总结

《Python依赖库的几种离线安装方法总结》:本文主要介绍如何在Python中使用pip工具进行依赖库的安装和管理,包括如何导出和导入依赖包列表、如何下载和安装单个或多个库包及其依赖,以及如何指定... 目录前言一、如何copy一个python环境二、如何下载一个包及其依赖并安装三、如何导出requirem