Debian

Posted by stylesen

'sloccount' is an excellent program to count the physical source lines of code (SLOC).

Available via 'sudo apt-get install sloccount' in all Debian based distros :)

Posted by stylesen

Thanks to krish (mukt.in) who gave me a hint on playing dos games inside a GNU/Linux box. Now am able to play Dangerous Dave in my Debian Etch box with the help of 'dosbox'.

I ve played this game in my 6th standard in the school computer labs. This was the first game which attracted me, and still today am very fond of this game. Some of the other games I would love to play are Prince of Persia, Pacman. But I don't want to use 'Doze' for playing these games. 'dosbox' is the best alternative, to play these games I guess.

See a screenshot in the attachment.

Posted by stylesen
As said by 'peterS' (Peter Samuelson) in #svn-dev irc list to 'nemo'
sudo apt-get install build-essential devscripts fakeroot;
sudo apt-get build-dep subversion;
mkdir /tmp/foo; cd /tmp/foo;
apt-get source subversion; cd subversion-*/;
DEB_BUILD_OPTIONS=nostrip,debug debuild -uc -b
Posted by stylesen
While we build neon 0.27.2 in Debian Etch with ssl support we get the following error message and the configure script fails.
checking for library containing RSA_new... not found
configure: error: could not find library containing RSA_new
In order to overcome this install the following:
$ sudo apt-get install libssl-dev
The above will install all the development headers of ssl and we can use "--with-ssl" in the configure script to build neon. Some of the packages needed to build neon in Debian etch are:
$ sudo apt-get install build-essential libxml2-dev libssl-dev zlib1g-dev
  
Posted by stylesen
In order to install "lsdiff" command in Debian/Ubuntu GNU/Linux you need to install the patchutils package. You can do:
$ sudo apt-get install patchutils
"lsdiff" is a command to see which files are modified by a patch.
Posted by stylesen

I found out that ntfs-3g package is not present in Debian Etch repository and is available in the testing repository. So I decided to come up with a deb file for ntfs-3g so that we can install it in Debian Etch.

ntfs-3g_1.710-1_i386.deb
libntfs-3g5_1.710-1_i386.deb

Steps to install:
1) Download the above .deb (debian package) files.

2) Run the following command (as root) in the directory where you downloaded the .deb files:

# dpkg -i ntfs-3g_1.710-1_i386.deb libntfs-3g5_1.710-1_i386.deb

Posted by stylesen
Recently my uncle bought a Nokia N70 music edition phone and wanted to transfer mp3, pictures, etc. I had a nice time playing around with this nokia N70 mobile, last weekend. As a GNU/Linux freak, I have only Debian running in my laptop and feared that these Nokia guys will demand to install Nokia PC Suite software in order to do any kind of transfer to the Nokia phone. I had a really tough time. Initially I thought as soon as I connect the USB data cable the of the Nokia mobile it will be identified as a memory stick device in GNU/Linux as my Sony Ericsson W700i does, which will enable me to transfer files as I do in a USB memory device, but that was not the case. I could sense that the device /dev/ttyACM0 is somehow identified by GNU/Linux but it is not getting mounted. I tried mounting it with "$ sudo mount -t iso9660 /dev/ttyACM0 /mnt" but in vain, my Debian box complained saying /dev/ttyACM0 was not a block device.