[{"data":1,"prerenderedAt":509},["ShallowReactive",2],{"\u002Fdocs\u002Fusage\u002Fpackage-management":3},{"id":4,"title":5,"body":6,"description":501,"extension":502,"meta":503,"navigation":504,"path":505,"seo":506,"stem":507,"__hash__":508},"docs\u002Fdocs\u002Fusage\u002Fpackage-management.md","Package Management",{"type":7,"value":8,"toc":492},"minimark",[9,13,22,46,51,151,154,161,203,223,228,238,242,248,269,274,278,281,460,466,470,488],[10,11,5],"h1",{"id":12},"package-management",[14,15,16,17,21],"p",{},"LeiOS uses ",[18,19,20],"strong",{},"APT",", Debian's package manager. Packages come from two places:",[23,24,25,37],"ul",{},[26,27,28,31,32,36],"li",{},[18,29,30],{},"The Debian archive"," (",[33,34,35],"code",{},"deb.debian.org","). This is almost everything: the desktop, the kernel,\nlibraries and applications from Debian 13 \"trixie\".",[26,38,39,31,42,45],{},[18,40,41],{},"The LeiOS repository",[33,43,44],{},"repo.leios.dev","). Packages that are specific to LeiOS, or LeiOS builds\nof existing packages.",[47,48,50],"h2",{"id":49},"everyday-commands","Everyday commands",[52,53,54,67],"table",{},[55,56,57],"thead",{},[58,59,60,64],"tr",{},[61,62,63],"th",{},"Command",[61,65,66],{},"What it does",[68,69,70,81,91,101,111,121,131,141],"tbody",{},[58,71,72,78],{},[73,74,75],"td",{},[33,76,77],{},"sudo apt update",[73,79,80],{},"Refresh the package lists from all repositories.",[58,82,83,88],{},[73,84,85],{},[33,86,87],{},"sudo apt full-upgrade",[73,89,90],{},"Install all available updates.",[58,92,93,98],{},[73,94,95],{},[33,96,97],{},"apt search \u003Ckeyword>",[73,99,100],{},"Search for packages.",[58,102,103,108],{},[73,104,105],{},[33,106,107],{},"apt show \u003Cpackage>",[73,109,110],{},"Show details about a package.",[58,112,113,118],{},[73,114,115],{},[33,116,117],{},"sudo apt install \u003Cpackage>",[73,119,120],{},"Install a package.",[58,122,123,128],{},[73,124,125],{},[33,126,127],{},"sudo apt remove \u003Cpackage>",[73,129,130],{},"Remove a package but keep its configuration.",[58,132,133,138],{},[73,134,135],{},[33,136,137],{},"sudo apt autoremove",[73,139,140],{},"Remove dependencies that are no longer needed.",[58,142,143,148],{},[73,144,145],{},[33,146,147],{},"apt policy \u003Cpackage>",[73,149,150],{},"Show available versions and which repository each one comes from.",[47,152,41],{"id":153},"the-leios-repository",[14,155,156,157,160],{},"The repository is configured in ",[33,158,159],{},"\u002Fetc\u002Fapt\u002Fsources.list.d\u002Fleios.sources",":",[162,163,169],"pre",{"className":164,"code":165,"filename":166,"language":167,"meta":168,"style":168},"language-ini shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","Types: deb\nURIs: https:\u002F\u002Frepo.leios.dev\u002Fleios\nSuites: testing\nComponents: main\nSigned-By: \u002Fusr\u002Fshare\u002Fkeyrings\u002Fleios-archive-keyring.gpg\n","leios.sources","ini","",[33,170,171,179,185,191,197],{"__ignoreMap":168},[172,173,176],"span",{"class":174,"line":175},"line",1,[172,177,178],{},"Types: deb\n",[172,180,182],{"class":174,"line":181},2,[172,183,184],{},"URIs: https:\u002F\u002Frepo.leios.dev\u002Fleios\n",[172,186,188],{"class":174,"line":187},3,[172,189,190],{},"Suites: testing\n",[172,192,194],{"class":174,"line":193},4,[172,195,196],{},"Components: main\n",[172,198,200],{"class":174,"line":199},5,[172,201,202],{},"Signed-By: \u002Fusr\u002Fshare\u002Fkeyrings\u002Fleios-archive-keyring.gpg\n",[14,204,205,208,209,212,213,216,217,222],{},[33,206,207],{},"Suites"," selects the release channel, ",[33,210,211],{},"testing"," or ",[33,214,215],{},"stable",". See\n",[218,219,221],"a",{"href":220},"\u002Fdocs\u002Fusage\u002Frelease-channels","Release Channels",".",[224,225,227],"h3",{"id":226},"signing-key","Signing key",[14,229,230,231,234,235,222],{},"APT verifies every package from the LeiOS repository against the LeiOS signing key in\n",[33,232,233],{},"\u002Fusr\u002Fshare\u002Fkeyrings\u002Fleios-archive-keyring.gpg",". The public key is published at\n",[33,236,237],{},"https:\u002F\u002Frepo.leios.dev\u002Fpublic-key.gpg",[224,239,241],{"id":240},"priority-over-debian","Priority over Debian",[14,243,244,245,160],{},"LeiOS pins its repository with a higher priority than Debian, in\n",[33,246,247],{},"\u002Fetc\u002Fapt\u002Fpreferences.d\u002Fleios.pref",[162,249,252],{"className":164,"code":250,"filename":251,"language":167,"meta":168,"style":168},"Package: *\nPin: origin repo.leios.dev\nPin-Priority: 990\n","leios.pref",[33,253,254,259,264],{"__ignoreMap":168},[172,255,256],{"class":174,"line":175},[172,257,258],{},"Package: *\n",[172,260,261],{"class":174,"line":181},[172,262,263],{},"Pin: origin repo.leios.dev\n",[172,265,266],{"class":174,"line":187},[172,267,268],{},"Pin-Priority: 990\n",[14,270,271,272,222],{},"When the LeiOS repository and Debian both provide a package, APT installs the LeiOS version. To\nsee which version wins for a package, run ",[33,273,147],{},[47,275,277],{"id":276},"restoring-the-repository","Restoring the repository",[14,279,280],{},"If you removed the LeiOS repository by accident, or want to add it to an existing Debian 13\nsystem, recreate the key, the source and the pin:",[162,282,286],{"className":283,"code":284,"language":285,"meta":168,"style":168},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","sudo apt install curl gnupg\ncurl -fsSL https:\u002F\u002Frepo.leios.dev\u002Fpublic-key.gpg \\\n  | sudo gpg --dearmor -o \u002Fusr\u002Fshare\u002Fkeyrings\u002Fleios-archive-keyring.gpg\n\nsudo tee \u002Fetc\u002Fapt\u002Fsources.list.d\u002Fleios.sources > \u002Fdev\u002Fnull \u003C\u003C'EOF'\nTypes: deb\nURIs: https:\u002F\u002Frepo.leios.dev\u002Fleios\nSuites: testing\nComponents: main\nSigned-By: \u002Fusr\u002Fshare\u002Fkeyrings\u002Fleios-archive-keyring.gpg\nEOF\n\nsudo tee \u002Fetc\u002Fapt\u002Fpreferences.d\u002Fleios.pref > \u002Fdev\u002Fnull \u003C\u003C'EOF'\nPackage: *\nPin: origin repo.leios.dev\nPin-Priority: 990\nEOF\n\nsudo apt update\n","bash",[33,287,288,307,322,343,349,371,376,381,386,391,396,402,407,425,430,435,440,445,450],{"__ignoreMap":168},[172,289,290,294,298,301,304],{"class":174,"line":175},[172,291,293],{"class":292},"sBMFI","sudo",[172,295,297],{"class":296},"sfazB"," apt",[172,299,300],{"class":296}," install",[172,302,303],{"class":296}," curl",[172,305,306],{"class":296}," gnupg\n",[172,308,309,312,315,318],{"class":174,"line":181},[172,310,311],{"class":292},"curl",[172,313,314],{"class":296}," -fsSL",[172,316,317],{"class":296}," https:\u002F\u002Frepo.leios.dev\u002Fpublic-key.gpg",[172,319,321],{"class":320},"sTEyZ"," \\\n",[172,323,324,328,331,334,337,340],{"class":174,"line":187},[172,325,327],{"class":326},"sMK4o","  |",[172,329,330],{"class":292}," sudo",[172,332,333],{"class":296}," gpg",[172,335,336],{"class":296}," --dearmor",[172,338,339],{"class":296}," -o",[172,341,342],{"class":296}," \u002Fusr\u002Fshare\u002Fkeyrings\u002Fleios-archive-keyring.gpg\n",[172,344,345],{"class":174,"line":193},[172,346,348],{"emptyLinePlaceholder":347},true,"\n",[172,350,351,353,356,359,362,365,368],{"class":174,"line":199},[172,352,293],{"class":292},[172,354,355],{"class":296}," tee",[172,357,358],{"class":296}," \u002Fetc\u002Fapt\u002Fsources.list.d\u002Fleios.sources",[172,360,361],{"class":326}," >",[172,363,364],{"class":296}," \u002Fdev\u002Fnull",[172,366,367],{"class":326}," \u003C\u003C",[172,369,370],{"class":326},"'EOF'\n",[172,372,374],{"class":174,"line":373},6,[172,375,178],{"class":296},[172,377,379],{"class":174,"line":378},7,[172,380,184],{"class":296},[172,382,384],{"class":174,"line":383},8,[172,385,190],{"class":296},[172,387,389],{"class":174,"line":388},9,[172,390,196],{"class":296},[172,392,394],{"class":174,"line":393},10,[172,395,202],{"class":296},[172,397,399],{"class":174,"line":398},11,[172,400,401],{"class":326},"EOF\n",[172,403,405],{"class":174,"line":404},12,[172,406,348],{"emptyLinePlaceholder":347},[172,408,410,412,414,417,419,421,423],{"class":174,"line":409},13,[172,411,293],{"class":292},[172,413,355],{"class":296},[172,415,416],{"class":296}," \u002Fetc\u002Fapt\u002Fpreferences.d\u002Fleios.pref",[172,418,361],{"class":326},[172,420,364],{"class":296},[172,422,367],{"class":326},[172,424,370],{"class":326},[172,426,428],{"class":174,"line":427},14,[172,429,258],{"class":296},[172,431,433],{"class":174,"line":432},15,[172,434,263],{"class":296},[172,436,438],{"class":174,"line":437},16,[172,439,268],{"class":296},[172,441,443],{"class":174,"line":442},17,[172,444,401],{"class":326},[172,446,448],{"class":174,"line":447},18,[172,449,348],{"emptyLinePlaceholder":347},[172,451,453,455,457],{"class":174,"line":452},19,[172,454,293],{"class":292},[172,456,297],{"class":296},[172,458,459],{"class":296}," update\n",[461,462,463],"caution",{},[14,464,465],{},"Adding the LeiOS repository to a plain Debian system works, but it is not a supported way to get\nLeiOS. Because of the pin, LeiOS packages replace Debian's.",[47,467,469],{"id":468},"architectures","Architectures",[14,471,472,473,476,477,480,481,484,485,487],{},"The LeiOS repository serves packages for ",[33,474,475],{},"amd64"," and ",[33,478,479],{},"arm64",", plus architecture-independent\n(",[33,482,483],{},"all",") packages. Installation images are currently ",[33,486,475],{}," only.",[489,490,491],"style",{},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}",{"title":168,"searchDepth":181,"depth":181,"links":493},[494,495,499,500],{"id":49,"depth":181,"text":50},{"id":153,"depth":181,"text":41,"children":496},[497,498],{"id":226,"depth":187,"text":227},{"id":240,"depth":187,"text":241},{"id":276,"depth":181,"text":277},{"id":468,"depth":181,"text":469},"How APT, the Debian archive, and the LeiOS repository work together on LeiOS.","md",{},{"title":5},"\u002Fdocs\u002Fusage\u002Fpackage-management",{"title":5,"description":501},"docs\u002Fusage\u002Fpackage-management","w8-vQfhIydvlZf1ppy-5YihLhE_NkQJxlrgBF4EqPhY",1792353301683]