Add Virtualbox Repo to Linux

Instead of downloading an update to programs manually in linux, you can take advantage of the power of yum or apt-get. 

 

Here is how to add virtual box to the built in repositories. 

 

Fedora:

Change to root user

sudo su –

Create a new file called virtualbox.repo

nano /etc/yum.repos.d/virtualbox.repo

Add this text to the file then save

[virtualbox] name=Fedora $releasever – $basearch – VirtualBox baseurl=http://download.virtualbox.org/virtualbox/rpm/fedora/$releasever/$basearch enabled=1 gpgcheck=1 gpgkey=http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc

 

You can now update virtualbox by running

yum update

yum install virtual-box

 

 

16x16x16 Led Cube

I just posted to Hack a Day a write up of the huge LED cube I have been working on all summer. Rather then talk all about it here, I am going to refer you to the unofficial blog.

AllSparkCube.com

Image

You can join me on the creation of the software at github

github.com/spudstud/all-spark-cube

Is Aperture 3.1.2 corrupted and won’t start?

You are trying to start Aperture, but every time you click on it you get an error like this one. Library not loaded: /Library/Frameworks/PluginManager.framework/Versions/B/PluginManagerwpid-problemreportforaperture-2012-09-29-19-58.png

No need to reinstall aperture, simply replace the PluginManager file located in the /Library/Frameworks/PluginManager.framework/Versions/B folder. On my system, the B folder was missing so I had to recreate it. You can get a clean working copy of the file from mikeherdes here http://qvenon.com/files/PluginManager.zip. If the link is broken, find a friend with a working install and copy theirs.

wpid-versions-2012-09-29-19-58.png

Did that work for you? Leave a comment. The thanks for figuring this out goes to these guys. http://forums.macrumors.com/archive/index.php/t-1088985.html

Ubuntu 12.04 Networking on fresh install

Whenever I setup a new ubuntu install, networking never seems to work out of the box. Here are the steps to get it working

Press Alt + F2 and type in ‘Terminal’

nano /etc/network/interfaces

Edit the line that says

iface eth0 inet manual

replace the word manual with dhcp. It should look like this

iface eth0 inet dhcp

Save the file and exit nano

Enter the following commands one at a time

sudo ifdown eth0

sudo ifup eth0

sudo service networking stop

sudo service networking start

You can then test your connection is working by entering

ping -c3 8.8.8.8

If you got a reply then internet is working. Go through all the steps again and double check they were entered correctly. If all else fails, restart the computer.

So people new to linux might wonder what all those commands were.

Basically you edited a file that sets the ethernet port to get an ip address from a dhcp server instead of assigning itself one. Then you turned off the ethernet port and turned it back on. Finally you restarted the program that manages the connection to the internet.

error while loading shared libraries: libXrender.so.1

While trying to install software such as eagle cad you get the following

error while loading shared libraries: libXrender.so.1

 

Solution:

Install the Xrender library

 

Ubuntu

apt-get install libXrender.so.1

 

Fedora

yum install libXrender.so.1

/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

Getting this error can be very frustrating because searching google does not give any clear answers to the problem. The problem  is really really simple to fix. Ready?

Cause: You are trying to run a 32 bit program on a 64 bit O.S.

 

Solution:

Download a 64 bit copy of the software, and your problem will be solved.

 

 

 

If you are determined to install a 32 bit program on a 64 bit os, there are some steps you can take below

 

 

 

#Only Do these steps if you cant find a 64 bit download of the program you want to install.

Alternate Solution:

You will need to download some 32bit libraries for your software to run

Fedora

expat.i386

fontconfig.i386

freetype.i386

glibc.i686

libX11.i386

libXau.i386

libXcursor.i386

libXdmcp.i386

libXext.i386

libXfixes.i386

libXft.i386

libXi.i386

libXrandr.i386

libXrender.i386

libgcc.i386

libjpeg.i386

libpng.i386

libstdc++.i386

libxcb.i386 zlib.i386


yum install expat.i386 fontconfig.i386 freetype.i386 glibc.i686 libX11.i386 libXau.i386 libXcursor.i386 libXdmcp.i386 libXext.i386 libXfixes.i386 libXft.i386 libXi.i386 libXrandr.i386 libXrender.i386 libgcc.i386 libjpeg.i386 libpng.i386 libstdc++.i386 libxcb.i386 zlib.i386

 

Ubuntu

lib32asound2

lib32gcc1

lib32ncurses5

lib32stdc++6

lib32z1

libc6-i386

ia32-libs


apt-get install lib32asound2 lib32gcc1 lib32ncurses5 lib32stdc++6 lib32z1 libc6-i386 ia32-libs

http://www.cadsoftusa.com/training/faq/#1

In order to open iPhoto, you need to update to latest version

“In order to open iPhoto, you need to update to latest version”

 

 

Despite running software updates, iPhoto ’11 just refuses to open.

Solution:

Manually download the 9.1 update from apple’s website (not the 9.1.1) update. While less than intuitive, the 9.x updates are for iLife 2011.

http://support.apple.com/downloads/DL1322/en_US/iPhoto9.1Update.dmg

From there you can update the most current updates (update 9.3) and iphoto will work correctly.

 

Did this work for you? or is iphoto still not working? leave a comment.

No such file or directory (2) in recov_svr_attr, Unable to read server database

The cause of this is failure to run the torque.setup file durring installation

cd /tmp/torque

./torque.setup <someuser>

This is located under section 1.2 of the torque documentation (as of torque 4.0.2)

http://www.adaptivecomputing.com/resources/docs/torque/4-0-2/help.htm#topics/1-installConfig/initializeConfigOnServer.htm

 

moab: error while loading shared libraries: libtorque.so.2: cannot open shared object file: No such file or directory

The way to fix this issue is as follows:

echo ‘/opt/moab/lib’ > /etc/ld.so.conf.d/moab.conf

echo ‘/usr/local/lib’ > /etc/ld.so.conf.d/torque.conf

Then run the command

ldconfig

The reason why this happens is that either moab or torque cant find the location of the libraries.

configure: error: TORQUE needs lib ssl in order to build

The following error will occur while trying to compile torque if the development library for Openssl is missing.

 

configure: error: TORQUE needs lib ssl in order to build

 

Solution:

 Redhat / Fedora 


yum install openssl-devel

Debian / Ubuntu


apt-get install libssl-dev