您的位置:首页 > 其它

Cygwin使用之神器apt-cyg安装与使用

2015-10-12 00:56 399 查看
在安装完cygwin后如果还想安装点其他软件,那该如何安装呢?我也曾经傻不拉几的的使用cygwin安装器重新安装,只是为了能在里面讲需要的软件安装进来,我只想说这样的方法的确OUT了!建议使用apt-cyg这个工具来安装需要的软件,操作起来So easy(网上很多相关的博客不是最新的,那样是无法安装成功的)!

一、安装步骤:

1. 安装apt-cyg:

lynx -source rawgit.com/transcode-open/apt-cyg/master/apt-cyg > apt-cyg
install apt-cyg /bin


2. 测试下吧:

apt-cyg install nano


如果出现安装的日志的话,那就要恭喜你了,你安装apt-cyg成功了

二、命令说明:

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/upgrade anything.

show
Display information on given package(s).

depends
Produce a dependency tree for a package.

rdepends
Produce a tree of packages that depend on the named package.

list
Search each locally-installed package for names that match regexp. If no
package names are provided in the command line, all installed packages will
be queried.

listall
This will search each package in the master package list (setup.ini) for
names that match regexp.

category
Display all packages that are members of a named category.

listfiles
List all files owned by a given package. Multiple packages can be specified
on the command line.

search
Search for downloaded packages that own the specified file(s). The path can
be relative or absolute, and one or more files can be specified.

searchall
Search cygwin.com to retrieve file information about packages. The provided
target is considered to be a filename and searchall will return the
package(s) which contain this file.


三、参考链接
https://github.com/transcode-open/apt-cyg
****************************************华丽的分割线***********************************************

Cygwin使用记录:

1. Cygwin无法使用clear命令?解决办法:

apt-cyg install ncurses
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: