LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-20-2006, 08:27 AM   #1
paulocr
LQ Newbie
 
Registered: Apr 2006
Location: Costa Rica
Distribution: Slackware 10.2
Posts: 15

Rep: Reputation: 0
Slackware 10.2 - How to install .mo files


Hello,

I have just downloaded Digikam from a Slax modules page, I am not sure if there are real differences between Slax and actual Slackware and how to install these into my running system.

The webpage says to use "uselivemod" but I am guessing this will only work in Slackware. I have searched through the forums but I haven't found anything regarding .mo installation.

Before doing this I tried to download gphoto2-2.1.99.tar.gz;libgphoto2-2.1.99.tar.gz and gtkam-0.1.13.tar.gz in order to get my digital camera working but when I try to open them using the package manager it doesn't install and it shows an error something like that the file doesn't end in .tgz . I have searched for these same files ending in .tgz instead of .gz but could not find them.

Please heeeelp!!

Thanks so much
 
Old 04-20-2006, 08:48 AM   #2
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
it's because they are not slackware packages, but are in fact probably the source code for those bits of software.

you could unpack them and compile them from source.

usually:

./configure
make
make install


you could also make a slackware package using "checkinstall".

are you sure they are slackware packages??

gphoto slackware packages can be downloaded from www.linuxpackages.net but they are not quite the latest. nontheless i would recommend doing that......
 
Old 04-20-2006, 09:04 AM   #3
piete
Member
 
Registered: Apr 2005
Location: Havant, Hampshire, UK
Distribution: Slamd64, Slackware, PS2Linux
Posts: 465

Rep: Reputation: 44
I'm about to start patronising - I apologise if you see this as condescending, but then at least I know what you know

.tgz is the same as tar.gz (they are both gzip-compressed tar archives), except .tgz is what Slackware uses to differentiate it's contents from .tar.gz files.

Slackware packages contain binaries (the built program(s), like Windows does), while typically .tar.gz archives are source files (what you use to build the binaries).

As satinet has kindly pointed out, you can unpack them and compile them from source yourself. I would recommend doing this for the gphoto stuff. If I recall correctly, the build order will be:

libgphoto2
gphoto2
gtkam

(I use gtkam, too, it feels a bit buggy and I find I always have to run it as root, but, su -c gtkam is not exactly hardship =) )

I will assume you have checkinstall. If you don't, now is the time to get it. I believe it can be located in the extras/ directory, or, here: http://slackware.it/en/pb/package.ph...l-1.5.3-i486-2

You'll want to use the following commands for each one (I've commented them so you know what they do):

Code:
~$ tar xfz <archive>  # this unpacks the .tar.gz archive into the current directory
~$ cd <archive>
~$ ./configure --prefix=/usr # configure the source and put it into /usr, not /usr/local (where it goes by default)
~$ make # build the configured source
~$ su -c 'checkinstall' # make a slackware package from the `make install` script and install it
You may have to check that checkinstall is actually installing the package automatically, in the latest versions of checkinstall the default is to make the package (.tgz) but not install it.

After you've installed libgphoto2 you might have to run: su -c ldconfig
Just to make sure the libraries are all up to date.

Finally, once it's all installed, you can run: su -c gtkam
And enjoy your camera on Linux =)

- Piete.
 
Old 04-20-2006, 09:28 AM   #4
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Difference between Slax and Slackware is their filesystems and package management. Slax is bootable distro and so uses unifs or squashfs filesystems, while Slackware has larger variety to choose (ext2,ext3,reiserfs,jfs,xfs...) and installs itself on hard drive. In Slackware you don't install modules but install either precompiled packages (which end in .tgz) or compile from source yourself, which was already clearly explained by satinet and piete.
 
Old 04-20-2006, 09:49 AM   #5
paulocr
LQ Newbie
 
Registered: Apr 2006
Location: Costa Rica
Distribution: Slackware 10.2
Posts: 15

Original Poster
Rep: Reputation: 0
Excellent answer!! thanks so much for being so helpful
 
Old 04-20-2006, 11:07 AM   #6
Anonymo
Member
 
Registered: Dec 2004
Location: The Woodlands, Texas
Distribution: Slackware, Archlinux, CentOS
Posts: 196

Rep: Reputation: 40
Yup, this is a good thread
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to install slackware from files on windows partition mikgigs Slackware - Installation 10 06-14-2005 01:33 AM
How can I install Bin Files? or tg files? GeKsKe-XP Linux - Software 3 03-23-2004 04:54 PM
How do you install tar/gz files, and rpm files? Fear58 Linux - Software 6 02-14-2004 05:35 PM
cant install .bin files, tar.gz files or anyother format!!! madskillz Linux - Newbie 4 10-05-2003 11:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration