X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:references:date:in-reply-to :message-id:mime-version:content-type; q=dns; s=default; b=GGKZF 7jVghLMpaRlwkhS2r/YWNhGSydFHkPPfWMGw8z2GbcXErVybqk63m4qdXVw3v8FM c3FMM6vWNeO8csxs4B99S7yzj7+26jaRbLdM4o8i/ghY2qxgOHFkfjfnrrHAPohJ qloWoD0gwkzImc6hoRDoNST56cpgTaN/lBWZxQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:references:date:in-reply-to :message-id:mime-version:content-type; s=default; bh=ImA2lhGoVUa 37zqc153QsfYwWXU=; b=T3J0pX//x2Blsyv1KEMapHlQtuNCq8O77ElOV1L2LSh BovHc68uKGpCocbrVXn0rtYz4UMhhE6Wb0dXuPmEj/D9b+tTyzxBkyRJqvnigeUd Gg8JKaY7h15za09pBiuJ0HOsj7WI4fgDab8lgrJXmL+Sk0xw8tELU01Ttp1a35EY = Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-spam-relays-external:ESMTPA X-HELO: vsmx011.vodafonemail.xion.oxcs.net From: Achim Gratz To: cygwin AT cygwin DOT com Subject: Re: Manual installation of cygport packages References: Date: Thu, 16 Mar 2017 19:53:42 +0100 In-Reply-To: (Andrew Schulman's message of "Wed, 15 Mar 2017 12:42:55 -0400") Message-ID: <87fuid3vex.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-VADE-STATUS: LEGIT X-VADE-SCORE: 0 X-VADE-REASON: gggruggvucftvghtrhhoucdtuddrfeelhedriedtgdeliecutefuodetggdotffvucfrrhhofhhilhgvmecuvegfuffvqffogfftpdcuggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufhffjgfkfgggtgesthdtredttdertdenucfhrhhomheptegthhhimhcuifhrrghtiicuoefuthhrohhmvghkohesnhgvgihgohdruggvqeenucffohhmrghinheptgihghifihhnrdgtohhmpdhsthhrohhmvghkohdrnhgvthenucfkphepledurdegjedrheefrddvudeknecurfgrrhgrmhepmhhouggvpehsmhhtphdqohhuthdphhgvlhhopefivghrthhruhgupdhinhgvthepledurdegjedrheefrddvudekpdhmrghilhhfrhhomhepufhtrhhomhgvkhhosehnvgigghhordguvgdprhgtphhtthhopegthihgfihinhestgihghifihhnrdgtohhm 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