$ cyg-apt update cyg-apt: downloading: http://box-soft.com/setup-2.bz2 cyg-apt: downloading: http://box-soft.com/setup-2.ini cyg-apt: bad URL http://box-soft.com/setup-2.ini, exiting. 原因: 解决: http://ftp.eq.uc.pt/software/pc/prog/cygwin/setup-2.ini...
cyg-apt: downloading: http://box-soft.com/setup-2.bz2 cyg-apt: downloading: http://box-soft.com/setup-2.ini cyg-apt: bad URL http://box-soft.com/setup-2.ini, exiting. 原因: 这个界面选择的mirror ,不能正确的映射到配置文件C:\cygwin\home\zhangrx\.cyg-apt中。需要在配置文件中手动指定...
apt-cyg install [targets]和apt-cyg remove [targets]分别是安装、卸载软件包,targets参数指定软件包名称,可以同时多个。 apt-cyg会从/etc/setup/installed.db文件中查找本地系统中已经安装的软件包记录,如果已安装,再次install则跳过,也就是说apt-cyg不会自动更新软件包至最新版本;同理,如果未安装,却要remove则...
wget http://apt-cyg.googlecode.com/svn/trunk/apt-cyg -P /bin chmod.exe +x /bin/apt-cyg apt-cyg安装源为ftp://mirror.mcs.anl.gov,设置为网易镜像源。 apt-cyg update --mirror http://mirrors.163.com/cygwin/ 使用apt-cyg安装软件: apt-cyg update #更新源 apt-cyg install ping -u #使用...
"download"操作仅将软件包下载至本地缓存,"search"和"searchall"操作分别在本地缓存和cygwin.com站点中查找匹配的软件包。在使用apt-cyg时,建议在执行"install"操作前先使用"update"操作来获取最新的软件包清单,确保软件包的完整性。同时,在安装过程中,建议使用cygcheck -c检查软件包安装的完整性。...
Cygwin默认没有yum、npm、composer等类似的包管理器,如果需要安装扩展包需要重新打开安装程序,非常麻烦,不过apt-cyg开源程序解决了这个问题。 安装步骤: $ wget -c https://raw.githubusercontent.com/transcode-open/apt-cyg/master/apt-cyg $ install apt-cyg /bin ...
Update README.md 12年前 apt-cyg Create apt-cyg 12年前 README MIT apt-cyg Quick start chmod +x /bin/apt-cyg apt-cyg install nano Contributing apt-cyg is a command-line installer for Cygwin which cooperates with Cygwin Setup and uses the same repository. The syntax is similar to apt-ge...
5. 重新运行脚本,验证问题是否解决 在修正了换行符问题后,你可以重新运行 apt-cyg 脚本来验证问题是否已解决。例如: bash apt-cyg update 如果之前出现的错误不再出现,并且脚本能够正常运行,那么问题就已经解决了。 通过这些步骤,你应该能够解决由于 Windows 风格换行符导致的脚本错误问题。
### 摘要 apt-cyg 作为一款高效的 Cygwin 软件包管理工具,简化了在 Windows 系统下使用 Cygwin 时的软件包安装与移除流程。用户只需简单的命令行操作即可实现对所需软件包的管理,极大地提升了工作效率。例如,安装软件包仅需输入 `apt-cyg install <package_name>`,而移除则使用 `apt-cyg remove <package_name...
github.com/transcode-open/apt-cyg Operations install Install package(s). remove Remove package(s) from the system. update Download a fresh copy of the master package list (setup.ini) from the server defined in setup.rc. download Retrieve package(s) from the server, but do not install/upgra...