I-Archlinux: Dala amaphakheji we-cross-platform kusuka kumaphakeji we-.deb

Esikhathini esingangonyaka esedlule ngachaza ukuthi kanjani dala amaphakheji we-Archlinux. Hhayi-ke namhlanje ngizochaza ukuthi ungadala kanjani kusuka kumaphakeji .deb, lezo ezisetshenziswe ku- I-Debian / Mint / Ubuntu / njll.
Lo mbhalo uvele ngemuva kokufunda umbuzo ovela kumsebenzisi esithangamini sibongile ngoba angikwazanga ukufaka iphakheji kusuka ku-AUR, ikakhulukazi ngoba iphelelwe yisikhathi futhi isebenzise inguqulo kumisiwe we-PKGBUILD (ngenhlanhla ngike ngenza amaphakheji ngale ndlela phambilini), ngizochaza nokuthi ungenza kanjani amaphakheji ezinhlelo ezidinga Imitapo yolwazi engama-32-bit, of ikhodi evaliwe o isivele ihlanganisiwe nokuthi inamaphakeji ahlukile wokulanda.

Isisekelo se-PKGBUILD siyefana, kuphela ngezinguquko ezimbalwa.
Ushintsho lokuqala kuzoba ukusetshenziswa komusho uma elif nguBash


if [ "${CARCH}" = 'x86_64' ]; then
ARCH='amd64'
md5sums=('192a0a222893d59d95f00c34f3c8a674')
depends=('openal' 'lib32-openal')
elif [ "${CARCH}" = 'i686' ]; then
ARCH='i386'
md5sums=('047c670443124193c5cc3dd54da99925')
depends=('openal')
fi
source=("http://www.unaurl.com/files/${name}.$ARCH.deb")

Kulesi sibonelo kuchazwe ukuguquguquka okuzosetshenziswa kamuva ukuguqula ifayela le- I-URL likuphi iphakethe (kulokhu ukwakheka kwephakeji okufanele kulandwe).
Ngaphezu kwalokho, ngokuya ngobungcweti, ifayili le- Izibalo ze-MD5 ngakho-ke sizokuguqula lokhu kuya kokuhambisanayo.

Lapho usebenzisa i-makepkg -g ukukhiqiza Ama-MD5sums Lokhu kuzokhiqiza kuphela okuhambelana nobuciko obusebenzisayo. Ukwazi isamba se-MD5 selinye iphakethe kulanda bese usebenzisa umyalo md5sum ifayela.deb ukwazi okwakho

Ekugcineni siyabona ukuthi esibonelweni siguqula ukuncika. Kwezinye izinhlelo ezingama-64-bit kuyadingeka ukufaka Izinhlobo ezingama-32-bit zeminye imitapo yolwazi ngakho-ke kufanele sibakhombise. Uma zingadingeki mane uchaze ukuguquguquka ngendlela ejwayelekile.

Manje ngamaphakeji we-.deb sizodinga kuphela imigqa elandelayo ngaphakathi komsebenzi iphakethe ():

cd "${srcdir}/"
tar xvzf data.tar.gz -C .
cp -r usr ${pkgdir}

Njengoba ukwazi ukubona, kulokhu sidinga kuphela imigqa emi-3 ukukhiqiza iphakheji. Uma kukhona okunye okudingekayo (ngokwesibonelo ukukopisha ifayela elingezi nephakeji, noma ukuguqula okuqukethwe okukodwa) kufanele ulibeke njenganoma yiliphi elinye iphakethe.

Kungasebenza okufanayo (ngezinguquko ezithile) uma esikhundleni se-.deb sizosebenzisa amaphakheji ngomzuzu noma ezinye izinhlobo zamaphakeji. Umsebenzi ukwakha () ayidingeki, ngakho-ke asidingi ukuyifaka.

Futhi i-voila, sesivele sinephakethe le-multilib noma elenziwe lisuka kwiphakheji lesikweletu elilungele ukusetshenziswa.
Ngiyethemba uyayithanda nokuthi ingichaze kahle 😀


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

Amazwana ayi-32, 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.   ubsess kusho

    Ngabe akulula ukusebenzisa i-checkinstall?

  2.   ULuciano Lagassa kusho

    Sawubona. Nginemibhalo ethile ye-bash. Eyodwa yokukhiqiza amafolda ayisisekelo namafayela ephakethe lesikweletu. Futhi eyokugcina ukukhiqiza iphakheji kuwo wonke amafayela namafolda. Uma unesithakazelo, ngingabelana ngakho.

    1.    sibongile kusho

      Vele kuyathandeka ... okungenani kimi.

      Manje njengoba nginoManjaro ngithokozela lonke ulwazi olungaba khona.

  3.   sibongile kusho

    Umkhulu kangakanani, mlingani.

    Bengizokutshela esithangamini ukuthi uma ungangichazela ukuthi ungawahlanganisa kanjani amaphakheji we-.deb futhi angikutshelanga lutho ukuze ungasebenzisi kabi ukupha kwakho…. bese ngiya ekhasini futhi ngiyabona ukuthi ulayishe i-athikili echaza yonke inqubo.

    Lokhu kukhombisa ukuthi ungumuntu ophanayo.

    Ngathi, uyisiqhuma.

    Un saludo

  4.   Anibal kusho

    Kuhle mngani, uma ngike ngazama isoft engingasakhumbuli igama eliguqulwe lisuka ku .deb laya ku .rpm, kepha alisebenzanga kahle kimi.

    Umuntu onekhothamo angahlola uma ngabe le software idlula kahle ku-rpm futhi ukufakwa kuvuleka kahle?

    http://www.justcloud.com/download/linux-64

    Kungokwenzelwa isipele efwini, sengivele ngikhokhile isikhashana futhi nginokungaphezu kuka-40GB efwini =)

  5.   Isikhuthazi kusho

    Kuhle! Bengihlala ngizitshela ukuthi ngelinye ilanga ngifuna ukwenza iphakethe, noma ngabe kuzokwazi ukuthi kwenziwa kanjani :).

    Kulezi zinhlobo zokuthunyelwe ngingabonga ukuthi i-blog isebenzisa inketho yokwengeza okufakiwe okufana nalezi "izintandokazi" ze-akhawunti yami

    1.    chinoloco kusho

      Ngiyavuma ngokuphelele, ngiyitshalile, kepha lutho 🙂
      Kungakuhle futhi, ukwazi ukulandela abasebenzisi abathile

  6.   URabaBa kusho

    Indoda endala endala, bengisebenzisa i-manjaro izinsuku ezimbalwa futhi ezifundweni ngidinga ukufaka i-packet tracer evela kwa-cisco kepha inepakethe le-.deb kuphela lenguqulo yakamuva futhi i-ke eku-AUR ihlale inginika iphutha lapho ngihlanganisa, ngiyethemba ngalezi zinyathelo engingazifaka selokhu ngenkani bengisebenzisa i-linux mint, ngiyabonga kakhulu

  7.   montcoes kusho

    ukubona ukuthi kukhona yini umuntu onesibindi sokufaka ku-AUR Multisystem

    kuya ngemitapo yolwazi engeyona e-arch

    Kepha uma isebenza, umsebenzi wayo ukudala ukushayela kwe-multi-ISO ngepeni nge-grub2 okungcono kune-unetbootin eyenza eyodwa kuphela.

    Okwamanje ngine-ubuntu ISO yakhe ngaphakathi engivumela ukuthi ngingeze izithombe uma ngifuna ngokuzikhipha ku-USB uqobo

    kepha uma kungekho noyedwa olokotha aligcine ithikithi lami

  8.   montcoes kusho

    Uxolo, sekuvele kune-multisystem, futhi angicabangi

    1.    montcoes kusho

      Ku-multisystem ...

      kepha i-fatresize kusukela i-yogurt inikeza izinkinga, futhi bakubeke njengokuzithandela

  9.   Marcos kusho

    Kuhle 😀 ukwamukela i- "Purrr" uhlelo lokuqamba kabusha amafayela ngobuningi.

  10.   Ama-Apr4xas kusho

    Ukulawula,

    Njengamanje ku-AUR basusa amaphakheji angenawo umsebenzi we-package (), ngingazi kanjani ukuthi yimiphi imigqa okufanele ngiyibeke lapho? Lokho wukuthi, nginamaphakeji amaningana futhi ngikwenze ngale ndlela kepha angazi noma kulungile https://github.com/abr4xas/Arch-pkgbuild/blob/master/%20django-admin-honeypot/PKGBUILD engikwenzile ngempela ukudlulisa obekuku- build () ukufaka () kepha njengoba ngishilo, angazi noma kulungile ... Unganginika imibono neziphakamiso zakho?

    Ngiyabonga 😀

  11.   Azazeli kusho

    Ngiyabonga ngolwazi engizolubeka uphawu lokubekisa ukuze lusetshenziswe esikhathini esizayo.

  12.   clerafel kusho

    Ngabe othile angachaza ukuthi kuyini kimi, ngimusha, futhi angazi ukuthi lokhu kungisiza yini ukufaka iphakethe le-.deb kepha endaweni yangakithi kumjaro, umdlalo okufanele ube ngqo. Yebo, kuyasebenza?

    Ngibukeka futhi bangitshela ukuthi ngifake iphakethe le-deb2targz kepha ngithola iphutha lapho ngiyifaka kusuka ku-terminal, futhi angazi ukuthi kungenzeka yini

    1.    IGhermain kusho

      Kwenzeka okufanayo nakimi; Ngidinga ukufaka kuKademar okususelwa ku-Arch; amaphakheji ambalwa engiwathola kuphela ku- .deb
      Ngabe kukhona ongangisiza?

      1.    valdo kusho

        Uma okushoyo ukwehluleka ekufakweni kwe-deb2targz, ngivele ngiqede ukukufaka ngomyalo waourt -S deb2targz. Vele, ku-ArchLinux.

  13.   Isitoreji samafu samahhala kusho

    Okuthunyelwe okufundisayo kakhulu. Siyabonga ngokwabelana.

  14.   Angry Birds kusho

    Okuthunyelwe okuhle. Siyabonga ngokwabelana ngalolu lwazi oluwusizo.

  15.   Izinhlelo zokusebenza ze-PC kusho

    Siyabonga ngalokhu okuthunyelwe okuwusizo. Izosiza kakhulu.

  16.   jacob kusho

    sawubona, ungawushiya umbhalo wokuguqulwa nokuthi uwusebenzisa kanjani? Ukuthi ezingxenyeni ezithile kuyadida kancane, sengivele nginesikweletu engifuna ukusiguqula futhi ngiyazi ukuthi kungenzeka ngoba i-google chrome ye-AUR iyisikweletu kodwa angazi ukuthi ngenza kanjani i- "MAKEPKG SI" nge esinye isikweletu 🙁