Dnes a zítra probíhá vývojářská konference Google I/O 2025. Sledovat lze na YouTube a na síti 𝕏 (#GoogleIO).
V Bostonu probíhá konference Red Hat Summit 2025. Vybrané přednášky lze sledovat na YouTube. Dění lze sledovat na síti 𝕏 (#RHSummit).
Společnost Red Hat oficiálně oznámila vydání Red Hat Enterprise Linuxu 10. Vedle nových vlastností přináší také aktualizaci ovladačů a předběžné ukázky budoucích technologií. Podrobnosti v poznámkách k vydání.
Tuto sobotu 24. května se koná historicky první komunitní den projektu Home Assistant. Zváni jsou všichni příznivci, nadšenci a uživatelé tohoto projektu. Pro účast je potřebná registrace. Odkazy na akce v Praze a v Bratislavě.
Troy Hunt představil Have I Been Pwned 2.0, tj. nový vylepšený web služby, kde si uživatelé mohou zkontrolovat, zda se jejich hesla a osobní údaje neobjevily v únicích dat a případně se nechat na další úniky upozorňovat.
Microsoft představil open source textový editor Edit bežící v terminálu. Zdrojové kódy jsou k dispozici na GitHubu pod licencí MIT.
V Seattlu a také online probíhá konference Microsoft Build 2025. Microsoft představuje své novinky. Windows Subsystem for Linux je nově open source. Zdrojové kódy jsou k dispozici na GitHubu pod licencí MIT.
Z příspěvku Turris Sentinel – co přinesl rok 2024 na blogu CZ.NIC: "Za poslední rok (únor 2024 – únor 2025) jsme zachytili 8,3 miliardy incidentů a to z 232 zemí a z jejich závislých území. Tyto útoky přišly od 6,2 milionu útočníků (respektive unikátních adres). SMTP minipot je stále nejlákavější pastí, zhruba 79 % útoků bylo směřováno na tento minipot, 16 % útoků směřovalo na minipot Telnet, 3 % útoků směřovaly na minipot HTTP a 2 % na minipot FTP. Dále jsme zaznamenali 3,2 milionu unikátních hesel a 318 tisíc unikátních loginů, které útočníci zkoušeli."
Byla vydána (Mastodon, 𝕏) nová verze 3.0.4 svobodné aplikace pro úpravu a vytváření rastrové grafiky GIMP (GNU Image Manipulation Program). Přehled novinek v oznámení o vydání a v souboru NEWS na GitLabu. Nový GIMP je již k dispozici také na Flathubu.
Byla vydána nová stabilní verze 7.4 webového prohlížeče Vivaldi (Wikipedie). Postavena je na Chromiu 136. Přehled novinek i s náhledy v příspěvku na blogu.
Author: Jaromír Dobiáš
Packages are nowadays the most usual way of installation of a new software in Unix-like operating systems. I would like to mention general properties of packages used by package management systems in this article. I would like to focus on description of basic properties of Ipk packages which are dedicated for embedded devices based on GNU/Linux.
Packages might be nothing new for the most of you. They have become an ordinary part of modern Unix-like environments and many people get used to them as the most used way for the software installation. However not all of those people might be aware of what are the biggest pros of packages. Let us therefore have a look at what are the most essential advantages of packages in comparison with conventional ways of software installation in Unix-like operating systems.
Term "package" denotes a simple file or set of several files which can be used for installation of a new software in Unix-like operating systems. There are two basic types of packages. First type, which is most widely spread today, uses structure where all the data, precompiled from the source codes, are included directly in the simple package file. Second type of packages, which is typical for Gentoo GNU/Linux distribution, uses another approach where package itself is used for coordination of download and compilation of source codes and subsequent deployment in the targeted system.
Data is recorder to desired locations of the file-structure of the targeted system during installation of a package. Package management systems store information about location of each particular file which is deployed to the system. Hence it is possible to easily seek out what files have been recorded and where, when installing a particular package. On the other hand this is not the case of conventional installation (e.g. using ./configure, make and make install). The system can be more transparent and better organized when packages are used as a resource of a data.
Another advantage of packages is that they usually consist of precompiled data, which has been compiled on a single machine prior to its' distribution. Installation of such packages is therefore much faster because we don't need to compile it separately in each targeted system.
Some packages can be rapidly smaller than the original source files which they were built from. This should be taken into consideration especially when Internet is the primary source for distribution of packages. In such a case packages can help us to save more time and bandwidth.
Package management systems take advantage of storing several packages in particular locations called "repositories". In advanced package management systems it is sufficient to set up one or possibly more URLs of desired repositories, where to take the packages from. The system is then able to synchronize the list of available packages with those repositories. The advantage is, that it's faster to find a specific package using repository than it is using ordinary search engines.
More advanced package management systems are capable of solving dependency issues. Those systems can provide automation of download and installation of additional packages which our packages relay on (typically libraries).
From the previous follows, that the main advantage of packages lies in reduction of time needed for installation of desired data. Packages allow us to have actualized programs, data and the system itself in a shorter time and with less effort when compared to native ways of installation.
On the other hand some problems might arise when using packages. Typical problem might occur when the application installed from package is not equipped with desired functionality as a result of not being compiled with certain parameter or switch (e.g. SSH daemon without pluggable authentication modules support). For such situation there usually exist tools which enables you to build your own package from the source codes. In some more specific cases it might be more desirable to install the application in an ordinary way without the help of packaging.
Ipk is package format for Itsy Package Management System (IPKG). It is very lightweight format designated for embedded devices operating with Unix-like operating system. Ipk packages are used e.g. in smartphone devices working with Openmoko OS (GNU/Linux for mobile phones). We can use Ipk packages in some Linux-based WiFi routers as well (e.g. equipped with OpenWrt distribution).
Ipkg package is in fact just a simple tar or tar-gzip compressed file. When it is decompressed we can get 3 files of the package:
There is a search engine dedicated for searching the Ipk packages available at http://ipkgfind.handhelds.org/. Generally holds that each embedded device architecture has its' own repository of packages created for that specific platform.
t is also possible to create packages on your own using the Ipkg-utils tool or by using the script ipkg-build.sh. In order to create your own package it is necessary to make the directory structure and fill it with the files according to the desired structure in the targeted system. When creating the package the structure of directories should be created in some particular directory which represents the root of the file-system tree of the targeted system. It is necessary to create subdirectory called CONTROL in this root representative and subdirectory CONTROL should contain a file called control in it. As mentioned before, control is a meta-data file which has several attributes describing the package. Each attribute is on a single line and their names and meanings are the following:
Additional attributes are optional in the file control and does not have to exist there by default:
Packages and package management systems are fast and effective way for installation and upgrade of data in Unix-like environment. In this article, I tried to point out the main advantages of packages and I tried to emphasize their role in Linux-based systems of embedded devices. When talking about embedded devices it is necessary to keep in mind their memory and performance limitations above all. Therefore functionality of the software installed to such devices must be reduced.
Tiskni
Sdílej:
Zrovna se chystám kompilovat nějaké balíčky pro OpenWRT, takže díky za článek.
BTW: Hodilo by se to i do Wikiny jakožto nějaký úvod.