Debian Linux
Installing and uninstalling .deb package
Submitted by ggarron on Sat, 07/12/2008 - 14:05.Debian uses .deb binary packages and you manually install and uninstall them using dpkg tool.
dpkg has lots of options but maybe the most important or used ones are:
- -i
- Installs and configures a package
- -r
- Removes the package but keeps the configuration files on your systems, thus you may reinstall it later and does not need to configure it again
- -p
- Purges a package, meaning it will remove the package and also all configuration files
How to use it
How to: Find the fastest apt mirror server
Submitted by ggarron on Wed, 05/14/2008 - 20:51.If you want to use the fastest mirror to download the .deb files you may need to upgrade or update your Debian machines, you have to remember that not always your nearest server is the fastest one, and that could be because not only the distance the server is from you but also the network congestion is a factor when talking about network speed.
For instance, your ISP may have a direct satellite connection to another country, and thus your nearest server should be in that country, to avoid you the hassle to get that info, Debian give you some tools, I will touch two of them here.
How to: Install a Debian/Ubuntu package (.deb) cache server - apt-cacher
Submitted by ggarron on Wed, 05/14/2008 - 14:36.If you have more than one PC using Debian or Ubuntu, you know that upgrading them makes most of the time download the same files more than once, and that is not good for your bandwidth.
I usually forward my requests to my Squid (in my office) and to my Personal proxy Polipo at home, it works, but apt-cacher may be a better approach as the way it decides if a file stays or is erased from the cache is more appropriate for .deb package than in Squid or Polipo, as they are optimized for web surfing.
Well, after that introduction, lets go to the interesting part of the post.
Cut or trim mp3 files with Linux, mpgsplit and mp3cut
Submitted by ggarron on Mon, 05/12/2008 - 20:51.Some months ago I have posted an article showing how to use audacity to edit mp3 files with Linux, this time it is almost the same but we will use our Linux Operating system command line to do that.
We are going to see two different options:
1. mpgtx
To install this program under Debian
sudo aptitude install mpgtx
Now if you want to trim a mp3 file into 10 pieces just enter this command
mpgtx -10 input.mp3 -o output
The Debian menu system - How to create menus for TWM, OpenBox, FluxBox, etc
Submitted by ggarron on Sat, 05/10/2008 - 15:24.The Debian menu systems really saves you a lot of time, when you are trying to find a new installed software.
Yes you can run the applications from the command line, as I was doing these days on my Laptop with Fluxbox, but if you are using Debian or Ubuntu you can automatically create the menus using the Debian Menu System.
To install it (if you are using Debian might be installed)
sudo aptitude install menu
Runlevels - Debian (Ubuntu) / Fedora (CentOS)
Submitted by ggarron on Mon, 04/21/2008 - 19:49.There are six different runlevels in Linux, there could be more than six, but for compatibility reasons six are the default.
I have used RedHat and Debian based Linux, more specifically Fedora and Ubuntu and Debian itself, I have noticed that there is a difference in the runlevels on this different Linux distributions.
Well but first let's define the runlevels:
Runlevels in Linux are seven and they are:
- 0 = halt
- 1 = single user
- 2 = CLI, multi-user, no net
- 3 = CLI, multi-user, networked
- 4 = open
- 5 = GUI, multi-user, networked
- 6 = reboot
Security Support for Debian 3.1 to be terminated
Submitted by ggarron on Tue, 03/04/2008 - 12:22.After one year of the release of Debian Etch the Security support for Sarge is going to be terminated as previously announced, as informed three days ago in the Debian page.
Here is part of the announcement.
Enabling sound in my Light weight Debian - Fluxbox Laptop
Submitted by ggarron on Sun, 02/17/2008 - 20:09.Continuing with my Lightweight Debian configuration, today I wanted to add sound and music to it, I have 4 Gigs of MP3, and I needed to hear them.
checkinstall - trace your .tar.gz installations, and make/create your .deb or .rpm files
Submitted by ggarron on Fri, 02/08/2008 - 03:33.I always prefer to use the package manager instead of compiling from sources, mmh maybe compiling is more creates more efficient programs, than using binaries, but in that case, we better use Gentoo or Sabayon, but if we are using Debian/Ubuntu, or Centos/Fedora, I still think is better to use binaries.
Install skype on Debian or Ubuntu
Submitted by ggarron on Tue, 02/05/2008 - 11:30.If you want to keep always the latest available copy of Skype on your computer, not having to check the skype home page every time, you may want to use the skype repository for Debian, which also works for Ubuntu, Check this How to
First add this line to your /etc/apt/sources.list
deb http://download.skype.com/linux/repos/debian/ stable non-free
which can be done with this command:
sudo echo "deb http://download.skype.com/linux/repos/debian/ stable non-free" >> /etc/apt/sources.list
The perfect light Debian with Fluxbox
Submitted by ggarron on Sun, 02/03/2008 - 19:35.As I have mentioned in previous posts, I use to work on Desktops PCs, one in my office and one in my Home, I use my Laptop (an old IBM T30) only when I travel, and as I like to travel light, this also goes for my Laptop, so here I will show how do I configured my Laptop with Debian Lenny, and just the necesary software for my job while abroad.
First, I made a list of the necessary software:
- Firefox
- Thunderbird
- Word Processor
- Spread Sheet
- Skype
- MSN chat client
- MP3 player
- Vmware
This is for work and fun, now lets install first the system
Installing Microsoft True Type fonts on Linux
Submitted by ggarron on Mon, 12/31/2007 - 05:43.We the Linux users, are always interacting with Windows users, and one of the most difficult part of that interaction is the exchange of documents, that they create and edit mostly with Microsoft Office, and we use Open Office, and I think that even if they use OpenOffice, they will have access to the system's fonts, so, we need MS fonts installed in our Linux Operating System, in order to look at the documents in the same way they are looking at it.
Debian GNU/Linux 3.1 (Old-stable) updated
Submitted by ggarron on Sat, 12/29/2007 - 01:14.
This is really good about Debian, its 3.1 version (old Stable) is still getting updates, and maintained, which are great news for all those servers which are still using the old Sarge.
You can get the new updated CDs from here
Debian 4.0r2 Released
Submitted by ggarron on Fri, 12/28/2007 - 03:04.
Debian has released another security upgrade to the Etch which is now release 2 so Debian Etch is now Debian 4.0r2
These updates are basically security updates, and does not constitute another Debian version, all you need to do is:
apt-get update
apt-get dist-upgrade
aptoncd - Take your own repository with you on CD
Submitted by ggarron on Fri, 12/28/2007 - 02:40.
With AptOnCd you can backup and restore your .deb packages and store them in a CD or DVD or just in an ISO image in your USB Drive.
aptoncd, will help you still be able to use apt, aptitude or synaptic even, with no, or poor Internet conection.
Debian - Origin of the names -
Submitted by ggarron on Fri, 12/14/2007 - 15:07.
The Debian project founded on 1993 by Ian Murdock was named that way because of the three first letters of his wife's name Deborah and his own name Ian Debian. Later on 1996 Bruce Perens took the command of the project, it appears that he worked at that time in Pixar and since that year all the next Debian releases came with a code name of one character of Toy Story
Upgrade Debian Etch to Debian Lenny
Submitted by ggarron on Wed, 12/05/2007 - 14:35.Maybe a lot of people already know this, but I will write it down here, in case anyone forget it, or of somebody does not know already.
To upgrade the Linux Debian Stable Etch to testing Lenny, just need to follow these two steps.
How to install Looking Glass on Debian Etch
Submitted by ggarron on Sat, 11/03/2007 - 15:31.

I have wrote a long time ago about Looking Glass a Sun/Java 3D Desktop for Linux, yesterday I installed on my Debian Etch, using now my latest ATI drivers.
Installing it on a Debian Linux box is really easy, lets see how to do it.
Looking for dependencies
Submitted by ggarron on Sat, 10/06/2007 - 19:01.When you need to compile software on Linux you should take care of the dependencies, if they are not satisfied you will not be able to compile and use the software.
If you are doing this on Debian or Ubuntu, you may have apt-cache to help you.
Debian dummies proof
Submitted by ggarron on Sun, 09/02/2007 - 03:39.Today I was trying to be sure that if I upgraded my Debian Etch to Lenny I was going to be able to install OpenArena from repositories.
To do that I changed in my
/etc/apt/sources.list
all Etch words for Lenny.



