windows下卸载cygwin和tinyos的方法

 参考方法一(cygwin卸载)

具体步骤如下:

1.删除安装用的临时文件夹(在cygwin里输入命令)

$ rm -f /cygdrive/c/你的临时文件夹

2.停止cron service

$ cygrunsrv --stop cron

$ cygrunsrv --remove cron

3.停止并删除inetd服务

$ net stop inetd

$/usr/sbin/inetd --remove-as-service

4.删除安装文件夹,默认是c:/cygwin

5.删除桌面上的icon,和开始菜单里的启动文件夹

6.删除注册表里的相关项

HKEY_LOCAL_MACHINE/SOFTWARE/Cygnus Solutions

HKEY_CURRENT_USER/Software/Cygnus Solutions

7.删除环境变量(PATH, CYGWIN

环境变量PATH里的c:/cygwin/bin; 还有名叫CYGWIN的变量

转自http://hi.baidu.com/%B8%C7%CA%C0%D0%A1%B3%E6/blog/item/040120900f459c89a977a429.html

参考方法二(节选自tinyos文档)

Uninstalling Cygwin
Cygwin provides no method for convenient uninstall.  The following steps are usually sufficient to remove Cygwin from your system:  

  • Close all Cygwin applications and services  
  • Delete or rename the following keys in the registry by invoking RegEdit or RegEdt32
    HKEY_CURRENT_USER/Software/Cygnus Solutions 
    HKEY_LOCAL_MACHINE/SOFTWARE/Cygnus Solutions   
  • Delete or rename your Cygwin install directory, which defaults to c:/cygwin 
     

Uninstalling TinyOS
If you installed TinyOS with an installation utility, just run its associated uninstaller.
 
If not, you must manually uninstall any “tinyos”, “nesc”, and “msp430” RPM’s.  Discover which RPM’s are installed by starting a Cygwin shell and running the command “rpm -qa”.  Remove
packages with the command “rpm --erase --nodeps [package1] [package2] […]”. 
Here is a sample list of RPM’s that may be installed, though the particular packages and versions installed on your computer may differ:
 
tinyos-tools-1.2.1-3
msp430tools-binutils-2.16-20050607
make-3.80tinyos-1
msp430tools-python-tools-1.0-1
tinyos-javacomm-1.0.0-1
tinyos-moteiv-2.0.1-1
nesc-1.2.4-1
msp430tools-base-0.1-20050607
msp430tools-gcc-3.2.3-20050607
msp430tools-libc-20050308cvs-20050608
mspgcc-win32tinyos-20041204-2
tinyos-1.1.15Dec2005cvs-1

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值