![ubuntu添加静态库](https://i-blog.csdnimg.cn/blog_migrate/555c87869c862bbc37bd40637469c9c5.png)
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添加静态库