Language Selection

English French German Italian Portuguese Spanish

ubuntu vs gentoo: survival command comparison

Filed under
Gentoo
Ubuntu

In this article we are going to compare some of the most common commands used to manage Ubuntu and Gentoo Linux. Ubuntu and Gentoo are two completely different distributions, but some aspects are comparable, like operations with the packet manager they have: Ubuntu has dpkg, Gentoo has Portage, but on both the systems you’ll want to install or remove some software.

Packet Management Systems
You should already know what a package management system is: if you don’t, go read it. Some common task you will do with a packet manager are:

updating the list of available packets
installing a packet
removing a packet
searching for a packet
updating all the system at once
house keeping

Some of these tasks are comparable 1:1 from Ubuntu to Gentoo, others need some words to be spent on them.

On Ubuntu the packet manager is aptitude and the packets are called debs. Binary packets are ready for use and this is the great reason why installing a Debian based system will require minutes, not hours. You can also use some specific tool, like apt-build for installing packages, it will automatically fetch the source package of the package maintainer and compile it. You can also get the source package, unpack it, patch it, reconfigure it, and remake a new .deb binary file to share to the world.

On Gentoo the packet manager is “emerge” and the packets are called “ebuilds”.

rest here




More in Tux Machines

today's howtos

A tour of Google's 2016 open source releases

Open source software enables Google to build things quickly and efficiently without reinventing the wheel, allowing us to focus on solving new problems. We stand on the shoulders of giants, and we know it. This is why we support open source and make it easy for Googlers to release the projects they're working on internally as open source. We've released more than 20-million lines of open source code to date, including projects such as Android, Angular, Chromium, Kubernetes, and TensorFlow. Our releases also include many projects you may not be familiar with, such as Cartographer, Omnitone, and Yeoman. Read more

Viewing Linux Logs from the Command Line

At some point in your career as a Linux administrator, you are going to have to view log files. After all, they are there for one very important reason...to help you troubleshoot an issue. In fact, every seasoned administrator will immediately tell you that the first thing to be done, when a problem arises, is to view the logs. And there are plenty of logs to be found: logs for the system, logs for the kernel, for package managers, for Xorg, for the boot process, for Apache, for MySQL… For nearly anything you can think of, there is a log file. Read more

At Long Last, Linux Gets Dynamic Tracing

When the Linux kernel version 4.9 will be released next week, it will come with the last pieces needed to offer to some long-awaited dynamic thread-tracing capabilities. As the keepers of monitoring and debugging software start using these new kernel calls, some of which have been added to the Linux kernel over the last two years, they will be able to offer much more nuanced, and easier to deploy, system performance tools, noted Brendan Gregg, a Netflix performance systems engineer and author of DTrace Tools, in a presentation at the USENIX LISA 2016 conference, taking place this week in Boston. Read more