1.配置path 环境变量
# vim /etc/profile
在文档最后,添加:
export PATH="/opt/STM/STLinux-2.3/devkit/sh4/bin:$PATH"
保存,退出,然后运行:
#source /etc/profile
不报错则成功。
2. sudo apt-get install rar
解压
- tar –xvf file.tar 解压 tar包
- tar -xzvf file.tar.gz 解压tar.gz
- tar -xjvf file.tar.bz2 解压 tar.bz2
- tar –xZvf file.tar.Z 解压tar.Z
- unrar e file.rar 解压rar
- unzip file.zip 解压zip
4.rpm -i 安装 -e 删除。
5.
ps aux | grep apt
that will catch processes containing the word apt, at least. If you see an apt-get process or an aptitude process that looks stuck, you can try
kill processnumber
and if that doesn't work try
kill -9 processnumber