Yadda ake ƙara wuraren ajiya na PPA zuwa Debian da rarrabawa bisa ga hakan

Ofayan fa'idodin da Ubuntu ke da shi a kan sauran rarraba shi ne yawan aikace-aikacen da ake da su don wannan rarraba da sauƙin shigarwa da sabunta su ta hanyar Wuraren ajiya na PPA godiya ga Launchpad.

Abin baƙin cikin shine umarnin

add-apt-repository

Ana samunsa ne kawai don Ubuntu, don haka ƙara waɗannan wuraren adanawa ba shi da sauƙi lokacin da kuke son ƙarawa a cikin rarraba kamar Debian ko bisa ga wannan zaka iya yin amfani da abubuwan kunshin .deb da aka kirkira don Ubuntu.

Wannan ba yana nufin cewa ba za mu iya yin amfani da waɗannan wuraren ajiya a cikin Debian ba, tunda Debian ita ma ta samar da wata hanyar ƙara wuraren ajiya na al'ada, kuma za mu koyi yadda ake yin wannan a ƙasa.

Da farko dai dole ne mu fahimci yadda ake sarrafa wuraren ajiya a ciki Debian. Wadanda ke cikin fayil ɗin

/etc/apt/sources.list

kamar dukkan abubuwan rarrabawa na Debian, gami da Ubuntu, kuma yana da tsari mai zuwa:

deb http://site.example.com/debian rarraba bangaren1 papom2 komp3 deb-src http://site.example.com/debian rarraba bangaren1 paper2

Kalmar farko a kowane layi (

deb

,

deb-src

) na nufin nau'in fayil ɗin da aka samo a cikin wurin ajiya. Game da

deb

, yana nufin cewa fayil ɗin da ke cikin wurin ajiyar nau'ikan nau'ikan binary ne, wanda aka saka a matsayin

.deb

don Debian ko rarrabawa bisa ga ita. Kuma a yanayin

deb-src

, yana nufin cewa wurin ajiyar ya ƙunshi lambar tushe na aikace-aikacen.

Rarrabawa yana iya zama sunan rabarwar (lenny, etch, matsi, sid) ko nau'in kunshin (barga, tsohuwar tsohuwar, gwaji, mara ƙarfi).

Abubuwan da aka gama dasu sun riga sun dogara ga mai rarraba kayan ajiya, misali a yanayin da zamuyi amfani dashi a matsayin misali, waɗannan sune babba, mai yawa, ƙayyadaddu da sararin samaniya.

Yanzu da yake mun san yadda wuraren ajiya suke aiki a cikin Debian, bari muyi koyi yadda zamu ƙara wurin ajiyar PPA a cikin Debian ko rarrabawa bisa ga hakan.

Abu na farko da zaka yi shine nemo shafin ajiya na PPA a cikin Launchpad. Zamu iya yin wannan gabaɗaya ta bugawa a cikin injin bincike kamar Google sunan wurin ajiyar PPA.

A cikin wannan littafin, zamuyi amfani da PPA wanda aka samar dashi ta daidaitaccen sigar ubuntu tweak, ppa: tualatrix / ppa.
Idan ba a sami hanyar haɗi zuwa shafin ajiya a cikin injin binciken ba, kai tsaye za mu iya shiga launpad.net kuma a cikin injin binciken bincike rubuta sunan wurin ajiyar PPA.

Launchpad akwatin bincike

Bayan wannan, muna bincika cikin sakamakon don shafin ajiyar da ke sha'awa, a ƙarshe mu isa ga shafin da muke nema, inda za mu sami duk bayanan da muke buƙata don samun damar ƙara wurin ajiyar daidai a cikin Debian.

Sakamakon binciken Launchpad

A kan shafin ajiya na PPA za mu iya samun hanyar haɗi a cikin kore wanda ya ce «Bayanan fasaha game da wannan PPA», mun danna wannan mahaɗin kuma zamu sami bayanan fasaha game da wurin ajiyar abin da ake tambaya, wannan bayanin shine ainihin adiresoshin

deb

y

deb-src

cewa muna buƙatar ƙarawa a cikin fayil ɗin

/etc/apt/sources.list

wanda ke sarrafa wuraren ajiya a Debian.

Kaddamar da GPG Key

Ari akan haka, zamu iya ganin menu mai ƙasa tare da jerin abubuwan rarrabawa wanda wannan aikace-aikacen ke tallafawa. A cikin mafi kyawun harka, zaku sami sabon sigar aikace-aikacen don duk rarrabawa, amma a wasu halaye, kowane rarraba yana da nau'ikan nau'ikan fakitin, kasancewar gabaɗaya ya girme cikin tsoffin rarrabawa. (a kula cewa wannan menu yana canza siga ta atomatik rarraba a cikin ma'aji don sauƙaƙa maka don saka shi cikin fayil ɗin

/etc/apt/sources.list

)

Launchpad rarraba sigar

A cikin waɗannan bayanan fasaha kuma zamu iya samun lambar mabuɗin jama'a wanda za mu yi amfani da shi don sanya hannu kan dijital ta hanyar lambobi. Wannan yana taimaka mana ta yadda tsarin zai tabbatar da inganci da amincin ajiyar da muke amfani da ita.

Bayan sanin duk waɗannan mahimman bayanai, mun zo ɓangaren da duk muke tsammani, da farko, dole ne mu buɗe fayil /etc/apt/sources.list don ƙara sabon wurin ajiyar. Zamu iya yin hakan ta aiwatar da layi mai zuwa a cikin tashar azaman tushe:

gedit /etc/apt/sources.list

Tare da buɗe fayil ɗin azaman tushe, zamu je ƙarshen takaddar kuma ƙara wuraren ajiyar su ubuntu tweak (Zaku iya daɗa tsokaci don zama mai haske game da inda ma'ajiyar ta fito).

# Ubuntu-Tweak ma'ajiyar ajiya ta Tualatrix Chou deb http://ppa.launchpad.net/tualatrix/ppa/ubuntu maverick main deb-src http://ppa.launchpad.net/tualatrix/ppa/ubuntu maverick main

Tare da ajiyar da aka shigar a cikin fayil din

/etc/apt/sources.list

, zamu iya ajiyewa da rufe daftarin aiki.

A wannan lokacin mun riga mun sami wurin ajiyewa a cikin jerin wuraren ajiyar Debian, amma muna iya samun matsala wajen sabunta wannan jerin saboda Debian na iya yin la'akari da wurin ajiyar ba shi da hadari kuma ba zazzage jerin fakitin da yake ciki ba.

Don guje wa wannan, za mu girka maɓallin jama'a na wurin ajiyar ta hanyar aiwatar da umarni mai zuwa a cikin tashar inda za mu haɗa da lambar da aka nuna a matsayin mabuɗin jama'a a cikin hoton da ya gabata (0624A220).

apt-key adv --keyerver keyserver.ubuntu.com --recv-keys 0624A220

Idan komai yayi daidai, zamu ga rubutu kamar haka a tasharmu:

Aiwatarwa: gpg - rikice-rikice-rikice-rikice-rikice-ba-zaɓuɓɓuka - ba-tsoho-maɓallin kewaya - sakatarwa-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg - keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv-keys 0624A220 gpg: neman maballin 0624A220 daga hkp server keyerver.ubuntu.com gpg: lambar 0624A220: «Launchpad PPA don TualatriX» canzawa gpg: Adadin da aka sarrafa: 1 gpg: bai canza ba: 1

Idan wannan shine sakamakon, yanzu zamu iya sabunta jerin wuraren ajiya a hankali kuma shigar da aikace-aikacen tare da umarni mai zuwa:

ƙwarewar sabuntawa && ƙwarewa shigar ubuntu-tweak

Bayanan ƙarshe:

  • Lura cewa ba duk aikace-aikace bane Ubuntu za suyi aiki daidai akan Debian ko rarrabawa bisa ga hakan.
  • Lallai ne ku zaɓi sigar da za ku yi amfani da ita a cikin fakitin, tunda waɗannan na iya haifar da fasa wasu abubuwan dogaro musamman a cikin rarrabawa kamar Debian barga, wanda koyaushe ba ya samar da sababbin juzu'in.

Bar tsokaci

Your email address ba za a buga. Bukata filayen suna alama da *

*

*

  1. Wanda ke da alhakin bayanan: Miguel Ángel Gatón
  2. Manufar bayanan: Sarrafa SPAM, sarrafa sharhi.
  3. Halacci: Yarda da yarda
  4. Sadarwar bayanan: Ba za a sanar da wasu bayanan ga wasu kamfanoni ba sai ta hanyar wajibcin doka.
  5. Ajiye bayanai: Bayanin yanar gizo wanda Occentus Networks (EU) suka dauki nauyi
  6. Hakkoki: A kowane lokaci zaka iyakance, dawo da share bayanan ka.

  1.   Eduardo m

    Godiya ga David, babban matsayi ne da kuma babbar gudummawa don sa ƙaunataccen Linux ɗin mu ya zama mai sauƙi. Tabbas, aiki ne, mai sauƙi, idan kowa yayi rubutu kamar ku akwai ƙarin dubban masu amfani da GNU / Linux. Waɗannan abubuwan da zasu iya zama masu sauƙin fahimta ga masaniyar suna da wahala ga mai farawa kuma gabaɗaya lokacin neman wannan taimakon suna tura ka zuwa Google ko karanta dubunnan rubuce-rubuce "don ku koya." Har yanzu ina godiya da taya murna

    1.    David gomez m

      Na gode sosai Eduardo, bayaninka yana ƙarfafa ni in ci gaba da rubutu.

  2.   hira m

    Gaisuwa Dawud, na gode sosai da darasin, komai ya tafi daidai, tuni na sami ubuntu tweak a cikin lmde na da kyau

  3.   Daniel m

    David, kai ne wanda ya rubuta http://120linux.com?

    Na gode.

    http://microlinux.blogspot.com

    1.    David gomez m

      Ee Daniyel, ni ne wanda nake rubutu a cikin 120% Linux.

      1.    Daniel m

        Ahhh ok… xD Nine sauran marubucin… 😛
        Ban san cewa za ku yi aiki a cikin 2 ba ... wannan naka ne?

        Na gode.

        1.    David gomez m

          A'a wannan ba nawa bane, a halin yanzu ina ciki ubunlog.com, 120linux.com da ubuntizadoelplaneta.com

          Na bar nawa na ɗan lokaci saboda ina cikin wani aiki na daban.

          1.    Daniel m

            ahhh ok 😀 Ina da blog din nawa kuma wanda na fara kimanin watanni 2 da kadan ... ka duba ka bani ra'ayi na plisss

            Blog: http://microlinux.blogspot.com

            e-mail: daniel.120linux@gmail.com


  4.   Makova m

    Na gode kwarai da gaske David, an yi rubutu mai kyau kuma an bayyana shi, A ƙarshe na koya don ƙara ajiya a cikin Linux Mint Debian.
    Na kasance ina amfani da koyo tare da software kyauta na tsawon watanni 4, na fara kamar da yawa tare da ubuntu kuma na girka, an cire, nayi kurakurai marasa adadi da mafita tare da Linux Mint 9, Kubuntu, Zorin OS 4, Ubuntu 10.04 da 10.10, amma Babban kalubale na kaina da nake dashi shine koyon yadda ake gina kwaya da girka Debian kuma nasan yadda ake aiki da ita. Ina kuma yin nazarin yaren Python a cikin lokacinda na rage sannan daga baya na ci gaba da C ++ da Java. Koyaya, Ina da babban buri da ruɗu, idan lokacin da na ɗauki rubutu a karo na farko wani ya gaya mani game da software kyauta, amma hey, "ba a makara ba idan farin ciki yana da kyau."
    Daga yau an kara wa masoyana.
    Murna…

    1.    David gomez m

      Na gode sosai da sharhi da kuma karfafa gwiwa tare da burin ku, domin a cikin kayan aikin kyauta muna bukatar mutane da yawa kamar ku.

  5.   Makova m

    Shin zan iya ƙara gurnani, daga Maverick ko Lucid?, Akan Linux Mint Debian.
    Na riga na da gurnani amma repos ya ba ni kuskuren kalmar sirri;
    W: kuskuren GPG: http://ppa.launchpad.net Sanarwar maverick: Ba a iya tabbatar da sa hannun masu zuwa ba saboda maɓallin jama'a ba shi: NO_PUBKEY 55708F1EE06803C5
    Don haka na cire su, yanzu zaku iya ƙara su?
    Murna…

    1.    David gomez m

      Dole ne ku zama takamaimai a cikin wacce ma'ajiyar da kuke son ƙarawa don girka Grub, saboda gaskiyar ita ce ban fahimci menene matsalar ba.

  6.   Makova m

    Godiya, a ƙarshe na ƙara Lucid's ppa-grub tunda Maverick's ya ɓace.
    Matsalar ita ce na girka gurnani don samun hoton bayan fage wanda ya fi kyau kyau, na girka komai banda wurin ajiyar da ya ba ni kuskuren da na ambata a baya. Amma ina tsammanin na riga na warware shi albarkacin babban darasin ku.
    Murna…

  7.   Makova m

    Yi haƙuri yana da Grub 2.

  8.   Makova m

    Kai, ban tabbata ba BURG GRUB ne na Grub 2.
    Murna…

    1.    David gomez m

      Na fahimta, kuna ƙoƙarin girka Burg, ya zama kamar cokali mai yatsu na Grub don sa farawa yayi kyau sosai.

      Karanta wannan jagorar da na rubuta, don ƙarin sani game da yadda ake girka shi a cikin Ubuntu (yana iya zama da amfani ga Mint) http://www.wereveryware.com/2010/07/como-instalar-modificar-y-eliminar-burg.html

  9.   Jose Salazar m

    Godiya ga David Ina neman abu kamar haka, don wasu dakunan karatu da nake buƙata amma a ƙarshe lokacin ƙoƙarin yin su
    apt-key adv --keyserver keyserver.ubuntu.com –recv-keys 0624A220

    Ban sauke makullin ba don haka ina so in san yadda zan yi a wannan yanayin na gode….

    1.    David gomez m

      Da farko dai, mene ne ma'ajiyar da kuke ƙoƙarin girka kuma akan wane rarraba?

      1.    Jose Salazar m

        wanda kuka buga tare da wannan tutocin

        # Ubuntu-Tweak Ma'aji ta Tualatrix Chou
        bashi http://ppa.launchpad.net/tualatrix/ppa/ubuntu maverick babban
        deb-src http://ppa.launchpad.net/tualatrix/ppa/ubuntu maverick babban

        Ina kokarin sabuntawa ko girka libgpod4 a sigar 0.7.95-1

        tunda ina da iPhone 3gs kuma bata sanni ba a debian kuma na matse kuma kawai suna zuwa can 0.7.93 kuma yana aiki daga 95, ina gaya muku saboda na sanya shi aiki a laptop dina, amma dole na tattara shi kuma girka shi da hannu, abin da nake so shine in ceci kaina wannan aikin saboda akwai masu dogaro da yawa kuma yana da wahala saboda haka ban sani ba ko hakan zai saukaka min a wannan, duk da ina tunanin (NOSE) cewa ba zai iya ba a yi tunda kunshin guda daya wanda ya dogara da libgpod ya dogara da wasu irin su da kuke gani kuma na gama fashewa duk haha… da kyau me za a yi a wannan yanayin ??? godiya a gaba kuma ga amsar….

        1.    David gomez m

          José, matsalar da nake gani a layin da kake gudu don shigar da maɓallin Ubuntu-Tweak shine kana amfani da rubutun (-) maimakon biyu (--) kafin umarnin keyserver y recv-keys.

          Gyara wannan kuma sake gwadawa don samun mabuɗin.

          1.    Jose Salazar m

            a'a, Na riga nayi kuma ba komai, karka bude wata hanyar da zaka zazzage ka girka ta da hannu ???

            Na gwada yadda kuka gaya mani:

            # apt-key adv --keyserver keyserver.ubuntu.com –recv-keys 0624A220

            kuma na sami wannan:

            Kashewa: gpg –kanin lokaci-rikici-ba-za optionsu options –uka - ba-tsoho-kewayawa ba - asirce-keyring /etc/apt/secring.gpg –trustdb-name /etc/apt/trustdb.gpg –keyring / etc / apt / amintacce.gpg –primary-keyring /etc/apt/trusted.gpg –keyserver keyserver.ubuntu.com –recv-keys 0624A220
            gpg: neman maballin 0624A220 daga hkp uwar garken keyserver.ubuntu.com
            ?: keyserver.ubuntu.com: Haɗuwa ta ƙare
            gpgkeys: Kuskuren ɗebo HTTP 7: bai iya haɗawa ba: An ƙare haɗin lokacin
            gpg: babu ingantaccen bayanan OpenPGP da aka samo
            gpg: Adadin da aka sarrafa: 0

            Babu wani abu da aka zazzage, ban sani ba idan zai sauka ko buɗe wani tushe ko menene za ku ba ni shawarar da kyau ...


          2.    David gomez m

            José, karanta layi na gaba wanda zan amsa maka ...


  10.   David gomez m

    Sannu José, Na riga na gwada maɓallin kuma babu matsala a ciki, ban fahimci dalilin da yasa kwamfutarka ba za ta iya zazzage ta ba.

    Ga hanyar haɗi zuwa maɓallin jama'a http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0x6AF0E1940624A220.

    Ina baku shawarar ku karanta wadannan abubuwan Neman 'N Geek guda biyu inda suke koyar da yadda ake wahalarda makullan jama'a:

    Faɗa mini yadda abin ya faru, a halin yanzu zan fara amfani da Debian don taimaka muku ta hanya mafi kyau, ko?

  11.   Jose Salazar m

    Shirya, na warware, ina da matsaloli domin ban san abin da yakamata inyi ba amma Tacewar wuta tana toshe sabar kuma baza ta bari in zazzage ta ba, Layer 8 kuskure hehehe, abin da nake ƙoƙarin sabunta libgpod4 0.7.95. 1-XNUMX amma yana da wahala saboda abubuwan dogaro amma zan gani…. Godiya mai yawa….

  12.   Jose Salazar m

    David, tambaya, shin kun san cewa na ba da sabuntawa kuma yana watsi da waɗannan layukan, ma'ana, ba ya ɗora tushen abubuwan ubuntu kwata-kwata, ina yin shi ta hanyar zane ta hanyar ubuntu-tweak kuma ina jin daɗin gazawar sauran, da wasu debian idan suka loda min, me yasa hakan ke faruwa?

    1.    David gomez m

      José, yana iya zama kawai cewa aikace-aikacen bai dace da Debian ba, kuna ƙoƙarin girka Ubuntu Tweak wanda aka kirkireshi musamman don Ubuntu.

      Ban sami damar zazzage Debian ba tukuna, koyaushe ina samun matsalar zazzagewa, shi yasa ba zan iya taimaka muku ba a halin yanzu, idan kuna so ku aiko min da imel tare da bayanan tuntuɓarku kuma zan sanar da ku menene Zan iya samu

  13.   rana m

    Barka dai. Ina so in ba da ra'ayi game da shirya wuraren ajiya idan na iya.
    A ciki «/etc/apt/sources.list.d/» za ka iya ƙara fayiloli masu taimako - tare da ƙarin “jerin” —wannan ya ƙunshi maɓallan ajiya, don haka misali za ka iya ƙirƙirar wanda ake kira «ubuntutweak.list» ga shari'ar da aka rufe a cikin wannan koyawa.
    Wannan yana tabbatar da cewa fayil ɗin /etc/apt/sources.list kawai ya ƙunshi manyan wuraren ajiyar Debian.

    A gaisuwa.

  14.   williamd m

    Godiya 🙂 wannan bayanin ya taimaka min sosai, komai ya kan bata lokacin da na shiga launpad.

  15.   Adrian seimandi m

    Zan sake dawo da wani batun da ya mutu, kuyi hakuri .. Ina tambayarku, yaya amincin girka aikace-aikace daga wadannan rumbunan ajiyar wadanda ba wadanda tsoffin raina na suka kawo ba? . Godiya