Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ 1 [2] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Tar conversion< Next Oldest | Next Newest >
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Jan. 04 2005,17:53 QUOTE

Quote
How does this help us? I too want to change these to make them into DSL extensions. There are some programs which are small and useful. One is fluxconf a program to change the keybindings and menus in Fluxbox. Then there is a program called wmsetbg which is useful to set a background to fluxbox.

There does not seem to be a way to do this in DSL.

Am I wrong?

Most applications in *.tar format are not compiled, but merely archives containing source code.
If the archive you've downloaded is a source tarball, you can't directly convert it to a DSL extension.  The source first needs to be successfully compiled into an executable application, and then it can be put into an extension, including any dependencies which aren't present in DSL.
Straight conversion to a DSL extension can be accomplished only by using precompiled binaries such as applications in *.deb format.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Jan. 05 2005,04:45 QUOTE

This is correct.

There are few applications that are distributed in *.tar.gz archives that are in binary format.  The most common ones are slackware packages.

Usually, a tar archive of precompiled binaries will mention the computer architecture that the program is compiled for.  For example:  *.i386.tar.gz could contain a precompiled program that is compiled to run on an Intel 386 processor architecture (also includes, 486, Pentium, Celeron, Athlon, Duron, etc).

Also, a good hint is to see if the archive contains files that are placed in a "bin" directory like /bin or /usr/bin

You can tell this by typing:

tar -ztvf filename.tar.gz | more

and it will display the list of files that are contained in the archive.

Good Luck.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Jan. 05 2005,04:56 QUOTE

Another exception is Slackware packages (usually with a .tgz extension), which are very similar to DSL packages...the main difference is Slack packages include a script used to copy the files and possibly run ldconfig afterward (or at least that's what I recall...it's been a while since I've used Slackware).

You could probably just do 'sudo mkwriteable' to open up the additional directories without needing to install a dsl, but I can't say from experience.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
7 replies since Dec. 31 2004,08:34 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ 1 [2] >/
reply to topic new topic new poll
Quick Reply: Tar conversion

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code