assistance creating a Deb File.

Questions about applications and software
Forum rules
Before you post please read this

assistance creating a Deb File.

Postby raymerjacque on Fri Mar 22, 2013 5:26 pm

I want to backup my .wine folder into a deb file, so that if i install the deb file it will extract .wine automaticly to my home folder, and if i pass it onto friends or anyone else all they need to do is install the deb file and it will automaticly extract the .wine folder into their home folder and overwrite the existing .wine folder.

Can someone please tell me how to do that ? ( turn the .wine folder into a deb file )

keep in mind im relatively new to Linux and have NEVER created a deb file before, so please keep any steps you post noob friendly :)
MakuluLinux - The Big chief has spoken !.
check this out : http://www.makululinux.com
User avatar
raymerjacque
Level 4
Level 4
 
Posts: 227
Joined: Fri Jul 06, 2012 8:22 am
Location: Port Elizabeth, South Africa

Linux Mint is funded by ads and donations.
 

Re: assistance creating a Deb File.

Postby grimdestripador on Fri Mar 22, 2013 6:57 pm

While I have yet to create a .deb file myself. it appears that http://www.debian.org/doc/manuals/maint ... ex.en.html is the officiall building guide. Look for sections 4 and 5. It notes the requires files and scripts to be included. Also be sure to lookup BINARY package.


For Mint specifc instruction, I found the following to work. This process is an example of downloading the new version of nmap, building it, then making a package. But from source.
Code: Select all
 
sudo apt-get install build-essential dh-make debhelper devscripts -y
cd ~/Downloads
wget http://nmap.org/dist/nmap-5.00.tar.bz2
tar xf nmap-5.00.tar.bz2
cd ~/Downloads/nmap-5.00
dh_make -s -e user@domain.com -f ../nmap-5.00.tar.bz2
sudo apt-get install libgtk2.0-dev flex bison libpcap0.8-dev libpcre3-dev binutils-dev python-all-dev -y
dpkg-buildpackage


Lets build off the following instructions, and describe how a binary package will be different. Which I belive is includes adding something to the post install script file.
User avatar
grimdestripador
Level 6
Level 6
 
Posts: 1069
Joined: Fri Feb 16, 2007 2:26 am

Re: assistance creating a Deb File.

Postby raymerjacque on Fri Mar 22, 2013 10:19 pm

it looks extremely complex ...

is making a deb package my only choice here ? is there no other way to make an installer script that will simply extract and overwrite the .wine folder with one supplied ?
MakuluLinux - The Big chief has spoken !.
check this out : http://www.makululinux.com
User avatar
raymerjacque
Level 4
Level 4
 
Posts: 227
Joined: Fri Jul 06, 2012 8:22 am
Location: Port Elizabeth, South Africa

Re: assistance creating a Deb File.

Postby dagon on Sat Mar 23, 2013 6:14 pm

Here is a less intimidating tutorial on packageing.
http://www.debian-administration.org/articles/336

raymerjacque wrote:it looks extremely complex ...

is making a deb package my only choice here ? is there no other way to make an installer script that will simply extract and overwrite the .wine folder with one supplied ?

It can get a bit scary, yes. Your other option would be a simple install script that copies the files into the users home folder.
Not hard.
Image
User avatar
dagon
Level 7
Level 7
 
Posts: 1690
Joined: Mon Dec 06, 2010 4:33 am
Location: Kungälv, Sweden


Return to Software & Applications

Who is online

Users browsing this forum: Foothill2112, hinto, iru and 19 guests