| DistroWatch Weekly |
| A d v e r t i s e m e n t |
|
|
|
| DistroWatch Weekly, Issue 271, 22 September 2008 |
|
Welcome to this year's 38th issue of DistroWatch Weekly! The feature story of the this week's issue is package management or, more precisely, an attempt to create a command-line package management cheatsheet that would cover just about any Linux distribution available today. The first quick version is out today, but we hope to bring you a much improved and more detailed one after this week's feedback and suggestions. In the news section, OpenSolaris releases first test images for its upcoming version 2008.11, Fedora provides a further update on the recent compromise of its servers, Ubuntu responds to the accusations that it contributes little to the Linux kernel, and Phoronix runs a performance benchmark on four different Linux distributions installed on the ASUS Eee PC. Also worth a read, an interesting interview with a senior OpenSolaris engineer and further evidence that Gentoo Linux is no longer that innovative and trend-setting distribution it was just five years ago. Finally, a very happy GNOME 2.24 release week to all the fans of the popular desktop!
Content:
Listen to the Podcast edition of this week's DistroWatch Weekly in ogg (9.7MB) and mp3 (9.7MB) formats (many thanks to Russ Wenner)
Join us at irc.freenode.net #distrowatch
|
| Feature Story |
Linux package management cheatsheet
Package management is probably the most distinctive feature of any Linux distribution. While the current trend among most of the major projects is to offer some sort of a clickable interface where users can select a package and install it with a mouse click (e.g. Debian's Synaptic or Mandriva's Drakrpm), these types of programs are generally just graphical front-ends to the low-level utilities that manage the tasks associated with installing packages on a Linux system. And even though many desktop Linux users feel much more comfortable installing packages through these intuitive graphical tools, there is no denying that command-line package management offers two excellent features not available in any graphical package management utility: power and speed.
One problem that many distro-hoppers and operating system enthusiasts encounter is having to master (or relearn) a set of package management commands each time they switch from one distribution group to another. Additionally, the package management tools tend to evolve, with new features and even new commands added to every new version. Some distributions, as demonstrated recently by openSUSE and its brand new ZYpp tool, go as far as developing a completely new package management utility. Others, like Debian, now discourage the use of some established utilities (apt-get) in favour of better alternatives (aptitude) for system upgrades. All these changes make it hard to keep up with different distributions and their package management tools.
So as a feature article of this week's DistroWatch Weekly, we decided to do something different: create a package management cheatsheet that would list popular package management commands in Linux distributions. The first version of this is available in the tabular format below, but we suspect that this won't be the final one. As we receive feedback and suggestions to add tasks and corrections to possible errors, we will expand the table, then convert it into one or two printable formats (e.g. OASIS OpenDocument spreadsheet and PDF), so that everybody can download it, print it out, and keep it handy for that next big distro switch.
So without further ado, here is the initial table listing a few popular package management tasks in Debian and Debian-based distributions (Ubuntu, Linux Mint, etc), openSUSE, Fedora and Fedora-based distributions (CentOS, Red Hat, etc), Mandriva, Slackware (using slackpkg, which is not part of a standard Slackware installation, but is available in the /extra repository), Arch Linux, rPath Linux and its derivatives, and Pardus Linux.
| Task |
apt Debian, Ubuntu |
zypp openSUSE |
yum Fedora, CentOS |
urpmi Mandriva |
| Install package |
apt-get install <pkg> |
zypper install <pkg> |
yum install <pkg> |
urpmi <pkg> |
| Remove package |
apt-get remove <pkg> |
zypper remove <pkg> |
yum erase <pkg> |
urpme <pkg> |
| Update package list |
apt-get update |
zypper refresh |
yum check-update |
urpmi.update -a |
| Update system |
apt-get upgrade |
zypper update |
yum update |
urpmi --auto-select |
| List repositories |
cat /etc/apt/sources.list |
zypper repos |
yum repolist |
urpmq --list-media |
| Add repository |
(edit /etc/apt/sources.list) |
zypper addrepo <path> <name> |
(add <repo> to /etc/yum.repos.d/) |
urpmi.addmedia <name> <path> |
| Remove repository |
(edit /etc/apt/sources.list) |
zypper removerepo <name> |
(remove <repo> from /etc/yum.repos.d/) |
urpmi.removemedia <media> |
| Search package |
apt-cache search <pkg> |
zypper search <pkg> |
yum search <pkg> |
urpmq <pkg> |
| List installed packages |
dpkg -l |
rpm -qa |
rpm -qa |
rpm -qa |
| Task |
slackpkg Slackware |
pacman Arch |
conary rPath, Foresight |
pisi Pardus |
| Install package |
slackpkg install <pkg> |
pacman -S <pkg> |
conary update <pkg> |
pisi install <pkg> |
| Remove package |
slackpkg remove <pkg> |
pacman -R <pkg> |
conary erase <pkg> |
pisi remove <pkg> |
| Update package list |
slackpkg update |
pacman -Sy |
|
pisi update-repo |
| Update system |
slackpkg upgrade-all |
pacman -Su |
conary updateall |
pisi upgrade |
| List repositories |
cat /etc/slackpkg/mirrors |
cat /etc/pacman.conf |
|
pisi list-repo |
| Add repository |
(edit /etc/slackpkg/mirrors) |
(edit /etc/pacman.conf) |
|
pisi add-repo <name> <path> |
| Remove repository |
(edit /etc/slackpkg/mirrors) |
(edit /etc/pacman.conf) |
|
pisi remove-repo <name> |
| Search package |
-- |
pacman -Ss <pkg> |
conary query <pkg> |
pisi search <pkg> |
| List installed packages |
ls /var/log/packages/ |
pacman -Qii |
conary query |
pisi list-installed |
|
Now, it's your turn. What other package management tasks do you frequently perform that you'd like to see added to the above table? What other distributions would you like to see included? Would you welcome an expansion to non-Linux operating systems, such as FreeBSD and OpenSolaris? Should we categorise the tasks for better usability? Have you spotted any errors? Or commands that have better alternatives? If so, please leave a comment in the discussion area below or send us an email (see the bottom of this page for the general DistroWatch email address).
|
| Miscellaneous News |
Testing OpenSolaris 2008.11, Fedora intrusion update, Ubuntu and kernel patches, netbook benchmark comparison, Gentoo decline
Besides the major Linux distributions and BSDs, another free operating system that is preparing for a new release later this year is OpenSolaris. Although its adoption levels seem low and reserved mostly for developers and technology enthusiasts, the project's inaugural release in May 2008 was reasonably well received, especially from the technological point of view. Now working towards its second official release in November this year, OpenSolaris has yet to publish a comprehensive list of features for its upcoming version 2008.11, but those readers who follow the very active OpenSolaris blogs can keep up-to-date with what's happening in the world of Sun's open source operating system. If you are interested in helping to test OpenSolaris 2008.11, you have two options. One of them is to keep the installed base system current with the available tools - just beware of the caveats. The second option is to download the most recent pre-release ISO image: "osol-0811-98 ISOs, the pre-release version of OpenSolaris 2008.11, based on Nevada build 98, are now available in two flavors: osol-0811-98.iso (747MB, supports primary languages and uses gzip compression) and osol-0811-98-global.iso (661MB, supports all languages and uses LZMA compression). Please verify the checksums." Happy testing!
Still on the subject of OpenSolaris, a web site called How Software is Built has published an interesting interview with Jim Grisanzio, a senior program manager, OpenSolaris infrastructure engineering team: "From the perspective of technical advantages, we got a lot of engineering credibility for Solaris 10. There was a big upgrade between 9 and 10, with things like DTrace, Zones, and ZFS. If you ask engineers and other technical people, they would point those things out as being competitive with Linux. In terms of OpenSolaris, those things get most of the attention. ZFS probably is the most important new technology on the whole project, from an open source perspective. It's a new file system, and it has also been ported over to Mac OS. I also just read recently that there's a port started for DTrace, over to Linux. These are the bits of technology where many people would say we have competitive advantage over Linux, although some engineers will argue against that. The Linux community has a vast community and developer base, and that's what we're trying to create. That's where they're mature and we're young."
* * * * *
Following some criticism of Red Hat for the way the company handled the the recent security breach of Fedora download servers, Paul Frields has published a Fedora intrusion update. In it, the Fedora project leader has promised a more detailed report once the investigation is completed: "As always, our team of system administrators makes incremental improvements constantly. Sometimes these improvements involve temporary outages, and such outages may occur in the future as part of normal operations. At this time, however, we believe Fedora's recovery efforts are complete. To reiterate our previous statement, we have not found any security vulnerabilities in any Fedora software as a result of our efforts. The security investigation into the intrusion is still in progress. When that investigation is completed, the Fedora Project's intention is to publish a more detailed report on the matter."
* * * * *
In the meantime, Ubuntu has gone through some rough times of negative publicity during the week. First, it was Novell's Greg Kroah-Hartman, a kernel hacker, who, in a keynote speech at last week's Linux Plumbers Conference, accused Canonical of not contributing enough to the Linux kernel: "In the past three years, from the 2.6.15 kernel to 2.6.27-rc6, Canonical has had 100 patches in the Linux kernel, which means they did 0.10068% of all of the kernel development for the past 3 years. They are ranked 79th of all companies doing kernel development." As expected, these accusations were quickly met by strong objections from the Ubuntu developer community. Matt Zimmerman in Greg Kroah-Hartman's Linux Ecosystem: "Greg considers the 'Linux ecosystem' to be GCC, Binutils, the Linux kernel, X.Org, and a handful of other projects. He disregards most of the desktop stack (including GNOME and KDE), all desktop and server applications, and most anything else that is recognizable to an end user as 'Linux'."
Next, it was the "quiet" addition of licensed media codecs and DVD playback software to the Ubuntu Store, only announced in a Canonical blog, rather than in a formal press release. But as some observed, this decision will almost certainly irk some Ubuntu fans: "It is hard to imagine that Canonical won't get a certain amount of grief for this offering, and that doesn't seem right. On the one hand, they aren't able to legally redistribute these codecs. So instead, they've opted to open an area in the storefront that makes downloading and installing purchased codecs work similarly to installing with Synaptic. ... The bittersweetness? Some will see this as another example of how proprietary formats are hopelessly broken, defy the law, and use the freely available but legally questionable codecs without a word. There are others who will be reminded (or discover for the first time) that the laws governing technology and intellectual property need revision, and rather than circumventing the law, will push for change."
* * * * *
The Linux netbook market has been growing steadily over the last few months as new models appear almost weekly (see this announcement about the new Toshiba NB100, shipping with Ubuntu 8.04). But as the choice of hardware grows, so does the number of available Linux distributions for these products (see this announcement about the new Mandriva Mini). So which distribution offers the best performance on these ultra-portable laptops? Phoronix has done a benchmark comparison of four distributions - Xandros Desktop for Eee PC, Fedora 10 Alpha, Ubuntu 8.10 Alpha 4 and Mandriva Linux 2009 Beta 2 - running on ASUS Eee PC 901. The conclusions? "In some tests the stock Eee Linux distribution was running quite slow and placing far behind Mandriva, Fedora, and Ubuntu, but when it came to the solid-state disk performance Xandros had the lead. Overall though, it appears that Ubuntu 8.10 Alpha 4 had delivered the best performance on the Intel Atom architecture. These are just our initial figures though. We are still running some additional benchmarks on the Eee PC 901 to look for the best Linux OS, but it looks like it is a toss-up right now depending upon how the system will be used. With Ubuntu 8.10 now using the Linux 2.6.27 kernel, the results of the final release will certainly be different."
* * * * *
Even the staunchest supporters of Gentoo Linux have to admit that the largest source-based distribution is nowhere near its peak in terms of user mindshare and media attention that it once was. In this respect, DistroWatch has been often accused of being unfairly critical of the project's management structures. But as others have also observed, the current decline of Gentoo Linux is hard to deny when presented with facts: "2008 (to date) - new developers: 19, developers retired: 127, net: -108." Also, the absence of KDE 4.1 from the software repository of what was once the most cutting-edge distribution (remember when you could install the latest KDE from CVS with a single command?), is another worrying factor: "KDE 4.1 still hasn't made it into portage. This was released at the end of July but its admission to Portage has been blocked by a lack of coordination and not a small amount of infighting, as evidenced by the combativeness in this bug report." At the end of the day, the current problems at Gentoo (at least for those who aren't in blind denial) are the result of the sorry state of its project management and leadership: "The most interesting thing about the current state of Gentoo is that it's a very clear (and well documented) example of how the success of a large open source project, regardless of the personal devotion of its user base, is tightly coupled to the strength of its leadership."
|
| Released Last Week |
Pardus Linux 2008.1
Ekin Meroğlu has announced the release of Pardus Linux 2008.1: "We're happy to announce Pardus Linux 2008.1 'Hyaena Hyaena', the first update release in Pardus 2008 series. It contains all the bug fixes, enhancements and new feature additions since the release of Pardus Linux 2008. Features: new and improved Network Manager with Ad-Hoc and 802.1x wireless support; two live CD variants with KDE 3 and KDE 4; support for Swedish; international installation CD with support for 11 languages; updated applications - KDE 3.5.10, Linux kernel 2.6.25.16 with improved hardware support, Mozilla Firefox 3.0.1, OpenOffice.org 2.4.1, KDE 4.1.1; hundreds of free software applications with fewer bugs and updated to the most recent versions...." Read the release announcement and release notes for more details.
PC-BSD 7.0
Kris Moore has announced the release of PC-BSD 7.0, a user-friendly, desktop operating system based on FreeBSD: "The PC-BSD team is pleased to announce PC-BSD version 7.0 'Fibonacci'. This release marks a milestone for PC-BSD, by moving to the latest FreeBSD 7-STABLE and also incorporating the KDE 4.1.1 desktop. Users will immediately notice the improved visual interface that KDE 4.1.1 offers, as well as a large improvement in hardware support and speed from the update to FreeBSD 7-STABLE. PC-BSD 7.0 also offers a large and growing library of self-contained PBI files available for installation, and improvements for other locales on our PBI Directory web site. This release also offers new methods of installation, including a DVD, USB and Internet / network install." See the release announcement, release notes and changelog for further information.

PC-BSD 7.0 - a cutting-edge desktop distribution based on the latest FreeBSD (full image size: 410kB, screen resolution: 1280x1024 pixels)
Foresight Linux 1.0 "Kids"
Ken VanDine has announced the release of Foresight Linux 1.0 "Kid's" edition: "Foresight Kid's edition is now available for your kid's enjoyment. The Kid's edition features a number of education and entertainment applications, a customized GNOME desktop environment, and an innovative set of excellent, up-to-date software applications. The Foresight Kid's edition features the following applications: Tux Paint, an award-winning drawing program for children ages 3 - 12; Tux Typing, and educational typing tutor for children; GCompris, an educational software suite that includes many different activities for children ages 2 - 10; Tux, of Math Command, an education arcade game starring Tux based on the class game 'Missile Command'; games - SuperTux, SuperTuxKart, FooBilliard, GNU Chess, Secret Maryo Chronicles...." Read the release announcement and release notes for further information.

Foresight Linux 1.0 "Kid's" edition - a distribution designed for children aged 3 - 12 (full image size: 618kB, screen resolution: 1280x1024 pixels)
PLD Live 2008.09
PLD Live is a live CD edition of PLD Linux, an independent distribution aimed at more advanced users and system administrators. Version 2008.09, announced yesterday, boots into a GNOME 2.22 desktop environment and provides a graphical system installer: "PLD Live is a live CD project to let you test PLD Linux without installing it to a hard drive. It is also useful for rescuing damaged systems. Features: based on Th (3.0) release; powered by GNOME 2.22; automatic handling of both wired and wireless networks; graphical installation wizard to put PLD on a hard disk (experimental); fast boot time; enabled for updates. The most important software: kernel: 2.6.25.16, GNOME: 2.22.3, NetworkManager: 0.7svn." Visit the sub-project's home page to release announcement.

PLD Live 2008.09 - a live CD edition of PLD designed for rescue and system administration tasks (full image size: 48kB, screen resolution: 1280x1024 pixels)
* * * * *
Development, unannounced and minor bug-fix releases
|
| Upcoming Releases and Announcements |
|
Summary of expected upcoming releases
|
| DistroWatch.com News |
New distributions added to database
- Syllable Server. Syllable Server is a small, efficient server operating system built to be similar to Syllable Desktop, but on the Linux kernel. Due to its light weight, Syllable Server is exceptionally suitable as a virtualisation platform for running other operating systems (or multiple instances of itself), using the QEMU emulator.
* * * * *
New distributions added to waiting list
* * * * *
DistroWatch database summary
* * * * *
And this concludes the latest issue of DistroWatch Weekly. The next instalment will be published on Monday, 29 September 2008. Until next week,
Ladislav Bodnar
|
|
|
| Archives |
| • Issue 329 (2009-11-16): Look at openSUSE 11.2, Fedora 12 goes gold, five years of pfSense |
| • Issue 328 (2009-11-09): Look at Mandriva 2010, Ubuntu media coverage, real-time kernels |
| • Issue 327 (2009-11-02): Overview of Ubuntu variants, upgrading openSUSE and Mandriva development builds |
| • Issue 326 (2009-10-26): Review of GNOME SlackBuild, Ubuntu and Mandriva nearing release, Funtoo "fork" |
| • Issue 325 (2009-10-19): Look at iMagic OS 2009.9, Arch Linux Handbook, Linux Mint 8 Update |
| • Issue 324 (2009-10-12): Sabayon Linux 5.0 review, Debian develops kFreeBSD port, Mandriva re-introduces itself |
| • Issue 323 (2009-10-05): Slackware 13.0 review, updating openSUSE with "zypper", Red Hat vs software patents |
| • Issue 322 (2009-09-28): First look at HP Mini 110, netbook news roundup, Slackware package management |
| • Issue 321 (2009-09-21): Security basics - authentication, openSLES, Ubuntu "Lucid Lynx", Linux Mint plans |
| • Issue 320 (2009-09-14): Distro Odyssey part 2 - Arch Linux, Solaris and OpenSolaris updates, Ubuntu artwork |
| • Issue 319 (2009-09-07): Look at xPUD, Lubuntu test images, DesktopBSD 1.7, RHEL 5.4 features |
| • Issue 318 (2009-08-31): Look at Colibri, Slackware 13.0 features, ClarkConnect becomes ClearOS |
| • Issue 317 (2009-08-24): Look at Puppy Linux 4.2.1, openSUSE and KDE, Mandriva and Sabayon updates |
| • Issue 316 (2009-08-17): Status of Intel video drivers, running "Rawhide", Ubuntu Netbook Remix interface update |
| • Issue 315 (2009-08-10): Look at Pardus 2009, KDE 4.3 in distributions, Mandriva "Cooker" and Sabayon 5.0 updates |
| • Issue 314 (2009-08-03): Look at Slax 6.1.1 "Core", open letter to CentOS co-founder, Debian's time-based freezes |
| • Issue 313 (2009-07-27): Distro odyssey, ten years of Gentoo, paper on FreeBSD engineering |
| • Issue 312 (2009-07-20): Installing CentOS 5.3 on a Netbook, Mandriva products, distro and upstream relationship |
| • Issue 311 (2009-07-13): Great Linux distributions that did not survive, Google announces Chrome OS |
| • Issue 310 (2009-07-06): CDLinux 0.9.2 Community Edition, Debian and Ubuntu say Mono is no threat, "Fit and Finish" |
| • Issue 309 (2009-06-29): LinuxTag 2009, kernel 2.6.30 for "Lenny", Slackware user guide |
| • Issue 308 (2009-06-22): Interview with Robert Lange, VectorLinux, One Hundred Paper Cuts |
| • Issue 307 (2009-06-15): Fedora 11 review, custom FreeBSD images, sidux and non-free firmware |
| • Issue 306 (2009-06-08): Look at Absolute Linux, Fedora prepares "Leonidas", Mandriva Community Ideas |
| • Issue 305 (2009-06-01): Look at Debris Linux, running openSUSE "Factory", OpenSolaris 2009.06, Ubuntu User magazine |
| • Issue 304 (2009-05-25): First look at Mandriva 2009.1, Slackware64, Archlive-iso, Mobile Linux round-up |
| • Issue 303 (2009-05-18): Running Slackware "Current", Fedora 12 features, Ubuntu One, Debian "Lenny" with KDE 4 |
| • Issue 302 (2009-05-11): Future of Moblin, running "Cooker", Debian and eglibc, Slackware's new TXZ packages |
| • Issue 301 (2009-05-04): Minimal Xubuntu, Mandriva updates, BSD release galore, Arch Linux magazine |
| • Issue 300 (2009-04-27): Xubuntu 9.04 vs Debian 5.0 Xfce, Jaunty Jackalope, Fedora 10 re-spins |
| • Issue 299 (2009-04-20): Central bug tracker, reverting to older Ubuntu kernel, ShipIt 9.04, Easy Peasy updates |
| • Issue 298 (2009-04-13): First look at PC-BSD 7.1, Novell's Online Build Service, FreeBSD's 20,00 ports, Ubunchu! |
| • Issue 297 (2009-04-06): Review of Parted Magic 4.0, Linux Foundation to control Moblin, GNOME 3.0 |
| • Issue 296 (2009-03-30): First look at Tiny Core Linux 1.2, PCLinuxOS troubles, Fedora tests Nouveau |
| • Issue 295 (2009-03-23): Interview with Robert Shingledecker, Tiny Core Linux, Ubuntu 9.04 beta freeze |
| • Issue 294 (2009-03-16): Installing Linux with LVM, KDE 4 in Slackware current, ext4 and data loss |
| • Issue 293 (2009-03-09): Introduction to LVM, openSUSE and Ubuntu release plans, ULTILEX |
| • Issue 292 (2009-03-02): First look at SimplyMEPIS 8.0, openSUSE system upgrades with Zypper, Red Hat and the desktop |
| • Issue 291 (2009-02-23): Minimalist openSUSE 11.1, Ubuntu "Karmic Koala", VirtualBSD, Linux companies in recession |
| • Issue 290 (2009-02-16): Look at Debian "Lenny" live and netinst CDs, OpenSolaris Bible, Nova |
| • Issue 289 (2009-02-09): First look at Moblin, from Puppy to Woof, Mandriva Assembly, SlackFind.net |
| • Issue 288 (2009-02-02): Interview with Linus Torvalds, KDE 4.2 in Fedora, Easy Peasy and Moblin |
| • Issue 287 (2009-01-26): Linux.conf.au 2009, ext4 in Fedora and Ubuntu, ex-Mandriva developers move to Red Hat |
| • Issue 286 (2009-01-19): Arch Linux in review, Debian on Android, mini distros |
| • Issue 285 (2009-01-12): Interview with Paul Sherman, Absolute Linux, new Debian and openSUSE CD images |
| • Issue 284 (2009-01-05): Linux and distributions through years, 2008 PHR stats, Debian clears Lenny firmware holdup |
| • Issue 283 (2008-12-22): First look at openSUSE 11.1, firmware in Debian 5.0, Gentoo weekly snapshots |
| • Issue 282 (2008-12-15): Custom Ubuntu install for a lean system, openSUSE 11.1 sneak peeks |
| • Issue 281 (2008-12-08): First look at VectorLinux 6.0 beta 2, OpenSolaris 2008.11, DragonFly BSD overview |
| • Issue 280 (2008-12-01): Linux and economic crisis, VectorLinux graphical installer, Glendix |
| • Issue 279 (2008-11-24): Novell vs SCO, Linux netbooks in stores, Fedora user count |
| • Issue 278 (2008-11-17): DWW - end of an era |
| • Issue 277 (2008-11-03): Overview of Ubuntu editions, Plymouth, NetBSD 5.0 features |
| • Issue 276 (2008-10-27): KDE 3 vs KDE 4, Intrepid Ibex, Fedora 10 features |
| • Issue 275 (2008-10-20): Package management cheatsheet, Debian Lenny on Blu-ray, KPackageKit |
| • List of all DWW issues |
|