{"id":535,"date":"2024-01-08T12:42:20","date_gmt":"2024-01-08T12:42:20","guid":{"rendered":"https:\/\/howtogeek.blog\/lv\/?p=535"},"modified":"2024-01-08T12:42:20","modified_gmt":"2024-01-08T12:42:20","slug":"how-to-install-windows-subsystem-for-linux-wsl-on-windows-11-lv","status":"publish","type":"post","link":"https:\/\/howtogeek.blog\/lv\/how-to-install-windows-subsystem-for-linux-wsl-on-windows-11-lv\/","title":{"rendered":"K\u0101 instal\u0113t Windows apak\u0161sist\u0113mu oper\u0113t\u0101jsist\u0113mai Linux (WSL) oper\u0113t\u0101jsist\u0113m\u0101 Windows 11"},"content":{"rendered":"<p><span data-preserver-spaces=\"true\">Ja v\u0113laties izmantot Linux sav\u0101 dator\u0101, neveicot aparat\u016bras dubult\u0101s s\u0101kn\u0113\u0161anas iestat\u012b\u0161anu, varat to izdar\u012bt, izmantojot Windows apak\u0161sist\u0113mu oper\u0113t\u0101jsist\u0113mai Linux. WSL ir <u data-wpel-link=\"internal\">Windows\u00a011<\/u> l\u012bdzeklis, kas lietot\u0101jiem \u013cauj bez probl\u0113m\u0101m palaist Linux Distros sader\u012bg\u0101 aparat\u016br\u0101. WSL b\u016bt\u012bb\u0101 nogalina vajadz\u012bbu p\u0113c tradicion\u0101l\u0101s virtu\u0101l\u0101s ma\u0161\u012bnas, k\u0101 ar\u012b dubult\u0101s s\u0101kn\u0113\u0161anas sist\u0113mas. <\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Izmantojot WSL, varat ne tikai palaist Linux Distro, bet ar\u012b izmantot liel\u0101ko da\u013cu OS nodro\u0161in\u0101to r\u012bku, lietot\u0146u un util\u012btu. P\u0113c noklus\u0113juma tas ir atsp\u0113jots vis\u0101s sist\u0113m\u0101s, un jums b\u016bs j\u0101instal\u0113 Windows apak\u0161sist\u0113ma oper\u0113t\u0101jsist\u0113mai Windows oper\u0113t\u0101jsist\u0113m\u0101 Windows 11. Apskat\u012bsim visus veidus, k\u0101 to izdar\u012bt.<\/span><\/p>\n<h2><span id=\"Ways_to_Install_Windows_Subsystem_for_Linux\"><strong><span data-preserver-spaces=\"true\">Windows apak\u0161sist\u0113mas instal\u0113\u0161anas veidi oper\u0113t\u0101jsist\u0113mai Linux<\/span><\/strong><\/span><\/h2>\n<p><span data-preserver-spaces=\"true\">WSL \u013cauj palaist Linux Distro sav\u0101 Windows dator\u0101. Ir vair\u0101ki veidi, k\u0101 instal\u0113t Windows apak\u0161sist\u0113mu oper\u0113t\u0101jsist\u0113mai Linux, ta\u010du, pirms m\u0113s apsprie\u017eam darb\u012bbas, dator\u0101 ir j\u0101iesp\u0113jo virtu\u0101l\u0101s ma\u0161\u012bnas platforma. Lai to iesp\u0113jotu, veiciet t\u0101l\u0101k nor\u0101d\u012bt\u0101s darb\u012bbas &#8211;<\/span><\/p>\n<ol>\n<li><span data-preserver-spaces=\"true\">Atveriet <\/span><strong><span data-preserver-spaces=\"true\">S\u0101kt izv\u0113lni<\/span><\/strong><span data-preserver-spaces=\"true\">, mekl\u0113jiet <\/span><strong><span data-preserver-spaces=\"true\">Iesl\u0113gt vai izsl\u0113gt Windows l\u012bdzek\u013cus&lt; a i=4&gt; un nospiediet <\/span><\/strong><strong><span data-preserver-spaces=\"true\">Enter<\/span><\/strong><span data-preserver-spaces=\"true\">.<\/span><span data-preserver-spaces=\"true\"><\/span><strong><span data-preserver-spaces=\"true\"><\/span><\/strong><span data-preserver-spaces=\"true\"><\/span><img alt=\"atveriet Windows l\u012bdzek\u013cu iesl\u0113g\u0161ana vai izsl\u0113g\u0161ana\" class=\"wp-image\" decoding=\"async\" height=\"349\" loading=\"lazy\" src=\"https:\/\/cdn.howtogeek.blog\/wp-content\/uploads\/2024\/01\/open-Turn-Windows-Features-on-or-off.webp\" title=\"atveriet Windows l\u012bdzek\u013cu iesl\u0113g\u0161ana vai izsl\u0113g\u0161ana\" width=\"600\"\/><\/li>\n<li><span data-preserver-spaces=\"true\">Tagad atz\u012bm\u0113jiet izv\u0113les r\u016bti\u0146u blakus <\/span><strong><span data-preserver-spaces=\"true\">Virtual Machine Platform<\/span><\/strong><span data-preserver-spaces=\"true\">. <\/span><\/li>\n<li><span data-preserver-spaces=\"true\">Kad tas ir izdar\u012bts, noklik\u0161\u0137iniet uz <\/span><strong><span data-preserver-spaces=\"true\">Labi<\/span><\/strong><span data-preserver-spaces=\"true\">. <\/span><img alt=\"Virtu\u0101l\u0101s ma\u0161\u012bnas platforma\" class=\"wp-image\" decoding=\"async\" height=\"364\" loading=\"lazy\" src=\"https:\/\/cdn.howtogeek.blog\/wp-content\/uploads\/2024\/01\/Virtual-Machine-Platform.webp\" title=\"Virtu\u0101l\u0101s ma\u0161\u012bnas platforma\" width=\"408\"\/><\/li>\n<li><span data-preserver-spaces=\"true\">Lai saglab\u0101tu izmai\u0146as, jums tiks l\u016bgts restart\u0113t datoru.<\/span><\/li>\n<\/ol>\n<p><span data-preserver-spaces=\"true\">Kad esat iesp\u0113jojis virtu\u0101l\u0101s ma\u0161\u012bnas platformu, varat izmantot da\u017e\u0101das t\u0101l\u0101k nor\u0101d\u012bt\u0101s metodes, lai instal\u0113tu Windows apak\u0161sist\u0113mu oper\u0113t\u0101jsist\u0113mai Linux oper\u0113t\u0101jsist\u0113m\u0101 Windows 11-<\/span><\/p>\n<h3><span id=\"1_Through_Command_Prompt\"><strong><span data-preserver-spaces=\"true\">1.\u00a0Izmantojot komandu uzvedni<\/span><\/strong><\/span><\/h3>\n<p><span data-preserver-spaces=\"true\">Pirmais veids, k\u0101 instal\u0113t WSL oper\u0113t\u0101jsist\u0113m\u0101 Windows 11, ir komandu uzvedne. Lai to izdar\u012btu, veiciet t\u0101l\u0101k nor\u0101d\u012bt\u0101s darb\u012bbas &#8211;<\/span><\/p>\n<ol>\n<li><span data-preserver-spaces=\"true\">Nospiediet tausti\u0146u <\/span><strong><span data-preserver-spaces=\"true\">Windows<\/span><\/strong><span data-preserver-spaces=\"true\"> un ierakstiet <\/span><strong><span data-preserver-spaces=\"true\">CMD<\/span><\/strong><span data-preserver-spaces=\"true\"> izv\u0113ln\u0113 S\u0101kt. Ar peles labo pogu noklik\u0161\u0137iniet uz <\/span><strong><span data-preserver-spaces=\"true\">komandrindas<\/span><\/strong><span data-preserver-spaces=\"true\"> un p\u0113c tam noklik\u0161\u0137iniet uz <\/span><strong><span data-preserver-spaces=\"true\">Palaist k\u0101 administratoram<\/span><\/strong><span data-preserver-spaces=\"true\">. . <\/span><\/li>\n<li><span data-preserver-spaces=\"true\">Kad ekr\u0101n\u0101 tiek par\u0101d\u012bta UAC uzvedne, noklik\u0161\u0137iniet uz <\/span><strong><span data-preserver-spaces=\"true\">J\u0101<\/span><\/strong><span data-preserver-spaces=\"true\">.<\/span><\/li>\n<li><span data-preserver-spaces=\"true\">CMD log\u0101 ierakstiet un izpildiet \u0161\u0101du komandu &#8211;<\/span><img alt=\"wsl - instal\u0113t\" class=\"wp-image\" decoding=\"async\" height=\"436\" loading=\"lazy\" src=\"https:\/\/cdn.howtogeek.blog\/wp-content\/uploads\/2024\/01\/wsl-E28093install.webp\" title=\"wsl - instal\u0113t\" width=\"1011\"\/>\n<ul>\n<li>\n<code><strong><span data-preserver-spaces=\"true\">wsl \u2013install<\/span><\/strong><\/code>\n<\/li>\n<\/ul>\n<\/li>\n<li><span data-preserver-spaces=\"true\">P\u0113c iepriek\u0161 min\u0113t\u0101s komandas izpildes aizveriet komandu uzvedni un restart\u0113jiet datoru.<\/span><\/li>\n<li><span data-preserver-spaces=\"true\">Tas j\u016bsu dator\u0101 instal\u0113s WSL.<\/span><\/li>\n<\/ol>\n<h3><span id=\"2_Through_Windows_Features\"><strong><span data-preserver-spaces=\"true\">2. Izmantojot Windows l\u012bdzek\u013cus<\/span><\/strong><\/span><\/h3>\n<p><span data-preserver-spaces=\"true\">V\u0113l viens veids, k\u0101 instal\u0113t Windows apak\u0161sist\u0113mu oper\u0113t\u0101jsist\u0113mai Linux, ir izmantot Windows l\u012bdzek\u013cus. L\u016bk, k\u0101 to izdar\u012bt &#8211;<\/span><\/p>\n<ol>\n<li><span data-preserver-spaces=\"true\">Atveriet <\/span><strong><span data-preserver-spaces=\"true\">S\u0101kt izv\u0113lni<\/span><\/strong><span data-preserver-spaces=\"true\">, mekl\u0113jiet <\/span><strong><span data-preserver-spaces=\"true\">Iesl\u0113gt vai izsl\u0113gt Windows funkcijas,<\/span><\/strong><span data-preserver-spaces=\"true\">  un atveriet to. <\/span><\/li>\n<li><span data-preserver-spaces=\"true\">\u0160eit mekl\u0113jiet <\/span><strong><span data-preserver-spaces=\"true\">Windows apak\u0161sist\u0113ma oper\u0113t\u0101jsist\u0113mai Linux<\/span><\/strong><span data-preserver-spaces=\"true\"> un atz\u012bm\u0113jiet tai blakus eso\u0161o izv\u0113les r\u016bti\u0146u. <\/span><\/li>\n<li><span data-preserver-spaces=\"true\">Kad esat pabeidzis iepriek\u0161 min\u0113t\u0101s izmai\u0146as, noklik\u0161\u0137iniet uz <\/span><strong><span data-preserver-spaces=\"true\">Labi<\/span><\/strong><span data-preserver-spaces=\"true\">. <\/span><img alt=\"Windows apak\u0161sist\u0113ma oper\u0113t\u0101jsist\u0113mai Linux\" class=\"wp-image\" decoding=\"async\" height=\"359\" loading=\"lazy\" src=\"https:\/\/cdn.howtogeek.blog\/wp-content\/uploads\/2024\/01\/Windows-Subsystem-for-Linux.webp\" title=\"Windows apak\u0161sist\u0113ma oper\u0113t\u0101jsist\u0113mai Linux\" width=\"409\"\/><\/li>\n<li><span data-preserver-spaces=\"true\">P\u0113c tam restart\u0113jiet datoru, lai saglab\u0101tu izmai\u0146as un pabeigtu instal\u0113\u0161anas procesu.<\/span><\/li>\n<\/ol>\n<h3><span id=\"3_Through_Microsoft_Store\"><strong><span data-preserver-spaces=\"true\">3. Izmantojot Microsoft Store<\/span><\/strong><\/span><\/h3>\n<p><span data-preserver-spaces=\"true\">Varat ar\u012b instal\u0113t WSL, izmantojot Microsoft veikalu. Lai to izdar\u012btu, veiciet t\u0101l\u0101k nor\u0101d\u012bt\u0101s darb\u012bbas &#8211;<\/span><\/p>\n<ol>\n<li><span data-preserver-spaces=\"true\">Uzdevumjosl\u0101 atveriet <\/span><strong><span data-preserver-spaces=\"true\">Microsoft Store<\/span><\/strong><span data-preserver-spaces=\"true\">. <\/span><\/li>\n<li><span data-preserver-spaces=\"true\">Tagad Microsoft veikal\u0101 noklik\u0161\u0137iniet uz mekl\u0113\u0161anas ikonas aug\u0161pus\u0113, mekl\u0113jiet <\/span><strong><span data-preserver-spaces=\"true\">Windows apak\u0161sist\u0113ma oper\u0113t\u0101jsist\u0113mai Linux<\/span><\/strong><span data-preserver-spaces=\"true\"> un atveriet to no Mekl\u0113\u0161anas rezult\u0101ti. <\/span><\/li>\n<li><span data-preserver-spaces=\"true\">Tagad noklik\u0161\u0137iniet uz pogas <\/span><strong><span data-preserver-spaces=\"true\">Ieg\u016bt<\/span><\/strong><span data-preserver-spaces=\"true\">. <\/span><\/li>\n<li><span data-preserver-spaces=\"true\">J\u016bs sa\u0146emsit UAC uzvedni; noklik\u0161\u0137iniet uz<\/span><strong><span data-preserver-spaces=\"true\"> J\u0101<\/span><\/strong><span data-preserver-spaces=\"true\">.<\/span><\/li>\n<li><span data-preserver-spaces=\"true\">Kad tas b\u016bs izdar\u012bts, tiks s\u0101kta WSL lejupiel\u0101de j\u016bsu dator\u0101, un t\u0101 tiks instal\u0113ta j\u016bsu ier\u012bc\u0113.<\/span><\/li>\n<\/ol>\n<h2><span id=\"Ways_to_Install_Linux_Distro_on_Windows_11\"><strong><span data-preserver-spaces=\"true\">Linux Distro instal\u0113\u0161anas veidi oper\u0113t\u0101jsist\u0113m\u0101 Windows 11<\/span><\/strong><\/span><\/h2>\n<p><span data-preserver-spaces=\"true\">Kad esat pabeidzis WSL instal\u0113\u0161anu sav\u0101 sist\u0113m\u0101, varat turpin\u0101t Linux Distro instal\u0113\u0161anu. Varat instal\u0113t Linux Distro sav\u0101 Windows dator\u0101, izmantojot komandu uzvedni vai Microsoft veikalu.<\/span><\/p>\n<h3><span id=\"1_Through_Command_Prompt1\"><strong><span data-preserver-spaces=\"true\">1.\u00a0Izmantojot komandu uzvedni<\/span><\/strong><\/span><\/h3>\n<p><span data-preserver-spaces=\"true\">Ja v\u0113laties instal\u0113t Linux Distro sav\u0101 Windows dator\u0101, izmantojot komandu uzvedni, veiciet t\u0101l\u0101k nor\u0101d\u012bt\u0101s darb\u012bbas.<\/span><\/p>\n<ol>\n<li><span data-preserver-spaces=\"true\">Nospiediet <\/span><strong><span data-preserver-spaces=\"true\">Windows+R<\/span><\/strong><span data-preserver-spaces=\"true\">, lauk\u0101 ierakstiet <\/span><strong><span data-preserver-spaces=\"true\">CMD<\/span><\/strong><span data-preserver-spaces=\"true\"> palaist dialoglodzi\u0146u un vienlaikus nospiediet <\/span><strong><span data-preserver-spaces=\"true\">Ctrl+Shift+Enter<\/span><\/strong><span data-preserver-spaces=\"true\"> tausti\u0146us. <\/span><\/li>\n<li><span data-preserver-spaces=\"true\">CMD log\u0101 izpildiet \u0161\u0101du komandu &#8211;<\/span>\n<ul>\n<li>\n<code><strong><span data-preserver-spaces=\"true\">wsl --list --online<\/span><\/strong><\/code>\n<\/li>\n<\/ul>\n<\/li>\n<li><span data-preserver-spaces=\"true\">\u0160eit b\u016bs uzskait\u012bti visi Linux Distro, kurus varat instal\u0113t sav\u0101 Windows dator\u0101.<\/span><\/li>\n<li><span data-preserver-spaces=\"true\">P\u0113c tam izpildiet t\u0101l\u0101k nor\u0101d\u012bto komandu, lai instal\u0113tu Linux Distro-<\/span><\/li>\n<\/ol>\n<ul>\n<li>\n<ul>\n<li>\n<code><strong><span data-preserver-spaces=\"true\">wsl --install -d DISTRO-NAME<\/span><\/strong><\/code>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3><span id=\"2_Through_Microsoft_Store\"><strong><span data-preserver-spaces=\"true\">2. Izmantojot Microsoft Store<\/span><\/strong><\/span><\/h3>\n<p><span data-preserver-spaces=\"true\">Varat ar\u012b instal\u0113t Linux Distro no Microsoft veikala, kad esat iesp\u0113jojis WSL. Lai to izdar\u012btu, veiciet t\u0101l\u0101k nor\u0101d\u012bt\u0101s darb\u012bbas &#8211;<\/span><\/p>\n<ol>\n<li><span data-preserver-spaces=\"true\">Nospiediet tausti\u0146u <\/span><strong><span data-preserver-spaces=\"true\">Windows<\/span><\/strong><span data-preserver-spaces=\"true\"> un noklik\u0161\u0137iniet uz <\/span><strong><span data-preserver-spaces=\"true\">Microsoft Store<\/span><\/strong><span data-preserver-spaces=\"true\">, lai to atv\u0113rtu. <\/span><\/li>\n<li><span data-preserver-spaces=\"true\">Tagad, izmantojot mekl\u0113\u0161anas joslu aug\u0161pus\u0113, mekl\u0113jiet Linux Distro, kuru v\u0113laties instal\u0113t. Piem\u0113ram, <\/span><strong><span data-preserver-spaces=\"true\">Ubuntu<\/span><\/strong><span data-preserver-spaces=\"true\">. <\/span><\/li>\n<li><span data-preserver-spaces=\"true\">Mekl\u0113\u0161anas rezult\u0101tos noklik\u0161\u0137iniet uz attiec\u012bg\u0101 Linux Distro un p\u0113c tam noklik\u0161\u0137iniet uz <\/span><strong><span data-preserver-spaces=\"true\">Ieg\u016bt<\/span><\/strong><span data-preserver-spaces=\"true\">, lai to instal\u0113tu. <\/span><\/li>\n<\/ol>\n<h2><span id=\"How_to_Update_WSL_Kernel\"><strong><span data-preserver-spaces=\"true\">K\u0101 atjaunin\u0101t WSL kodolu?<\/span><\/strong><\/span><\/h2>\n<p><span data-preserver-spaces=\"true\">Ja v\u0113laties atjaunin\u0101t WSL kodolu uz jaun\u0101ko versiju, to var\u0113siet izdar\u012bt, veicot t\u0101l\u0101k nor\u0101d\u012bt\u0101s darb\u012bbas.<\/span><\/p>\n<ol>\n<li><span data-preserver-spaces=\"true\">Noklik\u0161\u0137iniet uz ikonas <\/span><strong><span data-preserver-spaces=\"true\">S\u0101kt <\/span><\/strong><span data-preserver-spaces=\"true\">, mekl\u0113jiet <\/span><strong><span data-preserver-spaces=\"true\">Command Prompt<\/span><\/strong><span data-preserver-spaces=\"true\"> un palaidiet to k\u0101 administratoru. <\/span><\/li>\n<li><span data-preserver-spaces=\"true\">Ierakstiet t\u0101l\u0101k nor\u0101d\u012bto komandu un nospiediet <\/span><strong><span data-preserver-spaces=\"true\">Enter<\/span><\/strong><span data-preserver-spaces=\"true\">, lai to izpild\u012btu-<\/span>\n<ul>\n<li>\n<code><strong><span data-preserver-spaces=\"true\">wsl \u2013update<\/span><\/strong><\/code>\n<\/li>\n<\/ul>\n<\/li>\n<li><span data-preserver-spaces=\"true\">T\u0101d\u0113j\u0101di j\u016bsu sist\u0113m\u0101 tiks lejupiel\u0101d\u0113ts un instal\u0113ts jaun\u0101kais WSL kodola atjaunin\u0101jums.<\/span><\/li>\n<\/ol>\n<h4><span id=\"Bottom_Line\"><strong><span data-preserver-spaces=\"true\">Bottom Line<\/span><\/strong><\/span><\/h4>\n<p><span data-preserver-spaces=\"true\">K\u0101 min\u0113ts, ir vair\u0101ki veidi, k\u0101 instal\u0113t Windows apak\u0161sist\u0113mu oper\u0113t\u0101jsist\u0113mai Linux oper\u0113t\u0101jsist\u0113m\u0101 Windows 11. Lai ieg\u016btu WSL, varat turpin\u0101t ar jebkuru no iepriek\u0161 min\u0113taj\u0101m metod\u0113m. M\u0113s ar\u012b esam uzskait\u012bju\u0161i darb\u012bbas, lai ieg\u016btu Linux Distro oper\u0113t\u0101jsist\u0113m\u0101 Windows; varat veikt darb\u012bbas, lai instal\u0113tu Linux Distro p\u0113c WSL instal\u0113\u0161anas sav\u0101 sist\u0113m\u0101.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ja v\u0113laties izmantot Linux sav\u0101 dator\u0101, neveicot aparat\u016bras dubult\u0101s s\u0101kn\u0113\u0161anas iestat\u012b\u0161anu, varat to izdar\u012bt, izmantojot Windows apak\u0161sist\u0113mu oper\u0113t\u0101jsist\u0113mai Linux. WSL ir Windows\u00a011 l\u012bdzeklis, kas lietot\u0101jiem \u013cauj bez probl\u0113m\u0101m palaist Linux Distros sader\u012bg\u0101 aparat\u016br\u0101. WSL b\u016bt\u012bb\u0101 nogalina vajadz\u012bbu p\u0113c tradicion\u0101l\u0101s virtu\u0101l\u0101s ma\u0161\u012bnas, k\u0101 ar\u012b dubult\u0101s s\u0101kn\u0113\u0161anas sist\u0113mas. Izmantojot WSL, varat ne tikai palaist Linux Distro, bet [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[53],"class_list":["post-535","post","type-post","status-publish","format-standard","hentry","category-how-to","tag-tips"],"acf":[],"_links":{"self":[{"href":"https:\/\/howtogeek.blog\/lv\/wp-json\/wp\/v2\/posts\/535","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/howtogeek.blog\/lv\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/howtogeek.blog\/lv\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/howtogeek.blog\/lv\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/howtogeek.blog\/lv\/wp-json\/wp\/v2\/comments?post=535"}],"version-history":[{"count":1,"href":"https:\/\/howtogeek.blog\/lv\/wp-json\/wp\/v2\/posts\/535\/revisions"}],"predecessor-version":[{"id":536,"href":"https:\/\/howtogeek.blog\/lv\/wp-json\/wp\/v2\/posts\/535\/revisions\/536"}],"wp:attachment":[{"href":"https:\/\/howtogeek.blog\/lv\/wp-json\/wp\/v2\/media?parent=535"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/howtogeek.blog\/lv\/wp-json\/wp\/v2\/categories?post=535"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/howtogeek.blog\/lv\/wp-json\/wp\/v2\/tags?post=535"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}