LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-12-2006, 07:04 PM   #1
JackieBrown
Member
 
Registered: Dec 2004
Location: San Antonio, TX
Distribution: Debian-AMD64 Sid
Posts: 481

Rep: Reputation: 31
Any how tos to covert a .sh into a deb?


I noticed that the googlearth package in Debian converts the googleearth.sh package into a deb.

Is there any how to's on how on how to do this for other files of this type?

Speficifcally I was looking at enemy territory.
 
Old 08-13-2006, 01:14 PM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
A .deb package is usually meant to install (binary) files into the system. A .sh (shell script) file on the other hand is meant to run some commands, rather than copy files that are inside the file (.sh includes script/text, .deb files).

Is the googleearth's .sh file really a shell script, or is it somekind of an installation binary that "extracts" itself and then builds a .deb file so the package is easier to manage in a Debian system? I don't know since I haven't got Google Earth for Linux but if you have a shell script (that runs commands), it's difficult to believe one would just create a .deb file out of it (so the deb file would simply run some existing commands rather than copy files from inside the package file).

Maybe you need to look for how Debian package files are created, from the Google. I bet there is information around.
 
Old 09-16-2006, 02:38 AM   #3
powadha
Member
 
Registered: Nov 2003
Location: Zwolle
Distribution: Arch
Posts: 651

Rep: Reputation: 31
In sid you now have the googleearth-package to convert the .bin to a .deb.....nice to hear, how does it work (haven't looked at it yet but like to give googleearth a go)

Last edited by powadha; 09-16-2006 at 02:41 AM.
 
Old 09-16-2006, 11:07 PM   #4
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
That script is in the AMD64 Sid and Etch repos as well, but it won't build a 64-bit working installation. I didn't have any trouble with the 32-bit version just installing the Google .bin file and executing it.

On my 64-bit system, tho, neither the Google .bin file nor the .deb package created from it work.
 
Old 09-16-2006, 11:56 PM   #5
zetabill
Member
 
Registered: Oct 2005
Location: Rhode Island, USA
Distribution: Slackware, Xubuntu
Posts: 348

Rep: Reputation: 32
Look into the checkinstall program. The actions of the installer are made into a package and installed as that package. It supports .rpm, .deb, and .tgz.
 
Old 09-17-2006, 12:19 AM   #6
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Real Debian users don't use checkinstall, (or alien, or anything else that makes a fake .deb package). I don't think it's even in the Debian repos anymore.

Anyway. It can't change a 32-bit app into a 64-bit one.

Last edited by rickh; 09-17-2006 at 12:20 AM.
 
Old 09-17-2006, 01:01 AM   #7
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
Quote:
Real Debian users don't use checkinstall, (or alien, or anything else that makes a fake .deb package). I don't think it's even in the Debian repos anymore.
Eh... I use checkinstall occasionally and the last I heard, I was a real (not fake) human being who uses Debian.

Have I now become a fake Debian user by any chance?
 
Old 09-17-2006, 01:17 AM   #8
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Well, the Debian folks decided it was just too buggy and unsafe to keep in the repos. You, as a part-time Slack user, are qualified to use it, but you're also qualified to build your own .deb packages which would be a better idea.
 
Old 09-17-2006, 01:19 AM   #9
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
Actually I use Debian 99% of the time.

I used checkinstall only once to install "pentagram" which is an Ultima VIII engine for Linux. I had to compile it and did the install using checkinstall.

I don't like using checkinstall either, but it sure beats using make install.

as for creating genuine debs, I'd be glad to learn now. Off to google
 
Old 09-17-2006, 01:28 AM   #10
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
http://www.debian.org/doc/manuals/ma.../index.en.html
 
Old 09-17-2006, 01:28 AM   #11
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Quote:
Off to google
Google might have missed this one.
 
  


Reply



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
covert channels ddaas Linux - Security 6 11-03-2005 03:15 AM
Is it possible to covert PHP into C? linuxfond Programming 5 09-03-2003 02:34 AM
Can apt4rpm use deb repositories or install .deb packages? raylpc Linux - General 0 08-18-2003 01:49 AM
java covert double into string iceman47 Programming 10 05-28-2003 10:51 PM
Covert Bitrate of MP3's DiZASTiX Linux - Software 5 05-19-2003 06:24 PM

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

All times are GMT -5. The time now is 09:42 PM.

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