During my 8 years of Linux on and off usage I have tried more distros than I have chocolate bars. Each one of my previous encounters meant that I had to spend at least 2 days configuring before I have a desktop that I was somewhat comfortable with. With Ubuntu Feisty Fawn’s latest test beta –for the first time ever– this was not the case. I was up and running with all the niceties I wanted within 2 hours.

Read More

Gentoo Portage secrets

March 7, 2007

While searching for something special on internet , my eyes got captured on a post in Linux.com.And that is “Gentoo Portage secrets”.

Gentoo Linux is perhaps the most-used source-based Linux distribution. One secret to its success is the powerful and handy Portage package management system. While Gentoo comes with extensive documentation covering most aspects of using Portage, the techniques described in Gentoo’s handbook and other documentation are not always the most effective ones. Here are some insider tips that can greatly increase your productivity.

Search faster 

Before you install a package, you usually look for it via Portage’s search capabilities. Portage’s emerge utility has –search and –searchdesc options, but using them is not enjoyable, because they take a long time to run. That’s why we’ve seen the emergence of third-party search front ends for Portage, such as esearch and eix. Their common idea is to use their own search indexes to speed up searches. When using either utility, you have to rebuild the index after updating the Portage tree, and after installing and uninstalling software. Of the two, eix works faster and has more capabilities.

Optimizing traffic usage 

Updating your software can take a lot of network bandwidth. There are tools that help you decrease Portage’s appetite. The most effective and well-known such tool is Deltup, which allows you to download deltas, or the differences between new and old versions of package source. That approach can save you up to 90% of the download size. The procedure for installing deltup is described in the Gentoo wiki.The Gentoo wiki provides more tips for users with poor Internet connections.

Faster package compilation 

Every time you install or update some software under Gentoo, you need to wait until its source is compiled. Portage supports a set of tools that try to decrease the compiling time of your packages.One of the ways to speed up compilation on a slow machine is to distribute the compiling task to another host. This is what Distcc aims to do. You can even use Windows boxes to assist in the task.
Managing logs and configuration files

Another new feature in Portage 2.1 is the new logging framework. Many packages show notices while you emerge them, but you may not see them if you do not watch the emerge process. Now you just need to turn on elog, by adding these lines to /etc/make.conf:

# This sets what to log
PORTAGE_ELOG_CLASSES=”warn error log”
# And this is how to do it
and creating the /var/log/portage/elog directory. Now, each package’s emerge log will be saved in a separate file in the specified directory. You can find more info on configuring elog by inspecting the /etc/make.conf.example file. There are already GTK and QT graphical front ends for viewing these logs.

A review of the 10 major Linux distributions ever made;Debian,Slackware,Fedora,Mandriva,Suse,Ubuntu,Knoppix,Gentoo,Mepis & Xandros

The Microsoft Windows operating system is developed and released by a single company. It comes with a minimal set of applications (a calculator, a few games, some networking tools, an Internet browser.. etc). Other software can be obtained by users from various sources and installed on the operating system.

GNU/Linux is different. A GNU/Linux operating system is made of a Linux kernel, a set of GNU tools, an installation program, a package management system and a lot of other software components. Because all these components are free to use and to distribute, anybody can assemble and configure them according to their needs and create their very own GNU/Linux operating system. Since 1993, a lot of people and companies have been distributing Linux operating systems. These distributions made it easy for people to get and to install a working GNU/Linux system on their personal computer.

continue reading…