【1】dpkg(本地安装)
1-- mv rxvt_1%3a2.6.4-14_i386.deb .
2-- dpkg -i rxvt_1%3a2.6.4-14_i386.deb //安装(软件包全称)
3-- dpkg -s rxvt //查看状态
4-- rxvt //运行软件
exit
5-- dpkg -L rxvt //查看列表
6-- dpkg -r rxvt //卸载软件(配置文件保留)
7-- dpkg -P rxvt //卸载软件(配置文件也卸载)
【2】APT(可以在线安装)
1-- ping www.baidu.com //查看网络连接
2-- sudo apt-get update //更新索引文件
3-- sudo apt-get install rxvt //安装
4-- rxvt
exit
5-- sudo apt-cache policy rxvt //查看安装状态
6-- sudo apt-get remove rxvt //卸载软件(配置文件保留)
sudo apt-get purge rxvt //卸载软件(配置文件也卸载)
/etc/apt/sources.list //镜像源(网址)
/var/lib/apt/lists/ //索引文件
/var/cache/apt/archives //存放软件包
【3】shell
Shell是一个命令行解释器。
Bourne Again Shell(简称bash)
【4】username@hostname:direction$
用户名 主机名 目录名
$ Command [-
1-- mv rxvt_1%3a2.6.4-14_i386.deb .
2-- dpkg -i rxvt_1%3a2.6.4-14_i386.deb //安装(软件包全称)
3-- dpkg -s rxvt //查看状态
4-- rxvt //运行软件
exit
5-- dpkg -L rxvt //查看列表
6-- dpkg -r rxvt //卸载软件(配置文件保留)
7-- dpkg -P rxvt //卸载软件(配置文件也卸载)
【2】APT(可以在线安装)
1-- ping www.baidu.com //查看网络连接
2-- sudo apt-get update //更新索引文件
3-- sudo apt-get install rxvt //安装
4-- rxvt
exit
5-- sudo apt-cache policy rxvt //查看安装状态
6-- sudo apt-get remove rxvt //卸载软件(配置文件保留)
sudo apt-get purge rxvt //卸载软件(配置文件也卸载)
/etc/apt/sources.list //镜像源(网址)
/var/lib/apt/lists/ //索引文件
/var/cache/apt/archives //存放软件包
【3】shell
Shell是一个命令行解释器。
Bourne Again Shell(简称bash)
【4】username@hostname:direction$
用户名 主机名 目录名
$ Command [-