首页 > 系统 > Linux > 正文

Debian Linux下软件安装

2020-06-07 13:11:11
字体:
来源:转载
供稿:网友
在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浏览器了。
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表