This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Manual installation of cygport packages
Andrew Schulman writes:
>> On 3/15/2017 6:37 AM, Rui Pedro Caldeira wrote:
>> > Hello all, I'm new to this and I successfully build a package with
>> > cygport. My problem is that, I would like to install it in order to
>> > test if the package was successfully built. Is there anyway to do
>> > that?
>>
>> https://cygwin.com/package-server.html
>
> I usually take the simpler approach of just unpacking the package archive
> into the root filesystem:
>
> tar -C/ -Jxf $package-$version.tar.xz
>
> This doesn't run pre-remove or post-install scripts, but it puts the files
> in place so you can test them.
You should also generate the compressed packges listing in /etc/setup
and an entry into the installed.db file or you will be unable to
properly un-install the package later on. The only time I'm using this
manual installation is when I quickly need to test an update on an
already installed package that I will later re-install properly via the
local package repository. Of course if these need postinstall actions
you also need to run those, so this quickly gets more complicated than
having setup do its thing.
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
Wavetables for the Terratec KOMPLEXER:
http://Synth.Stromeko.net/Downloads.html#KomplexerWaves
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple