Find the answer to your Linux question:
Results 1 to 5 of 5
Hi, I'm trying to install an application (on kubuntu) that can read .chm files. I've searched the forum and found an entry suggesting I just key in: Code: apt-get gnochm ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    jwf
    jwf is offline
    Linux Newbie jwf's Avatar
    Join Date
    Mar 2005
    Location
    Ontario, Canada
    Posts
    187

    application install problems


    Hi,
    I'm trying to install an application (on kubuntu) that can read .chm files. I've searched the forum and found an entry suggesting I just key in:
    Code:
     apt-get gnochm
    . This 'apt-get' command does not seem to work on my system. I then tried to locate/install the code using Synaptic Package Manager, but it was unable to locate the 'gnochm' package. Another thread explained how to install application on ubuntu, so I downloaded the 'gnochm' and it's dependancy 'python-chm'.
    I then tried
    Code:
     aptitude -i gnochm_0.9.8-1.1_all.deb
    This starts but fails due to a missing dependancy. Trying to install the dependency python-chm_0.8.2-3_i386.deb using aptitude, and this also fails to install. I then looked up another thread that suggested how to install applications on Kubuntu. My final attempt was as follows:
    Code:
    jwf@jwf-ubuntu:~/Desktop$ sudo dpkg -i gnochm_0.9.8-1.1_all.deb
    Password: 
    Selecting previously deselected package gnochm.
    (Reading database ... 109349 files and directories currently installed.)
    Unpacking gnochm (from gnochm_0.9.8-1.1_all.deb) ...
    dpkg: dependency problems prevent configuration of gnochm:
     gnochm depends on python-chm (>= 0.8.2-2); however:
      Package python-chm is not installed.
    dpkg: error processing gnochm (--install):
     dependency problems - leaving unconfigured
    Errors were encountered while processing:
     gnochm
    
    jwf@jwf-ubuntu:~/Desktop$ sudo dpkg -i python-chm_0.8.2-3_i386.deb
    Selecting previously deselected package python-chm.
    (Reading database ... 109392 files and directories currently installed.)
    Unpacking python-chm (from python-chm_0.8.2-3_i386.deb) ...
    dpkg: dependency problems prevent configuration of python-chm:
     python-chm depends on python (<< 2.4); however:
      Version of python on system is 2.4.2-0ubuntu3.
    dpkg: error processing python-chm (--install):
     dependency problems - leaving unconfigured
    Errors were encountered while processing:
     python-chm
    jwf@jwf-ubuntu:~/Desktop$
    This output clearly shows the problem. It seems the python I have installed is higher than the dependancy will install on.

    So, my guess is I'm looking for a python-chm and gnochm application that will install on my level of python.

    Can anyone suggest how I may accomplish this?





    install gnochm_0.9.8-1.1_all.deb
    Ubuntu 11.04 on IBM ThinkCentre
    Fedora, VMware Player (windows xp,Knoppix 6.5) on Lenovo Laptop
    GRUB Fedora / Windows 7, VMware Player (Windows 2008 server) on NCIX quad core PC.

  2. #2
    Linux Enthusiast aysiu's Avatar
    Join Date
    Jul 2005
    Posts
    633
    gnochm is in the Universe repositories.

    Step 1:
    Get extra repositories by following these instructions

    Step 2:
    Install gnochm by pasting this command into the terminal:
    Code:
    sudo aptitude update && sudo aptitude install gnochm

  3. #3
    Linux User cayalee's Avatar
    Join Date
    Sep 2004
    Location
    england
    Posts
    389
    yeah you need to be super-user to install stuff on linux, as the previous poster mentioned, you use the prefix sudo.
    ie sudo apt-get install <application>
    then it'll ask you for a password, type yours in,
    it should be working happily after that
    You know, aliens are going to come to earth in 50 years and kill the hell out of us for DDoSing their networks with this SETI crap
    registered linux user #388463

  4. #4
    jwf
    jwf is offline
    Linux Newbie jwf's Avatar
    Join Date
    Mar 2005
    Location
    Ontario, Canada
    Posts
    187
    Thanks guys!
    Followed instuctions per Aysiu response. All works fine now.

    As a follow-up question... how does one find what extra repositories to install for an application not listed in Synaptic?

    It seems Linux is getting into the same rut Windows has... there are many ways to do the same thing. As far as I see now there are several package managers for linux, synaptic,apt, aptitude, a 'k' version of something else,,,, and on and on. so is this like choosing an editor? Find one that is comfortable to use and stick to it?

    I just find it strange that in my example code at the start, I received different results by using different package managers. (note: I did prefix the apt command and aptitude command with 'sudo').
    Ubuntu 11.04 on IBM ThinkCentre
    Fedora, VMware Player (windows xp,Knoppix 6.5) on Lenovo Laptop
    GRUB Fedora / Windows 7, VMware Player (Windows 2008 server) on NCIX quad core PC.

  5. #5
    Linux Enthusiast aysiu's Avatar
    Join Date
    Jul 2005
    Posts
    633
    Read this:
    http://www.psychocats.net/ubuntu/installingsoftware

    It'll give you a better understanding of package management.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •