Ағылшыншамен салыстырыңыз: абзацты басыңыз — түпнұсқа терезеде ашылады. Абзац астындағы EN түймесі оны мәтін ішінде көрсетеді.
Мазмұны
Кіріспе
Linux орындалатын файл форматы
Linux executable file format
AppImage (бұрын klik және PortableLinuxApps деп белгілі болған) – Linux жүйесінде портативті бағдарламалық құралдарды таратуға арналған ашық кодты формат. Оның мақсаты – бинарлық бағдарламалық құралдарды нақты Linux дистрибутивтеріне тәуелсіз орнатуға мүмкіндік беру, бұл көбінесе бастапқы қаптама деп аталады. Осының нәтижесінде, бір AppImage Ubuntu, Arch Linux және Red Hat Enterprise Linux жүйелерінде әртүрлі файлдарды қолданбастан орнатылып, жұмыс істеуі мүмкін. Ол өзіне-өзі жететін, root құқығын қажет етпейтін және негізгі Linux дистрибутивінен тәуелсіз формат болуға тырысады. Алғаш рет 2004 жылы klik деген атпен шығарылған, содан бері үздіксіз дамытылып, 2011 жылы PortableLinuxApps, ал 2013 жылы AppImage деп қайта аталды. 2-ші нұсқасы 2016 жылы жарық көрді.
AppImage (formerly known as klik and PortableLinuxApps) is an open source format for distributing portable software on Linux. It aims to allow the installation of binary software independently of specific Linux distributions, a concept often referred to as upstream packaging. As a result, one AppImage can be installed and run across Ubuntu, Arch Linux, and Red Hat Enterprise Linux without needing to use different files. It aims to be a format that is self contained, rootless, and independent of the underlying Linux distribution. Released first in 2004 under the name klik, it was continuously developed, then renamed in 2011 to PortableLinuxApps and later in 2013 to AppImage. Version 2 was released in 2016.
Тарих
AppImage-дің алдыңғы нұсқасы klik 2004 жылы Саймон Питер жасаған. Клиенттік бағдарламалық қамтамасыз ету GNU GPL лицензиясымен лицензияланған. klik пайдаланушының компьютеріндегі веб-браузерлермен үйлесімді болды. Пайдаланушылар бағдарламаны жүктеу және орнату үшін klik:// деп басталатын URL-ді енгізе алды. Бұл klik "рецептісін" жүктеді, ол cmg файлын жасау үшін қолданылды. Рецепт жасау процесіне негізгі компоненттер ретінде Debian Stable репозиторийлерінен алдын ала құрастырылған deb пакеттері енгізілді. Осылайша, бір рецепт әртүрлі платформаларға пакеттерді жеткізу үшін пайдаланылуы мүмкін. Linux ядросының қысылған бейнелерді орнату шектеулеріне байланысты, FUSE қолданылмаса, klik көмегімен бір уақытта сегіз бағдарламаны ғана іске асыруға болады. Файл бағдарлама іске қосылған сайын қайта орнатылды, яғни пайдаланушы бағдарламаны файлды жою арқылы толығымен алып тастауға мүмкіндік алды. Келесі нұсқасы, klik2, әзірленуде болды және FUSE ядролық модулін енгізуі тиіс еді, бірақ ол ешқашан бета-тестілеуден өте алмады. 2011 жылға қарай klik жобасы тоқтап, веб-сайты қолжетімсіз болды. Сол шамада Саймон Питер ұқсас мақсаттармен PortableLinuxApps деп аталатын жаңа жобаны бастады. Технология, мысалы, "portablelinuxgames.org" репозиторийімен қабылданып, жүздеген ашық кодты бейне ойындарды ұсынды. 2013 жылға қарай бағдарламалық қамтамасыз ету тағы бір рет portableLinuxApps-тан AppImage-ке өзгертілді, ал лицензия MIT лицензиясына ауыстырылды. AppImage – бұл формат, ал AppImageKit – нақты ашық кодты іске асыру. Әзірлеме GitHub репозиторийінде жүргізіледі. 2016 жылы AppImage спецификациясының 2-ші нұсқасы жасалды. 2-ші нұсқа файлдық жүйе түріне шектеу қоймайды (жобалық нұсқада SquashFS қолданылған). Бұл файлдағы файлдық жүйе бейнесі басталатын орны үшін белгіленген офсетті жояды және жеке файл ретінде емес, AppImage-ке тікелей енгізілген цифрлық қолтаңбаларды қосуға мүмкіндік береді.
AppImage's predecessor, klik, was designed in 2004 by Simon Peter. The client side software is licensed under the GNU GPL. klik integrated with web browsers on the user's computer. Users downloaded and installed software by typing a URL beginning with klik://. This downloaded a klik "recipe" file, which was used to generate a cmg file. For the main ingredients, pre built deb packages from Debian Stable repositories were usually fed into the recipe's generation process. This way, one recipe could be used to supply packages to a wide variety of platforms. With klik, only eight programs could be run at once because of the limitation of mounting compressed images with the Linux kernel, unless FUSE was used. The file was remounted each time the program was run, meaning the user could remove the program entirely by simply deleting the file. The next version, klik2, was in development and would natively incorporate the FUSE kernel module, but it never reached past the beta stage. Around 2011, the klik project went dormant, and the website went offline. Simon Peter started a successor project named PortableLinuxApps with similar goals around that time. The technology was adopted, for instance, by the "portablelinuxgames. org" repository, which provided hundreds of mostly open source video games. Around 2013, the software was renamed again from portableLinuxApps to AppImage; the license became the MIT license. AppImage is the format, and AppImageKit is a concrete open source implementation. The development happens in a GitHub repository. In 2016, Version 2 of the AppImage specification was drafted. Version 2 is unrestricted in filesystem type (a draft implementation used SquashFS). It removes the fixed offset for where the filesystem image begins in the file and enabled digital signatures to be embedded directly in the AppImage as opposed to as a separate file.
Дизайн
AppImage – Linux үшін келесі мақсаттармен қолданбаларды тарату жүйесі болуға тырысады: қарапайымдық, бинарлық үйлесімділік, тасымалданатындық, дистрибутивке тәуелсіздік, орнату қажеттілігінің жоқтығы, root рұқсатының қажеттілігінің жоқтығы және негізгі операциялық жүйені өзгеріссіз сақтау. Осы себепті, AppImage әртүрлі жерлерге орындалатын файлдарды орналастыру арқылы бағдарламалық жасақтаманы орнатпайды. Оның орнына, файл өзі жеке файлдық жүйе бейнесі болып табылады. Іске қосылғанда, файл FUSE арқылы орнатылады. AppImage, Deb және RPM сияқты дәстүрлі орнату форматтарына қарағанда пайдалануға оңай болу үшін жасалған, себебі операциялық жүйені немесе пайдаланушы ортасын өзгертудің қажеті жоқ. Әрбір файл өздігінен жеке болып табылады; ол қолданбаға қажетті, бірақ мақсатты жүйеде жоқ барлық кітапханаларды қамтиды. 1.0 нұсқасы AppImage – бұл ISO 9660 Rock Ridge файлы (оны zisofs арқылы шартты түрде сығуға болады), минималды AppDir және орындалу уақытын қамтиды. AppImage сыртқы тексеруді қажет ететін цифрлық қолтаңбаларды қосуға мүмкіндік береді. Формат қолтаңбаларды міндетті түрде тексеруді талап етпейді, тек оларды қосуға рұқсат береді. AppImage құмдық ортаны (sandboxing) міндетті түрде қолданбайды, бірақ кейбір қолданбалар оны қолдануы мүмкін.
AppImage aims to be an application deployment system for Linux with the following objectives: simplicity, binary compatibility, portability, distro agnosticism, no installation, no root permission, and keeping the underlying operating system untouched. Because of this, AppImage does not install software by placing executables in various locations. Instead, the file is a single filesystem image itself. When run, the file is mounted with FUSE. AppImage is designed to be simpler to use than traditional installer formats such as Deb and RPM, since it is not necessary to modify the operating system or user environment. Each file is self contained; it includes all libraries the application depends on that are not already part of the targeted system. A version 1.0 AppImage is an ISO 9660 Rock Ridge file (which can be optionally compressed via zisofs) containing a minimal AppDir and a runtime. AppImage allows the embedding of digital signatures, which need to be verified externally. The format does not require signatures to be validated, only that they may be included. AppImage does not enforce sandboxing, but it may be done by some applications.
Қабылдау және пайдалану
2007 жылы Klik Александр Ларссонның Flatpak-тың алғысы болған glick жобасына әсер етті. 2015 жылы Linux ядросын жасаған Линус Торвальдс: «Бұл керемет! Мен Subsurface-тің "AppImage" нұсқасымен танысып, ол шынымен "жұмыс істейтінін" көрдім» деді. Марк Шаттлворт «AppImage өте ыңғайлы және оның артындағы еңбекке ризамын» деп мәлімдеді.
In 2007, Klik was the inspiration for Alexander Larsson's glick project, the precursor of Flatpak. In 2015, Linus Torvalds, creator of the Linux kernel, said that "[t]his is just very cool. I finally got around to play with the "AppImage" version of Subsurface, and it really does seem to "just work"." Mark Shuttleworth stated that "AppImages are a pretty clean experience and I admire the work behind them."