在Debian Linux安装软件首先必须配置好安装源。有几个程序可以用来安装软件:apt-get, aptitude, synaptic。apt-get是命令行工具,aptitude是字符图形界面工具,synaptic是图形界面工具。 
  1. 配置安装源
  /etc/apt/sources.list文件可以这样写 
  deb ftp://debian.ustc.edu.cn/debian stable main non-free contrib
  deb ftp://debian.ustc.edu.cn/debian testing main non-free contrib
  下面我们将以安装firefox浏览器来解释3个安装工具的用法。 
  2. 使用apt-get安装软件
  在终端中输入su和密码后,以root身份运行apt-get update更新软件列表,然后运行apt-get install firefox就可以安装上firefox浏览器了。 
      
Debian Linux下软件安装
内容版权声明:除非注明,否则皆为本站原创文章。
转载注明出处:https://www.heiqu.com/8143eff03d8396772cdcfb779d4dfe9d.html

