Irc-Unix.net

Главная | Actual Topics | Обратная связь | Guest Book | В избранное | Сделать домашней
Категории
 System & Utilities
 Unix News
 OS Emulator
 Developing
 Learning/Education
 Games
 Humour
Каталог статей
Все статьи

Antispam
Статьи
Биллу Гейтсу тоже предлагают избавиться ...
Вымогательство в борьбе со спамом
Календарь

July, 2018
ПнВтСрЧтПтСбВс
1
2345678
9101112131415
16171819202122
23242526272829
3031
Опросы
Какой из этих ОС Вы отдаете большее предпочтение?

QNX
FreeBSD
Linux(any)
Solaris
Mac OS
Windows XP
Windows 2003
Что такое ОС? :)


Результаты
Другие опросы

Всего голосов: 326
Комментарии: 0
Ссылки

Архив Новостей
 July 2018 (4)
 June 2018 (13)
 May 2018 (10)
 April 2018 (14)
 March 2018 (11)
 February 2018 (13)
 January 2018 (13)
 December 2017 (14)
 November 2017 (15)
 October 2017 (19)
 September 2017 (18)
 August 2017 (13)
 February 2017 (14)
 January 2017 (19)
 December 2016 (16)
 November 2016 (16)
 October 2016 (21)
 September 2016 (18)
 August 2016 (16)
 July 2016 (16)
 June 2016 (20)
 May 2016 (18)
 April 2016 (15)
 March 2016 (22)
 February 2016 (17)
 January 2016 (15)
 December 2015 (15)
 November 2015 (22)
 October 2015 (20)
 September 2015 (17)
 August 2015 (25)
 July 2015 (20)
 June 2015 (23)
 May 2015 (21)
 April 2015 (17)
 March 2015 (19)
 February 2015 (9)
 January 2015 (23)
 December 2014 (9)
 November 2014 (13)
 October 2014 (12)
 September 2014 (18)
 August 2014 (20)
 July 2014 (10)
 June 2014 (12)
 May 2014 (12)
 April 2014 (10)
 March 2014 (22)
 February 2014 (10)
 January 2014 (8)
 December 2013 (26)
 November 2013 (53)
 October 2013 (40)
 September 2013 (48)
 August 2013 (63)
 July 2013 (56)
 June 2013 (52)
 May 2013 (49)
 April 2013 (67)
 March 2013 (74)
 February 2013 (63)
 January 2013 (62)
 December 2012 (62)
 November 2012 (66)
 October 2012 (68)
 September 2012 (48)
 August 2012 (75)
 July 2012 (60)
 June 2012 (71)
 May 2012 (69)
 April 2012 (85)
 March 2012 (86)
 February 2012 (90)
 January 2012 (81)
 December 2011 (103)
 November 2011 (118)
 October 2011 (74)
 September 2011 (2)
 June 2011 (110)
 May 2011 (118)
 April 2011 (111)
 March 2011 (112)
 February 2011 (101)
 January 2011 (119)
 December 2010 (117)
 November 2010 (118)
 October 2010 (131)
 September 2010 (117)
 August 2010 (226)
 July 2010 (351)
 June 2010 (305)
 May 2010 (319)
 April 2010 (343)
 March 2010 (329)
 February 2010 (311)
 January 2010 (312)
 December 2009 (266)
 November 2009 (156)
 July 2009 (101)
 June 2009 (279)
 May 2009 (365)
 April 2009 (348)
 March 2009 (347)
 February 2009 (323)
 January 2009 (318)
 December 2008 (237)
 November 2008 (155)
 October 2008 (334)
 September 2008 (310)
 August 2008 (343)
 July 2008 (362)
 June 2008 (322)
 May 2008 (503)
 April 2008 (1276)
 March 2008 (1658)
 February 2008 (250)
 January 2008 (6)
 November 2007 (1)
 September 2007 (1)
 June 2007 (1)
 May 2007 (1)
 March 2007 (1)
 January 2007 (2)
 December 2006 (1)
 October 2006 (2)
 September 2006 (1)
 August 2006 (2)

Listaller Project – An introduction

System & Utilities

This article is not directly KDE-related, so you might want to skip it. But if you’re interested in a cool project simplifying the way software is distributed on Linux, read on! :D

At time, if you develop a new application “Foo”, you as an upstream developer let other experienced people distribute your application in Linux-Distribution X through a package. Packaging an application is not as easy as some people think, a package of high quality requires some work. And the package wants to be maintained. The upstream -> downstream way we have at time works very nice, although there are some problems:

  • It takes time for downstream people (packagers) to package a new bugfix release / a new major upstream release
  • If a distribution is frozen (=stable), new upstream major releases aren’t sent to the archives anymore, so users will use an outdated version of an application
  • Some stuff is just not packaged, think of proprietary software as an example. But also free software needs someone to step in an package the stuff.
  • There are thousands of Linux-distributions. An application needs to be packaged for every single distribution (in the worst case)

To make new software available for users of stable distributions and to offer a possibility for everyone to package stuff, Ubuntu invented [Update] The OpenSUSE Build Service offers a similar, but cross-distro alternative and has been published earlier than Ubuntu’s PPAs. [/Update] the so-called PPAs.

PPAs have great advantages:

  • You can install PPAs easily
  • You always get fresh updates using the generic Update-Manager
  • It is nicely integrated with other parts of the system

People who know me might now want to skip the next section – I am a very well-known critic of PPAs :D Despite all the great advantages, PPAs also have their issues:

  • Security: If a package contains malware, it will have root-access to your full system. You’re practically giving someone else root-access to your system by installing a PPA.
  • Quality: Packaging is not only taking the upstream tarball and putting it into a DEB package. There are a lot of quality standards to comply with, if you want a high-quality package. The quality guidelines are defined to keep the Distribution working & stable. Some people might not know how to create a sane package and there is a serious risk to damage the system sooner or later with a “bad” package.
  • Upgrades: If you install new versions of a package, old packages provided by your distributor get replaced. And even if you only add new packages, you might break your distribution’s upgrade-path, so an upgrade to a newer distribution-release might fail. (nobody tests with every PPA installed)
  • Ubuntu-Centric: PPAs are Ubuntu-only. There’s no Fedora support and no Debian support too. A cross-distro solution would be better.

Because of these issues, I started Listaller, a new approach of a cross-distro software installer. Listaller is based on two great projects: PackageKit and AppStream. The development started years ago, but all old code has been thrown away with the availability of a stable PackageKit and the AppStream project, which covers some Listaller’s former project goals and will reach them in a much better and more generic way than Listaller could’ve done. Listaller is now rewritten in the Vala programming language.

The project was started to offer upstreams the ability to provide cross-distro packages of their applications. This means Listaller was designed to install applications and not libraries or system-components. So, Listaller was not designed to replace package formats like RPM or DEB or to replace package managers like APT/Yum/Zypper/etc. It’s main goal is to extend these systems to offer cross-distro application installations.

The “package”-format of Listaller is a tarball with the extension “.ipk” (Installation-Package) containing a GPG-signature, a XZ-compressed archive with XML control data and a (also compressed) archive with the payload data. This is very similar to the structure of a Debian archive.

Because Listaller works as a PackageKit plugin, all tools using PackageKit will magically get support for Listaller too. So you can remove Listaller-installed software through Apper on KDE and with GNOME-PackageKit on GNOME. Users won’t notice the difference. Same also applies to updates: Users will only see one updater application. This will avoid having many different UIs which do all the same.

How are dependencies handled? By default, Listaller always tries to use native distribution packages as dependency providers. (It searches them through PackageKit) If this does not work, it can make use of ZeroInstall feeds too. (this feature is under construction at time) Listaller distinguishes between applications, dependencies or resources and frameworks. Applications are packaged in an IPK package, while dependencies are fetched from somewhere else and can be used by many applications. Frameworks are something like D-Bus, PolicyKit, PackageKit, Nepomuk or Akonadi, which relies on being integrated with the system. Listaller will never try to install a framework. Frameworks always have to be provided by the distributor. (This has security reasons too, also Listaller just can’t do this cause of it’s design.)

And what about relocatable applications? Well, that’s a big issue. Binaries on Linux usually have paths to their data hardcoded, so they will always search in e.g. “$prefix/share/foo”. But Listaller puts applications and their data into /opt by default, so binaries need to find data independent where they are. To achieve this, we have code called “BinReloc”. Listaller inherited this from the Autopackage project, which has been merged into Listaller some time ago. BinReloc allows software developers to create relocatable applications by integrating it into their applications. For some people this is not necessary anymore: Qt4 already provides some nice methods to create relocatable apps.

To make installed apps find their libraries, every Listaller application is executed using a tool called “runapp”. This tool will set the LD_LIBRARY_PATH variable and run the applications. So you can easily use Listaller-installed tools in scripts. This also avoids collisions with applications in /usr/bin.

Is it secure? Yes, Listaller is secure. Every package should be signed, if it is not, the installer will reject it by default. (Unless you change the settings :P ) Updating software is easily possible, and Listaller applications will never conflict with native distribution applications, so upgrading a distro is safe. Also, the “runapp” tool is able to execute every newly installed application in a sandbox first, so you can test the application. IPK packages don’t have much possibilities to damage the system, because they don’t contain custom scripts. So, yes, Listaller is secure. Only the user could do the wrong thing :P

Okay, this was a quick, but still far too long information about what keeps me busy. :P Listaller has very few developers and to be honest, there was a time where I thought this project would fail. But now I’m sure that working on it is a good activity ;-) At time, there are only GNOME-frontends available for Listaller. This is because the Qt bindings aren’t updated and because of me, who is eager to try Smoke-GObject on this project :)

So, thanks for reading! And I promise, the next post will be more KDE-centric again :P





  


Разместил: Planet KDE | Дата: 02.11.2011 | Прочитано: 842 | Раздел: System & Utilities   

Рейтинг статьи

Средняя оценка: 0.00/0Средняя оценка: 0Всего голосов:0

Отлично
Хорошо Нормально Пойдёт Плохо


Смотрите также связанные темы

02.09.2010 It is a Brand New Day
It is a Brand New Day Posted by Vittorio Viarengo Vice President of Desktop Products This week at VMworld 2010, we announced a strategy and set of new and emerging products that will help businesses and governments move beyond "IT as a Cost Center" to a more business-centric "IT as a Service" model.  I am excited to finally be able to tell you about what we have been working on for a key component of this new IT model – the top layer of a modern IT architecture – End User Computing. We have come a long way since this company launched our first desktop product, ...
15.09.2006 Confessions of a Recovering NetBSD Zealot

19.02.2016 Linux distros aren't updating WebKit, making web browsers and email clients vulnerable
The WebKit rendering engine used in many Linux applications is a complete security mess. That's the takeaway from a blog post by Michael Catanzaro, who works on GNOME's WebKitGTK+ project.
21.06.2016 Qt 5.7 Consolidates Open Source, Commercial Versions Under New Licensing
The Qt Company has released a new version of its namesake C++ cross-platform app dev tool, featuring new licensing that consolidates the open source and commercial versions of its Qt for Application Development offering. "Qt has always been available as Free Software, and will continue to be so in the future," the company's Lars Knoll said in a blog post last week announcing Qt 5.7. "Qt is being developed as an open source project, The Qt Company is fully committed to this, and in addition, the agreement with the KDE Free Qt Foundation legally ensures this.
26.06.2016 Представлен релиз Xen Project 4.7
23 июня 2016 года, спустя 8 месяцев разработки вышла новая версия системы виртуализации Xen Project 4.7, развиваемая Linux Foundation. Xen применяется такими хостинг-сервисами, как AWS (Amazon Web Services), Rackspace Public Cloud и Verizon Cloud. Он используется более чем десятью миллионами пользователей.Релиз обеспечивает возможность свести к минимуму простои и автоматизировать установку патчей безопасности без перезагрузки.( Основные изменения )  xen
26.12.2016 Intel выпустила linux BSP для процессоров Atom-x3 (Sofia 3GR)
Intel выпустила (еще в ноябре) linux BSP (пакет поддержки платформы) для процессоров Atom-x3 (бывшее название Sofia 3GR). ( читать дальше... )  atom, intel, kernel
07.12.2017 Oracle открыла код двух проектов для Kubernetes на базе Fn project и Cluster Federation
Вчера на конференции KubeCon компания Oracle объявила об открытии исходного кода двух проектов, предназначенных для Open Source-системы управления контейнерами Kubernetes. Первый проект, Fn project Kubernetes Installer, продолжил недавнюю инициативу компании по открытию кода Fn project — serverless-платформы для запуска контейнеров в любых окружениях (облачных или on-premise). Привнося возможности serverless (т.е. модели, при которой облачный провайдер динамически управляет распределением вычислительных ресурсов) в Kubernetes,…
06.11.2017 Apache OpenMeetings 4.0 — крупное обновление Open Source-решения для веб-конференций
В минувшую пятницу проект популярного Open Source-решения для проведения веб-конференций и совместной работы в интернете, Apache OpenMeetings, представил своё крупное обновление — версию 4.0.0. Работа над проектом OpenMeetings началась ещё в 2006 году, а в инкубатор Apache Software Foundation (ASF) он попал в 2011-м, получив статус Top Level Project в 2013-м. На сегодняшний день этот Open Source-продукт позволяет разворачивать на своём сервере…
21.01.2018 About Babe
I've been working on a small music player named Babe for a while now, it started as an idea of a bare simple music player, and as the time has passed it has become a project I hope to expand beyond a simple music player. Last year I presented the project to the KDE community at Akademy 2017 that took place in Almeria-Spain, I wanted to highlight back then the idea of a multimedia desktop application that was aware of its content by making use of the wide knowledge that could be found on the internet, by making use of a music information retrieval system called Pulpo together with AI techni...
16.05.2008 x11-wm/pekwm - 0.1.6,1
- Update to 0.1.6. - Make fetchable again. - Update pkg-desc. PR: ports/123126, ports/117900 Submitted by: Martin Tournoij <carpetsmoker@xs4all.nl>, Henrik Friedrichsen <henrik@cheat-project.com> Approved by: gabor (mentor), Martin Tournoij <carpetsmoker@xs4all.nl> (maintainer)
Нет комментариев. Почему бы Вам не оставить свой?
Вы не можете отправить комментарий анонимно, пожалуйста зарегистрируйтесь.
Google Search
Google

Web irc-unix.net

Топ Новостей
1: Linux distros aren\'t updating WebKit, making web browsers and email clients vulnerable
Hot NEWS!
Просмотров - 4981


2: Akonadi/KMail issues on Tumbleweed?
Просмотров - 627

3: Netrunner Desktop 16.09 "Avalon" Linux OS Is Out with Kernel 4.7, KDE Plasma 5.7
Просмотров - 593

4: KDevelop 5.0.2 released for Windows and Linux
Просмотров - 572

5: HIG about Simple vs. Advanced Settings
Просмотров - 568

6: KDE\'s Kirigami 2.0 Framework for Convergent UIs Enters Beta with New Features
Просмотров - 548

7: Interview with Esfenodon
Просмотров - 547

8: 3.0 Pre-alpha 3 is out!
Просмотров - 509

9: Multi-screen woes in Plasma 5.7
Просмотров - 503

10: Embrace Open Source culture: the 5 common transformations.
Просмотров - 496

11: GSoC Update 1: The Beginning
Просмотров - 482

12: [TORRENT] chakra-2016.02-ian-x86_64.iso
Просмотров - 479

13: Fedora and KDE/spin\'s treatment - Discussion
Просмотров - 478

14: Qt SCXML and State Chart Support in Qt Creator
Просмотров - 459

15: Interview with Neotheta
Просмотров - 451

Google 120X240
Ссылки

Главная | Actual Topics | Статьи | Обратная связь | Guest Book
Генерация: 1.423 сек. и 13 запросов к базе данных за 1.374 сек.
Powered by SLAED CMS © 2005-2007 SLAED. All rights reserved.