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

相关文章

CnPlugin是PL/SQL Developer工具插件使用教程

《CnPlugin是PL/SQLDeveloper工具插件使用教程》:本文主要介绍CnPlugin是PL/SQLDeveloper工具插件使用教程,具有很好的参考价值,希望对大家有所帮助,如有错... 目录PL/SQL Developer工具插件使用安装拷贝文件配置总结PL/SQL Developer工具插

安装centos8设置基础软件仓库时出错的解决方案

《安装centos8设置基础软件仓库时出错的解决方案》:本文主要介绍安装centos8设置基础软件仓库时出错的解决方案,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐... 目录安装Centos8设置基础软件仓库时出错版本 8版本 8.2.200android4版本 javas

Java中的登录技术保姆级详细教程

《Java中的登录技术保姆级详细教程》:本文主要介绍Java中登录技术保姆级详细教程的相关资料,在Java中我们可以使用各种技术和框架来实现这些功能,文中通过代码介绍的非常详细,需要的朋友可以参考... 目录1.登录思路2.登录标记1.会话技术2.会话跟踪1.Cookie技术2.Session技术3.令牌技

Macos创建python虚拟环境的详细步骤教学

《Macos创建python虚拟环境的详细步骤教学》在macOS上创建Python虚拟环境主要通过Python内置的venv模块实现,也可使用第三方工具如virtualenv,下面小编来和大家简单聊聊... 目录一、使用 python 内置 venv 模块(推荐)二、使用 virtualenv(兼容旧版 P

Python使用Code2flow将代码转化为流程图的操作教程

《Python使用Code2flow将代码转化为流程图的操作教程》Code2flow是一款开源工具,能够将代码自动转换为流程图,该工具对于代码审查、调试和理解大型代码库非常有用,在这篇博客中,我们将深... 目录引言1nVflRA、为什么选择 Code2flow?2、安装 Code2flow3、基本功能演示

Pytorch介绍与安装过程

《Pytorch介绍与安装过程》PyTorch因其直观的设计、卓越的灵活性以及强大的动态计算图功能,迅速在学术界和工业界获得了广泛认可,成为当前深度学习研究和开发的主流工具之一,本文给大家介绍Pyto... 目录1、Pytorch介绍1.1、核心理念1.2、核心组件与功能1.3、适用场景与优势总结1.4、优

conda安装GPU版pytorch默认却是cpu版本

《conda安装GPU版pytorch默认却是cpu版本》本文主要介绍了遇到Conda安装PyTorchGPU版本却默认安装CPU的问题,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的... 目录一、问题描述二、网上解决方案罗列【此节为反面方案罗列!!!】三、发现的根本原因[独家]3.1 p

Java Spring 中的监听器Listener详解与实战教程

《JavaSpring中的监听器Listener详解与实战教程》Spring提供了多种监听器机制,可以用于监听应用生命周期、会话生命周期和请求处理过程中的事件,:本文主要介绍JavaSprin... 目录一、监听器的作用1.1 应用生命周期管理1.2 会话管理1.3 请求处理监控二、创建监听器2.1 Ser

windows系统上如何进行maven安装和配置方式

《windows系统上如何进行maven安装和配置方式》:本文主要介绍windows系统上如何进行maven安装和配置方式,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不... 目录1. Maven 简介2. maven的下载与安装2.1 下载 Maven2.2 Maven安装2.

Redis指南及6.2.x版本安装过程

《Redis指南及6.2.x版本安装过程》Redis是完全开源免费的,遵守BSD协议,是一个高性能(NOSQL)的key-value数据库,Redis是一个开源的使用ANSIC语言编写、支持网络、... 目录概述Redis特点Redis应用场景缓存缓存分布式会话分布式锁社交网络最新列表Redis各版本介绍旧