maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Create a package file from an installed application (https://talk.maemo.org/showthread.php?t=90149)

sanman_hpux 2013-05-18 15:38

Create a package file from an installed application
 
Does anyone know if there is an easy means of saving and installed application as a package so that it can be ported to another N900. I was looking for it on their website but they no longer support it so it is no longer available.

anthonie 2013-05-19 08:25

Re: Create a package file from an installed application
 
Quote:

Originally Posted by sanman_hpux (Post 1344578)
Does anyone know if there is an easy means of saving and installed application as a package so that it can be ported to another N900.

After it is installed? Not if it wasn't saved in the first place, as far as I know. If you do a new install, however, you could do:

Code:

apt-get install -d packagename
Which will download the package only, without installing it, and the .deb can be found back in the folder

Code:

/var/cache/apt/archives
Quote:

I was looking for it on their website but they no longer support it so it is no longer available.
If it is not available, then it won't be in your cache...

michaaa62 2013-05-19 08:47

Re: Create a package file from an installed application
 
There is dpkg-repack package, but it does need dpkg-dev as a dependency which is not in the repos.
You could grab it here from the sdk-repo: http://repository.maemo.org/pool/fremantle/free/d/dpkg/ Grab the package, that does correspond to the installed version of dpkg on your N900. Query that with
Code:

apt-cache policy dpkg
Install them normally to invoke as follows:
Code:

sudo gainroot
dpkg-repack package_name_here

You will find the package in the working directory, which might be /home/user in my example. Adjust the package name in the command example please.


All times are GMT. The time now is 12:10.

vBulletin® Version 3.8.8