maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   .deb installer to install many .deb files at once or xterminal command needed!(without asking permission every time) (https://talk.maemo.org/showthread.php?t=73356)

nicholes 2011-05-23 14:53

.deb installer to install many .deb files at once or xterminal command needed!(without asking permission every time)
 
Update: I have put all my .deb files in a folder now what next?????

Most of the apps on my n900 i install them as a .deb file and every time when i flash my n900, OMG it is annoying to wait for EACH .deb and ask to continue and install... any way to get rid of it?

I am aware of faster application manager but here i am talking about .deb files plz help.

Thanks!

jedi 2011-05-23 15:02

Re: .deb installer to install many many .deb files or xterminal command needed!
 
Have you tried:
Code:

dpkg -i *.deb
If not,
Code:

for DEB in *.deb; do dpkg -i $DEB; done
should do it.

raaj13 2011-05-23 15:03

Re: .deb installer to install many many .deb files or xterminal command needed!
 
Put all deb files in a folder.

then xterminal
root
cd <folder>
dpkg -i *.deb
though this method will give lots of error as it doesn't install dependency earlier then the package.
you may put dependencies if any in separate folder and install them first before installing main packages.

anthonie 2011-05-23 15:03

Re: .deb installer to install many many .deb files or xterminal command needed!
 
Two choices:

Either select in the settings of Faster Application Manager to not clear the cache after installing, and take them out of the directory /var/cache/apt/archives (as root, obviously) or, my preferred method, do just that by hand by issuing (either with sudo or as root) apt-get -d install <package-name>.

That last method prevents from having to find out which package belongs to what, provided you keep your cache clean and move files right after you download them. apt-get -d install downloads to the same location.

Edit: after looking at the reactions above, perhaps I misunderstood your post completely.

raaj13 2011-05-23 15:04

Re: .deb installer to install many many .deb files or xterminal command needed!
 
Ah someone answered before me.
Lol:p

nicholes 2011-05-23 15:10

Re: .deb installer to install many many .deb files or xterminal command needed!
 
well thanks to all but i cannot confirm anyone's post here because i would test all these when i flash My900

any new method is welcome!

anthonie 2011-05-23 15:21

Re: .deb installer to install many many .deb files or xterminal command needed!
 
But was your question how to save your deb files or how to install already downloaded .deb files in a more convenient way?

Radicalz38 2011-05-23 15:27

Re: .deb installer to install many many .deb files or xterminal command needed!
 
1. put all the deb files in a folder
2. download dpkg-dev
3. cd to the deb files folder
4. type dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz
5. Type "vi /etc/apt/sources.list.d/hildon-application-manager.list" Enter
6. Insert new line with the ff. "deb file:/path/to/your/deb/files /"
7. apt-get update
Done!
You can do apt-get install <package name> Without internet connection no worries about dependency and stuff.

nicholes 2011-05-23 15:52

Re: .deb installer to install many many .deb files or xterminal command needed!
 
Quote:

Originally Posted by anthonie (Post 1013601)
But was your question how to save your deb files or how to install already downloaded .deb files in a more convenient way?

it was how to install already downloaded .deb files without asking for permission each time.

raaj13 2011-05-23 16:47

Re: .deb installer to install many many .deb files or xterminal command needed!
 
dpkg -i *.deb will work fine.
But with dependcies it may return error if it tries to install main package first and then the dependencies but packages will install anyways as it will configure them later though make sure you have all dependencies


All times are GMT. The time now is 22:01.

vBulletin® Version 3.8.8