I-Apt- * noma i-Aptitude, iyiphi okufanele uyisebenzise?

Kulungile (Akuvaliwe Pukuqubuka Tawu) isetshenziselwa ukufaka nokukhipha amaphakheji ku- I-GNU / Linux. Lezi esizisebenzisayo Debian kanye nokuphuma kokunye, sikusebenzisa ngokujwayelekile, noma singasebenzisa futhi Ukuphakama.

Uyazi ukuthi yini umehluko phakathi kwalokhu okubili? Nami bengingabazi, ngakho-ke ngiqale ukwenza ucwaningo nokwenza izivivinyo. Lapha ngikukhombisa umphumela.

Ukufaneleka.

Kuthiwa lokho Ukuphakama inguqulo ethuthukisiwe ye- Kulungile futhi ilawula ukuncika kwephakeji kangcono kakhulu futhi inconywa yi Debian. Ukuphakama ifaka ezinye izinketho eziningi kune- Kuhle, Ake sibheke okusetshenziswe kakhulu nencazelo yabo ngokusho kokufaneleka.

Faka : Faka iphakheji eyodwa noma amaningi. Amaphakheji kufanele avele ngemuva komyalo we- "install".
susa, khipha, bamba, bamba, gcina, faka kabusha : Le miyalo yenza okufanayo ne- "ukufaka", kepha kulokhu isenzo esishiwo ngegama singathinta wonke lawo mapakeji kulayini womyalo angawenzi angasebenzi.
buyekeza : Buyekeza uhlu lwamaphakeji atholakalayo kusuka emithonjeni efanele (okulingana ne- "apt-get update").
thuthukisa ngokuphepha : Buyekeza amaphakheji afakiwe kunguqulo yawo yakamuva. Amaphakeji afakiwe azosuswa ngaphandle kokuthi angasetshenziswa.
thuthukisa ngokugcwele : Buyekeza amaphakheji afakiwe kunguqulo yawo yakamuva, ukufaka noma ukususa amaphakheji uma kunesidingo. Lo myalo unakekela kancane kunokuthuthuka okuphephile, ngakho-ke uthambekele kakhulu ezenzweni ezingafuneki. Kodwa-ke, iyakwazi ukubuyekeza amaphakheji okuthuthuka okuphephile okungakwazi ukuwavuselela. Ngezizathu zomlando, umyalo ekuqaleni wawubizwa ngokuthi yi-dist-upgrade, futhi ukufaneleka kusakubona ukukhuphula izinga njengegama elifanayo lokuvuselelwa okugcwele.
search : Thola amaphakheji afana nenye yamaphethini afakwe kulayini womyalo.
show : Khombisa imininingwane eningiliziwe ehlobene nephakeji elilodwa noma amaningi, afakwe kuhlu ngokusho komyalo othi «search».

Ukubona imininingwane eminingi ngokufaneleka nezinketho zayo, singasebenzisa enye yezindlela ezinhle kakhulu zokuthola usizo, ngokufaka ikhonsoli:

$ indoda ukufaneleka

Kulungile

Endabeni ye-Apt, isetshenziswa imiyalo: i-apt-cache, apt-get, apt.conf, apt_preferences, apt-evikelekile, ezi-2 zokuqala zisetshenziswa kakhulu. Izinketho ezifakiwe yilezi ezilandelayo:

buyekeza : ukuvuselelwa kusetshenziselwa ukuvumelanisa inkomba yephakeji kusuka emithonjeni yabo.
phuthukisa : thuthukisa isetshenziselwa ukufaka uhlobo olusha sha lwawo wonke amaphakheji afakwe ohlelweni kusuka kunoma yimiphi imithombo efakwe kuhlu /etc/apt/source.list.
ukudehlisa : Ngaphezu kokwenza izenzo zokuthuthuka, iphatha ngokuhlakanipha izinguquko zokuncika ngenxa yezinguqulo ezintsha zephakeji. I-apt-get inesistimu yokuxazulula izingxabano "ehlakaniphile", futhi uma kunesidingo izozama ukuvuselela amaphakheji abaluleke kakhulu ngezindleko ezingabalulekile kangako.
Faka : Faka noma uvuselele amaphakheji alandela igama elithi "faka".
ukususa : Iziphatha ngendlela efanayo nokufaka ngomehluko wokuthi isusa amaphakheji esikhundleni sokuwafaka. Qaphela ukuthi lapho ukhipha iphakheji, amafayela ayo wokumisa ahlala kusistimu. Uma uphawu lokuhlanganisa lwandulela igama lephakheji (ngaphandle kwesikhala esimhlophe phakathi kwalokhu okubili), iphakethe okukhulunywa ngalo lizofakwa esikhundleni sokususwa.
ukuhlanza Kufana nokususa, ngomehluko wokuthi amaphakheji azosuswa futhi ahlanze (noma yimaphi amafayela wokumisa nawo azosuswa).

Ukubona imininingwane eminingi ngokufaneleka nezinketho zayo, singasebenzisa enye yezindlela ezinhle kakhulu zokuthola usizo, ngokufaka ikhonsoli:

$ man apt-get.

Uyini umehluko ke?

Empeleni konke kuncike ekusetshenzisweni umuntu ngamunye akunika kona nokuthi yini okudingeka ayenze. Ikakhulukazi ngihlala ngisebenzisa ukufaneleka, njengoba kunezinketho eziningi eziningi, kepha uma kwenzeka kufanele ngiseshe, i-apt-cache iyangithakazelisa. Futhi, ukufaneleka kune-interface ye-console:

Ngifunde kwezinye izindawo ukuthi ukufaneleka futhi ifaka ukuncika okuphakanyisiwe, nokuthi uthole kahle vele ufake okunconyiwe. Kodwa-ke, uma sizama ukufaka i-Audacious ngokwesibonelo, sizobona ukuthi ifaka amaphakheji afanayo.

Ake sibheke lapho ufaka isibindi nge ukufaneleka:

Ukufakwa kwesudo kufanelekile
Amaphakeji alandelayo amasha azofakwa:
  ama-plug-audible anesibindi {a} libaudclient2 {a} libaudcore1 {a} libbinio1ldbl {a} libcue1 {a} libfluidsynth1 {a} 
  libmcs1 {a} libmowgli2 {a} libreid-builder0c2a {a} libsidplay2 {a} unzip {a} 
0 amaphakheji avuselelwe, kufakwe ama-12 amasha, kuzosuswa okungu-0 bese kuthi okungu-0 kungavuselelwa. Ngidinga ukulanda amafayili angama-3494 kB. Ngemuva kokukhipha, kuzosetshenziswa i-11,0 MB.

futhi manje nge uthole kahle:

sudo apt-get ukufaka okucashile
Kufundwa uhlu lwamaphakeji ... Kwenziwe Ukwakha isihlahla sokuncika Ulwazi lwesimo sokufunda ... Kwenziwe Amaphakeji angeziwe alandelayo azofakwa:
  ama-plug-audible libaudclient2 libaudcore1 libbinio1ldbl libcue1 libfluidsynth1 libmcs1 libmowgli2 libreid-builder0c2a
  libsidplay2 vula unzip
Amaphakheji aphakanyisiwe:
  i-libmcs-backend-gconf libmcs-utils zip
Amaphakeji alandelayo amasha azofakwa:
  ama-plug-audible audacious-plugins libaudclient2 libaudcore1 libbinio1ldbl libcue1 libfluidsynth1 libmcs1 libmowgli2
  libreid-builder0c2a libsidplay2 unzip
0 kuvuselelwe, kuzofakwa i-12, kuzosuswa okungu-0, kuthi okungu-0 kungabuyekezwa. Ngidinga ukulanda amafayili angama-3494 kB. U-11,0 MB wesikhala sediski esengeziwe uzosetshenziswa ngemuva kwalokhu kusebenza.

Ukubona omunye umehluko singenza usesho. Isibonelo, vula ukuphela bese uthayipha:

ipod search search

bese

i-apt-cache search ipod

Njengoba ukwazi ukwazisa nge isilondolozi esifanele kwaba okwanelisa kakhulu. Uma kwenzeka kuba ukufaneleka, iseshe kuphela igama lephakeji, noma kunjalo, isilondolozi esifanele useshe zonke izinhlelo noma amaphakheji ahlobene negama ipod, mhlawumbe ngokuchazwa kwephakeji ngalinye.

Iziphetho

Sebenzisa leyo ekhululekile kakhulu kuwe. Kulula kimi ukuthi ngiyisebenzise ukufaneleka ngoba kungumyalo owodwa, noma kunjalo nge kulungile Kufanele ngisebenzise uthole kahle o isilondolozi esifanele ngokusho kwecala. Uma wazi noma yimuphi omunye umehluko, bashiye kumazwana 😀


Okuqukethwe yi-athikili kunamathela ezimisweni zethu ze izimiso zokuhlelela. Ukubika iphutha chofoza lapha.

Amazwana ayi-12, shiya okwakho

Shiya umbono wakho

Ikheli lakho le ngeke ishicilelwe. Ezidingekayo ibhalwe nge *

*

*

  1. Ubhekele imininingwane: Miguel Ángel Gatón
  2. Inhloso yedatha: Lawula Ugaxekile, ukuphathwa kwamazwana.
  3. Ukusemthethweni: Imvume yakho
  4. Ukuxhumana kwemininingwane: Imininingwane ngeke idluliselwe kubantu besithathu ngaphandle kwesibopho esisemthethweni.
  5. Isitoreji sedatha: Idatabase ebanjwe yi-Occentus Networks (EU)
  6. Amalungelo: Nganoma yisiphi isikhathi ungakhawulela, uthole futhi ususe imininingwane yakho.

  1.   Yoyo kusho

    Bengilokhu ngithembekile ebuhleni 😉

    1.    I-elav <° Linux kusho

      Sesivele siyi-2 😀

  2.   umc3 kusho

    Ilahlekile "aptitude purge packagegename" ukususa iphakethe + ukuncika + izilungiselelo zephakeji (izinga lempande)

    Ukungena okuhle kakhulu nokuhalalisela kubhulogi 😛

    Phendula ngokucaphuna

    1.    umc3 kusho

      Sengivele ngiyibonile lol ... ngiyaxolisa ngokubeka into engu "X aptitude purge" XD

      1.    KZKG ^ Gaara kusho

        Lutho, ungakhathazeki ^ - ^
        Ngiyabonga ngemibono yakho, ngoba inhloso enginesiqiniseko sokuthi bekungukusiza 😉
        Sanibonani futhi niqhubeke nokuma lapha 🙂

      2.    I-elav <° Linux kusho

        Akunankinga .. Ngiyabonga ngokufuna ukusiza .. 😀

  3.   UJesu Ballesteros kusho

    Lapho ngisebenzisa iDebian futhi ngithanda ukufaneleka, kunginikeza ukuzethemba okwengeziwe :). Kepha futhi ngiyavumelana nawe ukuthi ukutholwa kahle kusebenza kangcono uma kukhulunywa ngokusesha. Angazi ukuthi ukufaneleka ngelinye ilanga kuyosebenzisa into efana ne-apt-cache noma mhlawumbe ngokuzayo bazosusa ukutholakala bese beshiya ukufaneleka ne-apt-cache: P ...

  4.   Julayi kusho

    Kuze kube manje bengisebenzise i-APT-GET, ngizokwamukela i-APTITUDE ukubona ...

  5.   UJose Luis Mantilla kusho

    Vele kukhona umehluko ophawuleka kakhulu !!

    I-Apt: ufaka iphakheji ngemitapo yolwazi edingekayo

    Amandla: ifaka okudingekayo, okuphakanyisiwe futhi ngaphambi kokuyifaka iqinisekisa ukuthi ayilimazi enye iphakheji eyabelana ngemitapo yolwazi yezinye izinhlobo, ngaphambi kokuyifaka ixazulula izingxabano ezikhona phakathi kwezinhlelo zokusebenza ezisebenzisa ichweba elifanayo noma ezinokuthile okungalungile ekucushweni kwazo nawe Buza ukuthi ufuna ukuyixazulula kanjani ngokusikisela kwabo okuchazayo kanye nencazelo yabo futhi ekugcineni nge-Aptitude NGEKE ube namaphakeji aphukile (awudingi i-clean noma i-autoclean noma i-apt -f install ukuyilungisa), lokhu kusebenza kanjena kusuka ku-6,5 no-7 !!

    Sawubona futhi ngikukhonze

  6.   isiteshi asaziwa kusho

    Sawubona!
    Uyini umyalo wokufaka we-APT? Ngiyabona ukuthi bayasho ku-pdf Tutorial iLinux Mint enayo kuwebhusayithi yayo.
    Futhi umbhali wayo uncoma ukuthi ungenzi ukuthuthuka kokuvuselelwa kokuvuselelwa nge-Terminal, ngoba akuhluzi ukuthi hlobo luni lwamazinga wokuzinza angawo, sengathi ayatholakala ku-Updater ene-graphical interface ye-Mint.

  7.   Franco kusho

    Noma ngazi lokhu, ngisebenzisa ukutholakala kaningi kunokufaneleka. Kepha ngiyazi ukuthi umphathi wephakheji ye-synaptic usebenzisa ukufaneleka njalo lapho ufaka okuthile ngemodi yokuqhafaza.

  8.   i-pepo kusho

    Sekuyiminyaka eminingi umyalo we-APT ufaka ukusebenza kokutholwa nokutholakala kwesilondolozi, ukuze sikwazi ukwenza i- "apt install package" kanye ne- "apt search package" esikhundleni se- "apt-get install package" kanye ne- "apt- i-cache search package »ngokulandelana.