Wednesday, April 30, 2008

Installing Programs on Linux

One of the first things I found confusing was how to install a program. I am used to using Windows where I go out and download the exe file and install it. With Linux it is a whole different ball game. I suggest you refer to my package management post here. With Linux instead of an exe you install a package or install from source (which is the hard way). Usually a distro will provide you with an add/remove programs option or a GUI package management program so you can check and uncheck what you want to install and what you don't want to install. I will focus on how to install programs in Ubuntu since that is what I am most familiar with, but these suggestions will work with almost any Debian based distribution.

Add/Remove Programs...
Sounds very windows like doesn't it. Well in the Ubuntu menu in the top left of the screen there is a link to Add/Remove programs. This is the easiest way to install programs in Ubuntu. It lists all the programs that are available from the repositories (where the packages are stored) and you can just check and uncheck the programs you want to add or remove. Very simple.

Synaptic...
With synaptic you are given more control but still have a GUI. It lists every package including dependency files that are available for your distribution. You can check parts of programs that maybe aren't working to remove certain files, or add a certain dependency if you are installing software that needs the dependency. Synaptic gives you a lot of control in a nice interface.

apt-get...
The fastest way to install and remove programs. This is a CLI program. It is the hardest of the three to use but like I said the fastest. Many Linux enthusiasts are command line junkies and would easily give up any graphical interface for the command line. I have no reached that point yet, except with apt-get. I love popping open a terminal typing "sudo apt-get install firefox" and boom it downloads and isntalls really quick. You can also remove with this line by typing "sudo apt-get remove firefox" this will remove any program files that only firefox was using from your system. Apt-get is very versatile and very fast. The only part I have problems with is figuring out the names of something I want to install and then have to open synaptic to find the list of available packages.

Like I said this all applies to Ubuntu but can be applied to other distros as well, espcially debian based distros. Others have yum, or rpm, but I can not remember how to use them because I mostly use Debian based distros.

Thanks and God bless,
Aaron

Thursday, April 17, 2008

Wubi

A couple of things out there scare people off from trying Linux, a couple of them being don't know how to install it, don't have an extra computer to install it on, don't want to deal with partitioning and dual booting. Well thanks to a program called Wubi and Ubuntu this has been resolved. Wubi was originally developed seperately from Ubuntu but in the newest version of Ubuntu they have included this program. OK so what is it? Wubi is a windows installer that creates an image file that acts as a hard drive. Now I know virtual machines have been doing that for a while now, but this gets better. Wubi then boots directly to the image. You DO NOT have to run Ubuntu inside of a virtual machine. You just install Wubi and then it walks you through getting it installed. NO more excuses installing Ubuntu is easy, requires no partitioning, and very little overhead compared to a virtual machine. I strongly suggest you give it a try.

For those who don't know Ubuntu is a version of Linux that I prefer. It is very easy to use and newbie friendly.The new version with Wubi built in is coming out in 1 week and I suggest you try it. If you are new to Linux this is where you should start, because it is so very easy. If you know how to burn an ISO file you can download the CD immediately, if you don't Ubuntu will send you the CD FOR FREE.

www.ubuntu.com

For the free Cd's go to https://shipit.ubuntu.com/

Thanks and God bless,
Aaron

Friday, April 4, 2008

Facebook and Picasa

So I use Picasa from Google as my photo manager. I wanted to add a Facebook button to Picasa. Facebook has a button that does this for you at http://apps.facebook.com/picasauploader/. This however did not work for me because my Firefox did not have a protocol for Picasa ( in other words the link says picasa://... which Firefox had no idea how to handle). I tried to add the protocol manually but was having no luck. So here is how I added the button without the install script. This worked on Windows for me but should work within any operating system.

Go to your Picasa folder. For me this was c:/Program Files/Picasa2. Then go to the buttons folder. Open up a text editor, ie notepad. Paste this code inside of the file.

<?xml version="1.0" encoding="utf-8" ?><buttons format="1" version="1">
<button id="custombutton/facebookupload" type="dynamic">
<icon name="outputlayout/poster_icon" src="runtime"/>
<label>Facebook</label>
<tooltip>Upload photos to Facebook</tooltip>
<action verb="hybrid">
<param name="url" value="http://webkinesis.com/fbpicasa/picasa-post.do"/>
</action>
</button>
</buttons>


I got this code from http://www.webkinesis.com/fbpicasa/facebook.pbf and take no credit for it at all. Save this file as facebook.pbf. Restart or open Picasa.

Hope this helps anyone having problems.

Thanks an God bless,
Aaron