您的位置首页百科知识

Cygwin安装使用

Cygwin安装使用

的有关信息介绍如下:

Cygwin安装使用

Cgywin的安装和使用

step1:

目录切换

cd /cygdrive/(盘符) 进入相应的分区

step 2:

安装类似

apt-get的命令 以便可以在线安装软件

<1>下载命令:wgethttp://apt-cyg.googlecode.com/svn/trunk/apt-cyg-P /bin

下载之后会在目录 /bin 下多一个 apt-cyg文件

之后在Cygwin中执行:

<2>install [apt-cyg 文件所在目录] /bin (CWY注:此处的/bin为apt-cyg的安装目录)

<3>之后可运行

apt-cyg install tree (CWY注:tree为安装包的名称)

之后就可像使用apt-get 类似的命令来安装软件了

附:apt-cyg 简单使用命令:

1. $ apt-cyg --help

2. apt-cyg: Installs and removes Cygwin packages.

3. "apt-cyg install " to install packages

4. "apt-cyg remove " to remove packages

5. "apt-cyg update" to update setup.ini

6. "apt-cyg show" to show installed packages

7. "apt-cyg find " to find packages matching patterns

8. "apt-cyg describe " to describe packages matching patterns

9. "apt-cyg packageof " to locate parent packages

10. Options:

11. --mirror, -m : set mirror

12 . --cache, -c

: set cache

13. --file, -f : read package names from file

14. --noupdate, -u : don't update setup.ini from mirror

15. --help

16. --version

配置VIM

可参考网上各种牛人的来进行配置,在此不再啰嗦!

如何在Cygwin中安装没有的命令。如:wget

基本上在step2做好之后就可以进行政协软件的安装了!

但是因为在第二部用到wget命令,自己的做法是在网上下了一个window下的wget.exe文件

自己是在Windows下完成step2中apt-cyg的下载的

附:

相关资源的下载地址:

链接: http://pan.baidu.com/s/1pJE3bL5 密码: 6w7i