Tracy Phillips

Archive for the ‘ubuntu’ tag

How to install Java on Ubuntu Fiesty Fawn.

leave a comment

Java 6 is now available on Ubuntu 7.04 (Feisty Fawn) from the multiverse repositories. Follow these simple steps and you will be up and running with Java in not time.

  1. First, install Sun’s Java and friends:
    [server][user][~]$ sudo aptitude install sun-java6-jdk sun-java6-jre sun-java6-plug-in sun-java6-fonts
  2. Make Java 6 the system default:
    [server][user][~]$ sudo update-alternatives --config java
  3. Edit /etc/jvm. The first entry should be/point to your JDK: /usr/lib/jvm/java-6-sun

Now you are all set and can install all your fun java apps :)

Written by Tracy

May 3rd, 2007 at 11:49 am

Posted in Linux

Tagged with ,

I may switch from aptitude to apt-get

leave a comment

Some of you may know that I am an Ubuntu fanatic. Why? It just works. I have used Linux since around 1994 and I used Slackware at the time… which involved downloading a bazillion 1.44MB floppies images then using rawrite to write the to blank floppies… boy was that a drag. Down through the “ages”, I went from some distro’s that I can’t even remember the name of, then Redhat, then Mandrake, and the list goes on. Redhat based distro’s I very much dislike because of “RPM Hell” (and if you do not know what that means, then you haven’t used the distro long enough yet). However, yum has helped a great deal in that area.

Anyway… I am way off subject. I have been using aptitude for quite some time as a replacement for apt-get. The reason being is that it keeps track of dependencies and deleting packages that were once installed as dependencies but are no longer required.

I have learned through “my sources” since Edgy Eft (Ubuntu 6.10) there is a new function that allows you to remove unused dependencies when removing your application.

[server][user][~]$ sudo apt-get autoremove myapp

That should remove all dependencies that were installed with the application but are no longer dependencies of any other application. I haven’t experimented with this yet, but it sure looks good on the surface.

Pretty spiffy stuff these debian folk come up with.

Written by Tracy

April 16th, 2007 at 11:52 am

Posted in Linux

Tagged with ,

How to adjust the audio encoder settings in Ubuntu

leave a comment

Lately, I have been using Ubuntu and started encoding some music files using Sound Juicer and Rhythmbox. The default setting for the encoding is .5 and I wanted it to be around .6 for better sound quality of the encoded files.

I thought this information would be helpful to those looking to do the same thing:

To change the system defaults for audio, press < Alt > + F2 and type in ‘gnome-audio-profiles-properties’ in the dialog box that comes up.

From here can change the settings to your liking. The default is to use Ogg for the encoding, which is what i wanted to keep anyway.

Just to give you an idea on ogg’s quality settings versus mp3’s bitrate encoding, this will give you something to go by:

q -2 = 32 kbps (in aoTuV beta 4 and above)
q -1 = 45 kbps
q 0 = 64 kbps
q 1 = 80 kbps
q 2 = 96 kbps
q 3 = 112 kbps
q 4 = 128 kbps
q 5 = 160 kbps
q 6 = 192 kbps
q 7 = 224 kbps

Written by Tracy

March 30th, 2007 at 11:54 am

Posted in Linux

Tagged with ,