You are not logged in.

#1 2014-01-05 07:42:07

prateek.bvcoe
Member
Registered: 2013-04-18
Posts: 6

[SOLVED] Does .pkg.tar.gz contain all dependencies ?

Hey , while doing "makepkg -s" .. the resulting .pkg.tar.gz is formed. Does this file contain all the dependencies as well ? Does this mean, if i store this file, Then in a new installation I wont have to do makepkg or anything. I can just install it by pacman -U <name.pkg.tar.gz> ?

Last edited by prateek.bvcoe (2014-01-05 07:55:22)

Offline

#2 2014-01-05 07:49:18

dodo3773
Member
Registered: 2011-03-17
Posts: 820

Re: [SOLVED] Does .pkg.tar.gz contain all dependencies ?

No, makepkg -s installs the dependencies prior to build / install. That is just the single package you are referring to. If you do pacman -U it won't say installing x,y, and z it will only say install x.

Edit: I do not know of any way to put mutliple packages that can be installed simultaneously with one archive with pacman. It may be possible but I have not seen this.

Last edited by dodo3773 (2014-01-05 07:50:49)

Offline

#3 2014-01-05 07:53:22

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Does .pkg.tar.gz contain all dependencies ?

You could use something like pacserve.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2014-01-05 07:55:52

prateek.bvcoe
Member
Registered: 2013-04-18
Posts: 6

Re: [SOLVED] Does .pkg.tar.gz contain all dependencies ?

Thanks guys.. marking as solved... thank u jason for the redirection.. gonna try tht...

Offline

#5 2014-01-05 07:57:47

dodo3773
Member
Registered: 2011-03-17
Posts: 820

Re: [SOLVED] Does .pkg.tar.gz contain all dependencies ?

You're welcome. Happy to help. Something I implied a little but didn't mention (should have) is that makepkg by default (without the -s switch) does not do dependency resolution. That is why it is there as an additional option. Hope that explains a little better.

Offline

Board footer

Powered by FluxBB