体验cygwin纪实
在windows快速体验linux,借助Cygwin很不错的体验(占用空间小),win10应用商店目前集成ubuntu、fedora...系统。。。
00、安装源,直接下载的是init(仅仅是下载器)

01、选择安装目录及用户使用群体

02、设置国内Cygwin源add url
http://mirrors.163.com/cygwin/
http://mirrors.sohu.com/cygwin/
163源使用说明:http://mirrors.163.com/.help/cygwin.html
03、在选择需要安装软件建议安装
lynx
wget
openssh
注意:安装器既可以安装又可以 升级|卸载| 软件,很不错的,,,
04、安装第三方管理软件apt-cyg
https://github.com/transcode-open/apt-cyg
C:\cygwin64\bin #把二级制apt-cyg丢进来
chmod a+x /bin/apt-cyg
apt-cyg mirror http://mirrors.163.com/cygwin #修改默认软件源
apt-cyg --help #查看帮助命令
$ apt-cyg --help
NAME
apt-cyg - package manager utility SYNOPSIS
apt-cyg [operation] [options] [targets] DESCRIPTION
apt-cyg is a package management utility that tracks installed packages on a
Cygwin system. Invoking apt-cyg involves specifying an operation with any
potential options and targets to operate on. A target is usually a package
name, file name, URL, or a search string. Targets can be provided as command
line arguments. 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/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. mirror
Set the mirror; a full URL to a location where the database, packages, and
signatures for this repository can be found. If no URL is provided, display
current mirror. cache
Set the package cache directory. If a file is not found in cache directory,
it will be downloaded. Unix and Windows forms are accepted, as well as
absolute or regular paths. If no directory is provided, display current
cache. OPTIONS
--nodeps
Specify this option to skip all dependency checks. --version
Display version and exit.
例子
$ apt-cyg install gcc
---- ::-- http://mirrors.163.com/cygwin/x86_64/setup.bz2
正在解析主机 mirrors..com (mirrors..com)... 123.58.190.234, 123.58.190.237, 123.58.190.228, ...
正在连接 mirrors..com (mirrors..com)|123.58.190.234|:... 已连接。
已发出 HTTP 请求,正在等待回应... OK
长度: (3.3M) [application/octet-stream]
正在保存至: “setup.bz2” setup.bz2 %[===================>] 3.30M .67MB/s 用时 .2s -- :: (2.67 MB/s) - 已保存 “setup.bz2” [/]) Updated setup.ini
Installing gcc
Unable to locate package gcc
05、下载相关软件
download
https://cygwin.com/install.html
链接: https://pan.baidu.com/s/1pL85zMb 密码: d4th
链接: https://pan.baidu.com/s/1i5mxeQT 密码: rcgp
体验cygwin纪实的更多相关文章
- cygwin简介,安装及卸载(体验UNIX & Linux环境)
对于爱好者或初学者来说,为了体验UNIX & Linux环境,去安装虚拟机或双系统稍显麻烦,cygwin是一个很好的选择 具/原料 安装windows的电脑一台(可以联网) 法/步骤 ...
- 体验一下cygwin
一直在windows下使用gvim,为了更方便的使用cscope.先是写了bat脚本,发现太不方便了. 于是想到了cygwin.下载安装工具就可以了进行默认安装了,配置比较简单. 调整包: ./set ...
- 使用Cygwin在Windows上体验Linux的快感
前言 记得大学的时候就以前使用过Cygwin,可惜当时没有发现她的美,我相信如今大多数朋友可能会更加倾向于使用Git或者干脆直接使用虚拟机以及原生Unix. 只是对于刚进入Linux的世界新人来说,使 ...
- Cygwin,一个提供linux命令行体验的Windows命令行工具
安装 从官网下载,选择合适节点(带edu结尾的优先),安装 使用 未完待续...
- node.js 初体验
node.js 初体验 2011-10-31 22:56 by 聂微东, 174545 阅读, 118 评论, 收藏, 编辑 PS: ~ 此篇文章的进阶内容在为<Nodejs初阶之express ...
- [转]Cygwin的包管理器:apt-cyg
[转]Cygwin的包管理器:apt-cyg http://zengrong.net/post/1792.htm Cygwin的包管理工具setup.exe实在是难用的让人蛋碎.于是就有了这样一个ap ...
- Windows下GNU之gcc体验方法
Windows 现在在Windows下开发C/C++程序一般都是用微软的编译器,当年的Borland已经成为传说.但是如果你不想付钱的话,也可以考虑Windows下的GCC. 在Windows下体验G ...
- 【转】Cygwin的包管理器:apt-cyg
原文网址:http://zengrong.net/post/1792.htm Cygwin的包管理工具setup.exe实在是难用的让人蛋碎.于是就有了这样一个apt-cyg,可以提供类似于 apt- ...
- cygwin下的第一次编程记录
今天在window7上安装了cygwin,体验了一把unix,编了个小c,c++程序 先把过程记录下来 1.先删除以前建立的source文件夹 rm -rf source linux删除目录很简单,很 ...
随机推荐
- [转]分析MySQL数据类型的长度【mysql数据字段 中length和decimals的作用!熟悉mysql必看】
转载自:http://blog.csdn.net/daydreamingboy/article/details/6310907 分析MySQL数据类型的长度 MySQL有几种数据类型可以限制类型的&q ...
- Maven中的库(repository)详解
Maven中的库(repository)是构件(artifact)的集合.构件以一定的布局存储在库中. 本地仓库 vs. 远程仓库 运行Maven的时候,Maven所需要的任何构件都是直接从本地仓库获 ...
- 五险一金 社保基数 住房公积金基数以及个税(By FlyElephant)
作为最近转正的应届毕业生,查了一下卡发现卡上的钱和工资对不上,于是自己回来研究了一下五险一金,整理如下: 什么是五险一金? 五险一金其中主要指的是养老保险,医疗保险,失业保险,工伤保险,生育保险,一金 ...
- Sonar本地环境搭建
一个新项目准备上线提测了,为了在提测之前做一下代码走查,同时了解项目目前的质量情况,就在本地搭建了一套sonar环境.搭建的过程中遇到了很多问题,sonar官方已不再维护Eclipse的svn插件,所 ...
- 大数据开发实战:Hive优化实战1-数据倾斜及join无关的优化
Hive SQL的各种优化方法基本 都和数据倾斜密切相关. Hive的优化分为join相关的优化和join无关的优化,从项目的实际来说,join相关的优化占了Hive优化的大部分内容,而join相关的 ...
- IT痴汉的工作现状42-Android越用越慢?立场不同,谈何信任!
大海和我一次闲聊中问,你做安卓这么久.能给我解释一下为什么安卓手机用半年后就变慢吗? 呃... 伟仔还真是头一次听说这么精准的半年就慢的说法. 大海继续说."能不能是厂家有益设置的?哦,也不 ...
- 条件随机场(CRF)原理和实现
版权声明:作者:金良山庄,欲联系请评论博客或私信,个人主页:http://www.jinliangxu.com/,CSDN博客: http://blog.csdn.net/u012176591 目 ...
- 经典算法题每日演练——第十一题 Bitmap算法 (转)
http://www.cnblogs.com/huangxincheng/archive/2012/12/06/2804756.html 在所有具有性能优化的数据结构中,我想大家使用最多的就是hash ...
- JAVA-SpringMVC开发第一个应用
找到eclipse工具路径 打开eclipse.exe 选择workspace的存放位置,点击ok 点击file-new 选择web-dynamic web project(动态web项目)-next ...
- javascript捕获事件event
var e = e ? e : window.event; window.event ? window.event.cancelBubble = true : e.stopPropagation(); ...