Archive for the ‘Linux’ Category

No sound with pidgin, etc. on kubuntu

Thursday, April 10th, 2008

Problem: error message

play soxio: Failed reading `test.wav': unknown file type `auto'

Solution:

$ sudo apt-get install libsox-fmt-base libsox-fmt-ao

Installs everything you need just for the wave (.wav) format, or use

$ sudo apt-get install libsox-fmt-all

to install all available formats for sox and the play command.

Unix Toolbox

Wednesday, March 26th, 2008

Highly recommended.

Sections:

  • System
  • Processes
  • File System
  • Network
  • SSH SCP
  • VPN with SSH
  • RSYNC
  • SUDO
  • Encrypt Files; Encrypt Partitions
  • SSL Certificates
  • CVS; SVN
  • Useful Commands
  • Install Software
  • Convert Media
  • Printing
  • Databases
  • Disk Quota
  • Shells
  • Scripting
  • Programming
  • Online Help

NFS on Ubuntu Hardy Heron

Wednesday, March 5th, 2008

For some reason, my fresh Ubuntu install didn’t include all the NFS bits… had to do this:

# apt-get install nfs-common portmap
# /etc/init.d/portmap restart
# /etc/init.d/nfs-common restart

and then I was able to:

# mount 192.168.0.50:/myshare /mnt/myshare

Loading 32-bit libraries on 64-bit Ubuntu

Wednesday, March 5th, 2008

OK so I tried to run simutrans on my new 64-bit Ubuntu box… and got this:

$ ./sim99-18-1671
./sim99-18-1671: error while loading shared libraries: libSDL-1.2.so.0: cannot open shared object file: No such file or directory

If you look at which libraries are actually being loaded, this way:

$ ldd ./sim99-18-1671
linux-gate.so.1 =>  (0xffffe000)
libz.so.1 => /usr/lib32/libz.so.1 (0xf7fac000)
libSDL-1.2.so.0 => not found
libpthread.so.0 => /lib32/libpthread.so.0 (0xf7f93000)
libSDL_mixer-1.2.so.0 => not found
libstdc++.so.6 => not found
libm.so.6 => /lib32/libm.so.6 (0xf7f6e000)
libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7f63000)
libc.so.6 => /lib32/libc.so.6 (0xf7e13000)
/lib/ld-linux.so.2 (0xf7fd1000)

…you’ll see that several libraries aren’t found, and that the other libraries that are found are 32-bit (in /lib32)… not the system standard 64-bit (in /lib).

To overcome this, we’ll have to:

$ sudo apt-get install apt-file
$ sudo apt-file update
$ sudo apt-file –architecture i386 search libSDL-1.2.so.0
ia32-libs: /usr/lib32/libSDL-1.2.so.0
[...more listing here...]
$ sudo apt-get install ia32-libs

and likewise for any other missing 32-bit libraries.

Thoughts on Linux Distros

Wednesday, December 26th, 2007

Current preferences:

  • Server: CentOS. A completely free rebuild of RedHat Enterprise Linux. A good, stable, usable system perfect for a server. Doesn’t have all the latest apps like Firefox 3 or Gimp 2.4, though.
  • Desktop: KUbuntu. Built on Debian goodness, with KDE as the environment. Easy to add all the latest bits, with plenty of repositories even for “non-free” components like mp3 players.

Lenovo to offer pre-installed Linux on Thinkpads

Monday, August 6th, 2007

ThinkPad customers will soon have a new configuration option, as Lenovo and Novell have announced that the popular laptops will begin shipping with SUSE Linux Enterprise Desktop 10 (SLED) preinstalled. Although the ThinkPad has been certified for Linux for some time, this marks the first time Lenovo will ship a laptop with Linux preinstalled—while providing both hardware and OS support. Novell will provide software updates directly to ThinkPad owners, however…

Rest of the story on Ars Technica

Free Software Analogies

Monday, July 30th, 2007

Two key computer analogies

Using a GUI  : Learning command-line :: Pointing at a phrasebook : Learning the language.

Proprietary Software : Free Software :: Alchemy : Science

Intuit announces Quickbooks support for Linux Servers

Wednesday, June 13th, 2007

From their press release –

SAN DIEGO, Calif. – June 13, 2007 - Answering the call for an open source option from Information Technology professionals, Intuit Inc. (Nasdaq: INTU) announced today that businesses will soon be able to operate QuickBooks Enterprise Solutions® from Linux servers. It is the first time the company has made one of its products available to users of open source systems.

Rest of the story

Federal Tax Return program for Linux

Sunday, March 11th, 2007

“TaxGeek is a Mozilla-based US income tax program that includes Form 1040, Schedules A, B, C, C-EZ, D, E, K-1 (1065), SE (Short and Long), W2, Form 8880, Form 8863, Form 3903, and Form 2441 with access to most other files as PDFs. It is also intended to be extensible so that developers can easily add other forms that are needed without affecting the existing file formats and stored data.”

Tax Geek on Sourceforge