fatsarmstrong Wrote:Green453 - So I am a total n00b with linux and really coding of any kind (does half of an intro to python class count?), I am running into errors when trying to install the huludesktop client, says it has dependancies, need the libgtk blah blah blah, I attempt to install that and it says that has a load pf dependancies, what the hell am I missing? I was going to login remotely tomorrow when I had a linux guy near by but I cannot get my external IP because the only what I know how to do it is by going to whatismyip.com using links, but I can't get links installed either.
It has been a long night, I am going to bed, any help you could give would be greatly appreciated.
Right, so Hulu Desktop has 3 main dependencies (dependencies are pieces of software that another piece of software needs to run correctly). They are:
* GTK+ 2.12 or higher
* GLib 2.16 or higher
* LIRC 0.8.2 or higher (required for remote control functionality)
Without going into extraneous detail, GTK and GLib are part of the same piece of software, they provide the necessary components for rendering the user interface, etc. LIRC is optional, it provides the components necessary to use an IR based remote control (if you are using a wireless mouse and keyboard but no remote, you don't need to install this).
How you install these dependencies depends on what flavor of Linux you are using. Which flavor of Linux do you use? You can do this either from a command prompt or (if your particular flavor of Linux supports it) from a graphical interface.
It sounds like you already tried to install these pieces of software (called packages) and found out that they each have dependencies of their own which must be installed. Just like Hulu Desktop needs GTK to run, GTK needs other packages to run. Installing these additional packages should be fairly easy. The program that installs packages should install them for you.
Without knowing the specifics of which flavor of Linux you run, I cannot give you specific directions, so I will give you directions for Ubuntu since it is the most commonly used flavor these days.
Graphical:
1) Open System --> Administration --> Synaptic Package Manager
2) Search for libgtk2.0-0
3) This will find several items, scroll down and find the one that is just libgtk2.0-0
4) Click the little box to the left of the entry and it will open a context menu, choose "Mark for Installation"
5) A dialog box will pop open that says "Mark additional required changes?" - choose the "Mark" button.
6) Repeat with libglib2.0-0
7) Click the button with the big green checkmark that says "Apply"
8) Install the huludesktop package from wherever you downloaded it.
9) Pick up where my other instructions left off.
Command Line:
1) Open your command prompt.
2) Type 'sudo apt-get install libgtk2.0-0 libglib2.0-0'
3) Enter your password when prompted
4) You will see a bunch of text go by, then it will say something about "will install
x additional packages and will require
y additional space. Do you want to continue (Y/N)?' - hit the 'y' key.
--Note that this should install all the dependencies as well
5) Install the huludesktop package.
6) Pick up where my other instructions left off.
Note - if you install huludesktop.deb using gdebi, it should (I think, I don't use gdebi very often) it should install the dependencies for you automatically. To do this, you could (from a command prompt) run: 'sudo gdebi <insert path to package here>/huludesktop.deb.
Note 2 - if you use the first set of command prompt instructions, this should work on any flavor of Linux that is Debian or Debian based, including Ubuntu, Knoppix and the XBMC live version (which is itself based off a version of Ubuntu).
Again, hope that helps and don't get frustrated with being a beginner. We all start somewhere. Also, there is no reason that you should have to use a command prompt for any of this, if you do, it isn't because Linux doesn't have a good way to do it graphically, it is just that the flavor of Linux you are using is not designed to make things easy graphically.
JackieBrown Wrote:Nice first post!
Thanks! Longtime lurker, so I figured it was about time to start pulling my own weight.