ubuntu添加静态库_在Ubuntu上添加额外的存储库

ubuntu添加静态库

ubuntu添加静态库

Repositories on Ubuntu are the locations that you can download software from. As a general rule, the default repositories don’t contain the right locations for most software packages that you’ll want to install. You will want to open up the /etc/apt/sources.list file, find and uncomment the following lines

Ubuntu上的存储库是您可以从中下载软件的位置。 通常,默认存储库未包含您要安装的大多数软件包的正确位置。 您将要打开/etc/apt/sources.list文件,查找并取消注释以下行

deb http://us.archive.ubuntu.com/ubuntu dapper universe main restricted universe

deb http://us.archive.ubuntu.com/ubuntu精简版Universe主受限Universe

deb http://security.ubuntu.com/ubuntu dapper-security universe

deb http://security.ubuntu.com/ubuntu dapper-security Universe

Note that if you are using a different version than Dapper Drake (6.06), you will probably see a different name there, something like breezy or edgy.

请注意,如果您使用的版本与Dapper Drake(6.06)不同,则可能会在此看到不同的名称,例如breezy或edgy。

Once you are done adding the repositories, you’ll need to run this command:

添加完存储库后,需要运行以下命令:

sudo apt-get update

sudo apt-get更新

(Thanks to Gregg in the comments for catching that)

(感谢格雷格抓住了这一点)

翻译自: https://www.howtogeek.com/howto/ubuntu/adding-extra-repositories-on-ubuntu/

ubuntu添加静态库

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值