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

Optimize your Linux rig for top-notch writing

I'm a big fan of Scott Nesbitt's writing, which has a technological bent, but is usually more about working effectively, rather than how tools can make you effective, which is a key distinction. Scott's setup reflects his focus on production rather than tweaking. He has his work tools and everything else is pretty much white noise—which is why LXDE/Lubuntu probably makes a lot of sense for his workflow. It's simple and it stays out of his way. Scott also gets bonus points for moving his family to Linux. That's a tough move, but given that his wife stole his ZaReason laptop, the conversion seems to have taken. Read more

IBM meets demand for Linux with training resources

IBM HAS REAFFIRMED its commitment to Linux with the announcement of an extension to Power Systems Linux. Following on from the company's $1bn financial commitment to the Linux operating system last year, IBM will add Power Systems Linux to the Power Systems services already available for AIX and IBM iSeries servers at 54 IBM Innovation Centres and Client Centres. This will enable Linux systems to better use IBM's Power8 parallel processing and advanced virtualisation. Read more

How Red Hat can catch the developer train

Outside the operating system, according to AngelList data compiled by Leo Polovets, these developers go with MySQL, MongoDB, or PostgreSQL for their database; Chef or Puppet for configuration; and ElasticSearch or Solr for search. None of this technology is developed by Red Hat. Yet all of this technology is what the next generation of developers is using to build modern applications. Given that developers are the new kingmakers, Red Hat needs to get out in front of the developer freight train if it wants to remain relevant for the next 20 years, much less the next two. Read more

Shortlist of open source software used at NASA lab

The offer was too good to be true. Three whole weeks at the NASA Glenn Research Center and an invitation to come back. I could scarcely believe it when I read the email. I immediately forwarded it to my parents with an addition of around 200 exclamation points. They were all for it, so I responded to my contact, Herb Schilling, with a resounding “YES!” Read more