﻿{"id":783,"date":"2020-12-22T07:19:40","date_gmt":"2020-12-21T23:19:40","guid":{"rendered":"https:\/\/byy3.com\/?p=783"},"modified":"2021-01-09T10:13:31","modified_gmt":"2021-01-09T02:13:31","slug":"linux%e6%97%a0%e6%b3%95%e5%ae%89%e8%a3%85tor%e6%b5%8f%e8%a7%88%e5%99%a8%e6%b7%bb%e5%8a%a0%e8%bd%af%e4%bb%b6%e6%ba%90sources-list","status":"publish","type":"post","link":"https:\/\/byy3.com\/?p=783","title":{"rendered":"linux\u65e0\u6cd5\u5b89\u88c5tor\u6d4f\u89c8\u5668\u6dfb\u52a0\u8f6f\u4ef6\u6e90sources list"},"content":{"rendered":"<h3 id=\"Using_the_command_line\">Using the command line<\/h3>\n<p class=\"line874\">As root, or using sudo, open your sources.list file (Nano is the recommended editor for new users):<span id=\"line-59\" class=\"anchor\"><\/span><span id=\"line-60\" class=\"anchor\"><\/span><span id=\"line-61\" class=\"anchor\"><\/span><\/p>\n<pre><span id=\"line-1\" class=\"anchor\"><\/span># apt edit-sources<\/pre>\n<p class=\"line874\">Append the following line to the bottom of the file:<span id=\"line-63\" class=\"anchor\"><\/span><span id=\"line-64\" class=\"anchor\"><\/span><span id=\"line-65\" class=\"anchor\"><\/span><\/p>\n<pre><span id=\"line-1-1\" class=\"anchor\"><\/span>deb http:\/\/deb.debian.org\/debian buster-backports main contrib non-free<\/pre>\n<p class=\"line862\">If you are a free software enthusiast, you might want to remove the\u00a0<tt>contrib<\/tt>\u00a0and\u00a0<tt>non-free<\/tt>\u00a0sections.\u00a0<span id=\"line-67\" class=\"anchor\"><\/span>(See\u00a0<a class=\"https\" href=\"https:\/\/byy3.com\/go\/?url=https:\/\/www.debian.org\/doc\/manuals\/debian-reference\/ch02.html\" rel=\"nofollow\" >Debian package management<\/a>\u00a0for details.)<span id=\"line-68\" class=\"anchor\"><\/span><span id=\"line-69\" class=\"anchor\"><\/span><\/p>\n<p class=\"line874\">Now that you have added the repository, update APT's cache to include the backports in the list of available packages:<span id=\"line-70\" class=\"anchor\"><\/span><span id=\"line-71\" class=\"anchor\"><\/span><span id=\"line-72\" class=\"anchor\"><\/span><\/p>\n<pre><span id=\"line-1-2\" class=\"anchor\"><\/span># apt update<\/pre>\n<p class=\"line874\">Done.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Using the command line As root, or using sudo, open you [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[353,283,285,201,284,282,286],"class_list":["post-783","post","type-post","status-publish","format-standard","hentry","category-linux","tag-linux","tag-tor-linux","tag-tor-sources-list","tag-tor"],"_links":{"self":[{"href":"https:\/\/byy3.com\/index.php?rest_route=\/wp\/v2\/posts\/783","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/byy3.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/byy3.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/byy3.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/byy3.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=783"}],"version-history":[{"count":0,"href":"https:\/\/byy3.com\/index.php?rest_route=\/wp\/v2\/posts\/783\/revisions"}],"wp:attachment":[{"href":"https:\/\/byy3.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=783"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/byy3.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=783"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/byy3.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=783"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}