Kana iwe uri programmers kana kwete uye uchida nzira yekuisa iyo application kana script, heano akati wandei maitiro.
DEB Package ine Mafonti (Chete kune madhiri uye maDerivatives)
Iyi nzira ndeye patinenge tiine kodhi kodhi yekushandisa.
Kutanga tinoisa chirongwa icho chinoita mashiripiti "Checkinstall", mune terminal yatinoshandisa
sudo kukwira kuisa cheki
Semuenzaniso isu tinoshandisa raibhurari "ZVIrema", tora font kubva pano, isu tinogadzira folda uye tinoisa iyo faira vakaremara-3.98.4.tar.gz uye kubva kumagumo semidzi tinopinda iyo dhairekitori uye tigoita iyi mitsara.
tar -xzvf chirema-3.98.4.tar.gz cd chirema-3.98.4 ./configure make checkinstall cp * .deb ../ cd .. rm -R chirema-3.98.4 chmod 777 chirema-3.98.4 *. deb
Inotigadzirira iyo pasuru yedhivha, iyi nzira inoisa iyo inogadzirwa package pakupedzisira.
Chinyorwa DEB Package (Chete kune madhiri uye maDerivatives)
Iyi nzira ndeye edu akanyorwa zvinyorwa kana kunyorera
Maumbirwo eDEB Package
| Kumisikidza (General Dhairekita) | | -DEBIAN (Dhairekitori uko mafaera ekugadzirisa ari) | - kudzora (Kugadzirisa faira) | --preinst (Faira kana Chinyorwa chinomhanya pamberi Kuisa) | --postinst (Faira kana Chinyorwa chinomhanya mushure mekuisa) | --prerm ( Faira kana Chinyorwa kuti umhanye usati wabvisa) | --postrm (Faira kana Chinyorwa kuti umhanye mushure mekusunungura) | | -usr (Dhairekita pane ako mafaira ekushandisa) vatambi)
Muenzaniso we «kudzora» faira
Pasuru: TUPACKAGE Shanduro: VERSION Dhizaini: amd64 (i386 kana ese) Muchengeti: AUTHOR Chikamu: mudiwa / webhu Kukosha: kusarudza Tsananguro: TEXT
Kugadzira iyo DEB Package
sudo chmod -R mudzi: midzi setup / sudo chmod -R 755 setup / sudo dpkg -b setup / package.deb chmod 777 package. deb chown -R setup
Nedatha iyi isu tava kukwanisa kugadzira dhi package yekushandisa kwedu, semuenzaniso isu tichagadzira yakapusa bash script
Isu tinogadzira dhairekita rakatumidzwa «ubunlog» uye mukati meimwe zita iri Gadzirira
ipapo mukati mekupedzisira dhairekitori tinogadzira maforodha maviri rimwe rezita "DEBHANI" uye mumwe «Usr».
Iyi ndiyo faira yekudzora
nhuri: ubunlog-web Version: 0.11.5.13 Architecture: all Maintainer: TU NAME Chikamu: partner/web Chakanyanya kukosha: Optional Description: Tutorials, Linux desktops, software, news and everything about Ubuntu.
Isu tinoichengeta mukati mefaira "DEBHANI" izvo zvatakagadzira kare se «kutonga»
Iyi kodhi inobva kufaira repostinst
#!/bin/sh chmod 755 /usr/bin/ubunlog-web chmod +x /usr/bin/ubunlog-web chmod 755 / usr/share/pixmaps/ubunlog-web.png chmod 755 /usr/share/applications/ubunlog-web.desktop chmod +x /usr/share/applications/ubunlog-web.desktop
Isu tinochengeta izvi mufaira rimwechete sepakutanga se "postinst"
Iye zvino tava kugadzira maforodha eiyo script, iyo yekutanga uye icon, mukati mefaira Gadzirira isu tinogadzira dhairekita rakatumidzwa «Usr»
Sezvauri kuona isu tine mafolda maviri rimwe "DEBHANI" uye mumwe «Usr» izvo isu takagadzira masekondi apfuura, mukati mekupedzisira tinogadzira maforodha imwe "Bin" uye mumwe "Compartir"
Iyi ndiyo kodhi yekodhi
#!/bin/sh firefox https://ubunlog.com/ &
isu tinochengeta iyo mufaira "Bin" rine zita «ubunlog-Webhu".
Iye zvino tinoenda kune folda "Compartir" mune izvi tinogadzira dhairekita rakatumidzwa "Pixmaps" uye tinoponesa nezita «ubunlog-web.png» takaburitsa ichi chifananidzo kubva pano
Isu tinongofanirwa kugadzira yekutanga, nekuti izvi isu tinogadzira yekupedzisira folda mukati mugove nemazita "Zvishandiso"
Iyi ndiyo kodhi yakafanana
[Desktop Entry] Encoding=UTF-8 Zita=Ubunlog Webhu Blog Comment=Tutorials, Linux desktops, software, news and everything about Ubuntu GenericName=Tutorials, Linux desktops, software, news and everything about Ubuntu Exec=ubunlog-web Terminal=enhema Type=Application Icon=ubunlog-web Categories=Application;Network;Internet; KutangaWMClass=ubunlog-web StartupNotify=chokwadi
Vanozvichengeta mufaira "Zvishandiso" Chemhondoro «ubunlog-web.desktop»
Isu tatova nezvose zvakagadzirira, zvinongoramba zviripo gadzira deb package, inokumbira iwe mudzi password, asi haina chichiisa chero chinhu.
sudo chmod -R mudzi: midzi setup/ sudo chmod -R 755 setup/ sudo dpkg -b setup/ ubunlog-web_0.11.5.13_all.deb chmod 777 ubunlog-web_0.11.5.13_all.deb chown -R setup
Kana zvese zviri izvo, iwe watove uine iyo package «ubunlog-web_0.11.5.13_all.deb».
Kuzvitorera wega Chinyorwa (Inoedzwa chete paUbuntu, Inoshanda pane Chero Distro)
Iyi nzira ndeyekugadzira mafaera aine iyo yekuzvigadzira script (http://megastep.org/makeself/)
Ivo vanotora kubva pawebhu, iri .run faira, ivo vanozvipa mvumo uye tinozviita,
Mashandisiro acho.
makeelf.sh FOLDER / SOURCE / RESULT.RUN "TEXT" ./setup.sh
Sezvauri kuona "FOLDER / ORIGIN / » ndiwo mafaera uye maforodha ekushandisa kwedu kana script «RESULT.RUN» iri rinoguma faira kana Kuzviburitsa faira
"TEXT" iwo meseji unoratidzwa kana iwe uchimhanyisa iyo Yega-inoburitsa faira, uye yakavharirwa mune makotesheni.
"./Setup.sh" iyo script inomhanya kana uchisunungura iyo Yega-inoburitsa faira, usakanganwa kuipa mvumo.
Kuti zviite kuti zvinzwisisike isu tinoshandisa iyo imwecheteyo muenzaniso wedhidhi package asi yakachinjika kwairi.
Isu tinogadzira dhairekita rakatumidzwa «ubunlog» uye isu tinoteedzera iyo folda inozvigadzira, kuitazve kuti Anozviita
Mu folda «ubunlog» gadzira rimwe zita gadzirira uye mukati meino nzvimbo mafaera anotevera.
Installer Chinyorwa
#!/bin/sh cp ubunlog-web / usr/bin/ chmod 755/usr/bin/ubunlog-web chmod +x /usr/bin/ubunlog-webhu cp ubunlog-web.png /usr/share/pixmaps/ chmod 755 /usr/share/pixmaps/ubunlog-web.png cp ubunlog-web.desktop /usr/share/applications/ chmod 755 /usr/share/applications/ubunlog-web.desktop chmod +x /usr/share/applications/ubunlog-web.desktop
Ivo vanozvichengeta se setup.sh
Chinyorwa chedu
#!/bin/sh firefox https://ubunlog.com/ &
Vanorichengeta se"ubunlog-web» icon inochengetwa ine zita «ubunlog-web.png» takaburitsa ichi chifananidzo kubva pano
Chirongo
[Desktop Entry] Encoding=UTF-8 Zita=Ubunlog Webhu Blog Comment=Tutorials, Linux desktops, software, news and everything about Ubuntu GenericName=Tutorials, Linux desktops, software, news and everything about Ubuntu Exec=ubunlog-web Terminal=enhema Type=Application Icon=ubunlog-web Categories=Application;Network;Internet; KutangaWMClass=ubunlog-web StartupNotify=chokwadi
Ivo vanozvichengeta se «ubunlog-web.desktop»
Iye zvino tinogadzira iyo Yega-inoburitsa faira
chmod 755 setup/ chmod +x setup/setup.sh sh ../makeself/makeself.sh setup ubunlog-web.run"Ubunlog - Tutorials, Linux desktops, software, nhau uye zvese nezve Ubuntu" ./setup.sh
Tatova nefaira rekuzviburitsa.
Ndinovimba izvi zvinokubatsira nechimwe chinhu
Ndatenda neKomendi dzako, Kana paine chero CHIKanganiso CHAKABUDA mupfungwa dzako, hahaha
Rakanaka bhuku, makorokoto ...
Yakanaka chinyorwa Luciano!
Ndinokukwazisai chaizvo.
Kumbundira! Paul.
Makorokoto! Ichi chinyorwa ndechimwe chezvakanakisa zvandakaona kuti ndidzidze kurongedza .deb mabhainari eDebian uye zvigadzirwa seUbuntu.
Muchiitiko cheArchLinux isu tinoshandisa iyo PKGBUILD mune yakanakisa BSD maitiro: https://wiki.archlinux.org/index.php/PKGBUILD_%28Espa%C3%B1ol%29
Kumbundira!
Mhoroi, ndatenda nekutaura kwako, kana iwe uchifunga kuti tinogona kuwedzera mune iyo positi maitiro ekugadzira mapakeji eari arch, ini ndinojekesa kuti ini ndinongoshandisa ubuntu uye zvishoma centos, ini ndinotaura kuti zvakanaka kwazvo ndakaedza kamwe asi ini ndakanga ndisina iyo nguva yekuiisa, izvo zvingave zvakanaka kwazvo sezvo kana ndichigona chero munhu achigona.
Mhoroi, ndatenda nekuda kwemashoko ako, sekutaura kwandatove ndataura pane dzimwe nguva, posvo yangu yakavakirwa pane zvakaitika kwandiri, ndinovimba kuti zvinobatsira.
Mhoro luciano.
Ini ndatanga kuteedzera nhanho uye ini handina kukwanisa kupfuudza cheki cheki. Inodzorera kukanganisa kunotevera:
"Makefile: 349: recipe ye target 'install-recursive' yakundikana
gadzira: *** [install-recursive] Error 1
**** Kuisirwa kwakundikana. Kubvisa kugadzirwa kwepakeji. "
Izvo zvisati zvaitika, iyo "gadzira" rairo inoratidza izvi mune zvinobuda:
"Gadzira [3]: Hapana chinofanira kuitirwa 'vese'."
Ini handinzwisise zviri kutadza. Ndakaedza kudhawunirodha yazvino vhezheni yevakaremara kuti ndione kana yaizogadzirisa dambudziko rangu, asi hapana zvekuita.
Thanks.