Monday, February 10, 2014

Installing MySQL Workbench 6.0.9 on Ubuntu 12.10

Installing MySQL Workbench from the Ubuntu Software Center of Ubuntu 12.10 (quantal) will give you a very old version 5.4.0 that's buggy - when you exit the app, it freezes. After a bit of trial and error, here's how I installed the latest (as of the date of this writing, at version 6.0.9) -
  1. Downloaded the deb file for Ubuntu 12.04 (as there was no deb package for 12.10) from the MySQL downloads page
  2. Downloaded the libctemplate0_0.97-1_i386.deb file. This package is a dependency of the MySQL Workbench 6, and isn't in Ubuntu 12.10 by default. I got this tip about the flaw from the good people of the MySQL Workbench community.
  3. Go in terminal and install the packages - 
sudo dpkg -i libctemplate0_0.97-1_i386.deb
sudo dpkg -i mysql-workbench-community-6.0.9-1ubu1204-i386.deb

The output goes:
Selecting previously unselected package mysql-workbench-community.
(Reading database ... 247682 files and directories currently installed.)
Unpacking mysql-workbench-community (from mysql-workbench-community-6.0.9-1ubu1204-i386.deb) ...
dpkg: dependency problems prevent configuration of mysql-workbench-community:
 mysql-workbench-community depends on libpcrecpp0 (>= 7.7); however:
  Package libpcrecpp0 is not installed.
 mysql-workbench-community depends on libtinyxml2.6.2; however:
  Package libtinyxml2.6.2 is not installed.
 mysql-workbench-community depends on python-paramiko; however:
  Package python-paramiko is not installed.
 mysql-workbench-community depends on python-pysqlite2; however:
  Package python-pysqlite2 is not installed.
So the final step to resolve and fix the unmet dependencies was to issue this command:
sudo apt-get -f install
It will appear under your applications Development menu as MySQL Workbench. Those Workbench guys have really improved the UI, totally new look :-)

Monday, March 25, 2013

Audacity, and avoiding the trap in NO MP3 support, in Fedora

There are 2 versions in Fedora for Audacity install - the free and non-free.

If you want to be able to import audio in the MP3 format (there may be other formats other than MP3 that are supported), make sure you select the non-free version of Audacity in the Software list, named:
audacity-freeworld-2.0.0-1.fc18

as opposed to the free version I installed named
audacity-2.0.2-2.fc18

Correcting my mistake of installing the free version of Audacity, I first suspected to add MP3 codecs support in my system doing this (gotten from a DuckDuckGo search):

su -
yum install gstreamer-plugins-bad gstreamer-plugins-ugly

Yes, it did find some packages to download, and yes, it did install.  This probably worked because I already installed the RPMFusion package beforehand (see my earlier post).
 
But it didn't fix the problem: going back to Audacity and attempting a MP3 import still produced the error message, "This version of Audacity was not compiled with mp3 support."

This fixed the problem, based on a tip found in the Fedora Forums.


su - 
yum remove audacity
yum install audacity-nonfree

Sunday, March 10, 2013

Fedora, Skype, and my fave resource site

Before I forget, the site if not true then false deserves much of my admiration. This guy has helped me through all my Fedora installation struggles.

For the latest Fedora release, installing Skype proved easier by following his instructions.

Only thing missing from his Skype-Fedora guide was that right before step 1.3, I had to also do a "yum install wget" in the terminal, as I didn't have the wget app in the fresh Fedora installation.

Fedora 18, cinnamon desktop, play some music

My, how time flies. I didn't realize this would be my first post for 2013. Maybe life presents itself outside Linux and blogging more days now than before. Installation notes on Fedora 18:

1. Using a Samsung netbook (without the benefit of a built-in or portable DVD reader), I download the live 32 bit of this distro and also the Windows USB creator.

Links: Gnome 32 bit Fedora 18 liveusb creator

2. Burned the ISO on USB, using the liveUSB creator tool of Fedora, and booted the netbook with the USB.

3. After the installation, which proceeded with incident, I installed my fave apps from the software utility of Fedora (e.g. Gimp, Phatch)

4. Also using the Software app of Fedora (you would think they would come up with a more imaginative name like Fedora Download Center, or something)

5. The core of this post, though, is making my audio (music) files in my iPod to play using Fedora's Rhythmbox app. It kept asking for MP3 codecs that were unfortunately not part of the default installation.

5.1 It seemed simple enough, after mistakenly trying to install an older (i.e. Fedora 16 package) of RPM Fusion. Luckily going to their site, I saw that the packages for the Fedora 18 distro was available. Clicked on the free and non-free packages, each download not saved as files, but executed (in Firefox) with Open with -> Software Install (default) option.

5.2 Then after that, open a terminal, type "su -" for root access, then enter the root password.

5.3 Then type "yum install vlc".

5.4 Still when I play music directly using Rhythmbox, it complains needing MP3 codecs. So I click on the Search button, and let Fedora do its thing downloading and installing the necessary packages.

Now enjoying the music! ;-)

Friday, November 9, 2012

Xubuntu 12.04

Nov. 8, 2012 marks the day I switched to Xubuntu. Simpler than Ubuntu's Unity, and a bit prettier than Lubuntu.

Sunday, October 28, 2012

Messengers running on Android (2.3) and memory footprint

1. Catfiz - running in memory = 9.2MB, installed size = 3.12MB
2. imo - running 16MB, installed 8.65MB
3. nimbuzz - running 20mb (!) yuck.
4. fb messenger - 11MB memory; 10.55MB file size
5. kik - 18MB memory; 3.06MB file size

Tuesday, October 23, 2012

Openproj

MS Project open source alternative for Linux. This works for Ubuntu 11.04
wget http://nchc.dl.sourceforge.net/sourceforge/openproj/openproj_1.4-2.deb && sudo dpkg -i openproj_1.4-2.deb
Credits goes to this source.

Update 3 Nov. 2012
Installing in Ubuntu 12.04 (Xubuntu, to be exact), produced dependencies issues, even though I do distinctly remember putting in the xubuntu-restricted-extras package during 12.04 installation.

These are the additional packages needing to be installed:
ca-certificates-java icedtea-7-jre-jamvm java-common libatk-wrapper-java libatk-wrapper-java-jni openjdk-7-jre openjdk-7-jre-headless openjdk-7-jre-lib ttf-dejavu-extra tzdata-java

So I try fixing it in the terminal:
sudo apt-get -f install
But it takes a long time (shame on my broadband provider!) I had to try also changing the server for the repos (in Synaptic) several times, then eventually going back to my country's server.
After numerous alt-c on the terminal, and repeating this:
sudo apt-get install ca-certificates-java icedtea-7-jre-jamvm java-common libatk-wrapper-java libatk-wrapper-java-jni openjdk-7-jre openjdk-7-jre-headless openjdk-7-jre-lib ttf-dejavu-extra tzdata-java
I finally got all the packages downloaded and installed. After which, going to Synaptic and with the filter set to Broken packages, completely removed OpenProj, and reinstalled with the wget... from my original post.
Running it finally caused an error:






To fix this error, I modified the ~/.openproj/run.conf file by changing the line:

JAVA_OPTS="-Xms128m -Xmx768m"

to:
JAVA_OPTS="-Djava.vendor=Sun -Xms128m -Xmx768m"

and now it works. Got this tip (somewhat, didn't follow completely his instructions) here.