Ivo vanokumbira kugadzirisa Debian kuti ishandise iyo Rust kuitiswa kweiyo coreutils

sylvestre ledru (mugadziri anozivikanwa nebasa rake rekuvaka Debian GNU / Linux achishandisa Clang compiler) achangobva kuburitsa mushumo wekuyedza kubudirira iine imwe seti yezvishandiso, coreutils, yakanyorwa zvekare muRust.

Kune avo vasingazive nezveCoreutils, iwe unofanirwa kuziva kuti zvinosanganisira zvinoshandiswa senge rudzi, katsi, chmod, chown, chroot, cp, zuva, dd, echo, hostname, id, ln uye ls. sylvestre ledru taura izvozvo nokuti nhanho yekutanga yekubatanidzwa muDebian yeiyo coreutils vhezheni muRust, zvinotevera zvinangwa zvakagadzwa:

  • Gadzira package ine imwe Rust coreutils kune ese maDebian uye Ubuntu.
  • Booting Debian neGnome desktop nharaunda uchishandisa ngura-coreutils.
  • Isa chiuru chemapakeji anozivikanwa kubva kudura.
  • Gadzira kubva kuFirefox, LLVM / Clang, uye Linux kernel masosi ane ngura-coreutils.

Uye nazvo mushure mekugadzira zvinopfuura zana zvigamba zveRust / coreutils, zvese zvinangwa zvakanangwa zvakabudirira. Chaizvoizvo basa riri kuenderera mberi rinosimbisa kuitiswa kwezvinhu zvisipo zvinoshandiswa uye sarudzo, kuvandudza kodhi yemhando uye kuenderana, kugadzira test suite, kugadzirisa bugs dzinoitika kana uchimhanya iyo GNU Coreutils test suite (141 kubva pa613 bvunzo dziri kumhanya zvinobudirira kusvika zvino).

Zvakare, taura kuti paunenge uchigadzira iyo rust-coreutils package, zvakatemwa kuti zvirege kutsiva iyo package coreutils, asi vatendere kuti vamhanye zvakafanana. Ngura shanduro dzezvishandiso dzakaiswa mu / usr / lib / cargo / bin / uye yakaitwa nekuwedzera dhairekitori kune iyo PATH nharaunda inoshanduka. Kugadzira iyo ngura-coreutils package yakaita kuti zviome kurodha pasi ese kuvaka kutsamira munzvimbo yekuchengetera, kusanganisira Rust uye akati wandei madiki emabhokisi mapakeji.

Ndakatanga kupa kune mamwe maCoreutils akagadzirwa muRust. Iyo purojekiti inovavarira kutsanangura yakanangana kutsiva kweC-yakavakirwa GNU Coreutils, uye yaida kuongorora kana izvi zvaigona kushandiswa kumhanyisa zvakajairwa Debian. Zvakafanana nezvandaita ne clang.debian.net makore mashoma apfuura (kuvaka zvakare dhegi reDebian ndichishandisa clang pachinzvimbo che gcc).

Ndinovimba vaverengi vazhinji vanoziva chinonzi Coreutils. Iyo seti yezvirongwa zvinoita zvakapusa mashandiro (kopi / fambisa faira, chinja mvumo / muridzi, nezvimwewo). Kunyangwe kana mimwe mirairo ichibva kuma70s, iwo ari panhongonya yeLinux, Unix, uye macOS. Nepo kumisikidzwa kwakasiyana kuchiwanika, ivo vari kuyedza kuramba vachienderana maererano nenharo, sarudzo, nezvimwe. Uku kumisikidzwa kweCoreutils hakuna kumbosiyana!

Kune rimwe divi, inotaura kuti pakanga pasina matambudziko chaiwo ekugadzira mufananidzo webhutsu system, asi kugadzirisa mapakeji eiyo ngura-coreutils nharaunda kwaida basa rakawanda, nekuti akawanda ekumisikidza -kunyora zvinyorwa anoshevedza iyoyututite suite zvinoshandiswa, nekuti matambudziko mazhinji akakonzerwa nekushaikwa kwesarudzo dzakakodzera, semuenzaniso, inotaura kuti zvekushandisa "cp" yakashaiwa sarudzo "-archive" uye "-no-dereference", nepo "ln" haina kutsigira "-relative" uye sarudzo mktemp - "-t«, In sync »-fs«, in gadza - »- muridzi« uye »–group«.

Mamwe matambudziko akamukawo nekuda kwekusiyana kwemaitiroSemuenzaniso, iyo yekushandisa yekushandisa haina kutsigira kutsanangura / dev / null seyekuisa faira, mu mkdir pachinzvimbo che "- mubereki" paive nesarudzo "-vabereki", zvichingodaro.

Kuisa muDebian harisi basa risinganetsi kana rakareruka. Inoda ichizvimiririra kurodha kwese kutsamira mufaira. Rust, neecosystem yayo nyowani uye madiki mabhokisi, inoita kuti iri basa riwedzere kuoma.

Kana uchiyedza kuvaka kwemakodhi makuru mabheseni, pakanga pasina matambudziko makuru. Paunenge uchinyora Firefox neLLVM / Clang, python uye cmake zvinyorwa zvinoshandiswa, saka kutsiva coreutils hakuna kuvakanganisa. Iyo Linux kernel inovaka yaive yakapfava, iine nyaya mbiri chete dzinobuda: kukanganisa kwakabuda kana chown ichishandiswa nechiratidzo chekufananidza, uye kushomeka kwe "-n" sarudzo mune ln utility.

Finalmente Kana iwe uchifarira kuziva zvakawanda nezve iyo noti, unogona kutarisa ruzivo Mune inotevera chinongedzo.


Izvo zviri muchinyorwa zvinoomerera pamisimboti yedu ye tsika dzekunyora. Kuti utaure chikanganiso tinya pano.

Iva wekutanga kutaura

Siya yako yekutaura

Your kero e havazobvumirwi ichibudiswa.

*

*

  1. Inotarisira data: AB Internet Networks 2008 SL
  2. Chinangwa cheiyo data: Kudzora SPAM, manejimendi manejimendi.
  3. Legitimation: Kubvuma kwako
  4. Kutaurirana kwedata
  5. Dhata yekuchengetedza: Dhatabhesi inobatwa neOccentus Networks (EU)
  6. Kodzero: Panguva ipi neipi iwe unogona kudzora, kupora uye kudzima ruzivo rwako