From owner-freebsd-doc@freebsd.org Sun Feb 17 09:54:21 2019 Return-Path: Delivered-To: freebsd-doc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0EAF914EBE82 for ; Sun, 17 Feb 2019 09:54:21 +0000 (UTC) (envelope-from obastida@umn.edu) Received: from mta-p8.oit.umn.edu (mta-p8.oit.umn.edu [134.84.196.208]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C7E458E60A for ; Sun, 17 Feb 2019 09:54:17 +0000 (UTC) (envelope-from obastida@umn.edu) Received: from localhost (unknown [127.0.0.1]) by mta-p8.oit.umn.edu (Postfix) with ESMTP id 464596C1 for ; Sun, 17 Feb 2019 09:54:10 +0000 (UTC) X-Virus-Scanned: amavisd-new at umn.edu Received: from mta-p8.oit.umn.edu ([127.0.0.1]) by localhost (mta-p8.oit.umn.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xH4Kt5uxjNE1 for ; Sun, 17 Feb 2019 03:54:10 -0600 (CST) Received: from mail-ot1-f70.google.com (mail-ot1-f70.google.com [209.85.210.70]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mta-p8.oit.umn.edu (Postfix) with ESMTPS id 0E2C898A for ; Sun, 17 Feb 2019 03:54:09 -0600 (CST) Received: by mail-ot1-f70.google.com with SMTP id a1so11799781otl.9 for ; Sun, 17 Feb 2019 01:54:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umn.edu; s=google; h=mime-version:from:date:message-id:subject:to; bh=JxCI/HEpNH2J+esCfT0PRFj4wLCHZdyy9zuLcAg2yIg=; b=IulkKivIEuLurh9lPF7pAg0OZRayLPEtHFgNj4KY7ez3eELx2FRr9NlruFjHiJaF2v 6gyZ2tsTs5hyjS7FAWwbjxXS1Pyg4pPEIlUShjwDUDWOYxmUzcDli75G7XcItXOwE5kK uQmqJ4gikf8MHzoi7T65nr/5SXzLzp58u22zBlcA1Z0rvYi/GbEZpL8CAxLKc+ujHp2N KQ7yaQtsT7Ph6F4WSH0l2yxckGdy1OuCE2Lytg+dx3bxr1+gKuKfPcajAn5SsrRZtZBi B5UdTNKy8l271+npkSVi7pE+p9yBodGA1936pZT/0/zSWYnG7+k+avyjilDdrO+4PEFP Qrnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=JxCI/HEpNH2J+esCfT0PRFj4wLCHZdyy9zuLcAg2yIg=; b=HHQ7KHAtNwb4lG55i/IOeuVUkOzm+FI2ZUFKotOidkDWqIaqjjC85AseSLxA+WHnQN irdUyjnO4stv/fxfhwRpbWijTgLmY5bxc/sgHGbmeMG5DmrppyXAqRkcqEJvHqwZ6XiJ ogdmg5HmCBIx51VL6DmZfst3lROSmREGcG6+8zTZj4NDHEwioEKZ3dCZSy9UAZ9PDlwO qYFTBhD8nA2t2MmtaarEE7s1QkXj/wStXVhd9xvlmB1lMlsu+YXBCgyb5vcAYg9Cq48B G2nEma+7lo5BnWcC4SPK4VwhuFE+Zb1uVwgJhG2Qltgj5SOiIsom71GgiluzTzlwmxgE uWsw== X-Gm-Message-State: AHQUAubuINl2ox+468YuCEJnQc4cOJpjQ7H4Dba9i6gLLz9EqZYstP/u +IQJduPg9SBZ47UGfg5P/4H1PVDTzJhHI3vHJtub2mwxi0Fco4A5gCeV+OWJepNCXS70GEy4oMm idUtVwnHIfxJrTPWvcbKc9R8saPPj0Yd2I/l1TQ== X-Received: by 2002:aca:b104:: with SMTP id a4mr11203985oif.133.1550397249200; Sun, 17 Feb 2019 01:54:09 -0800 (PST) X-Google-Smtp-Source: AHgI3IYmChlUm1AxcWrTE6PClBDPhxCcwLu8rSD4TGT4aXwXeK+e6WUH3VTrYkGlETnIwlhp88Enp1GceNnLHNPFaEA= X-Received: by 2002:aca:b104:: with SMTP id a4mr11203972oif.133.1550397248725; Sun, 17 Feb 2019 01:54:08 -0800 (PST) MIME-Version: 1.0 From: Oscar Bastidas Date: Sun, 17 Feb 2019 03:53:56 -0600 Message-ID: Subject: Question for Installing Java Apache Binaries Using pkg To: freebsd-doc@freebsd.org X-Rspamd-Queue-Id: C7E458E60A X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=umn.edu header.s=google header.b=IulkKivI; dmarc=pass (policy=none) header.from=umn.edu; spf=pass (mx1.freebsd.org: domain of obastida@umn.edu designates 134.84.196.208 as permitted sender) smtp.mailfrom=obastida@umn.edu X-Spamd-Result: default: False [-4.65 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[umn.edu:s=google]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; RBL_COMPOSITE_RCVD_IN_DNSWL_MED_DWL_DNSWL_LOW(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:134.84.196.192/27]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-doc@freebsd.org]; TO_DN_NONE(0.00)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(0.00)[umn.edu.dwl.dnswl.org : 127.0.11.1]; DKIM_TRACE(0.00)[umn.edu:+]; RCVD_IN_DNSWL_MED(-0.20)[208.196.84.134.list.dnswl.org : 127.0.11.2]; DMARC_POLICY_ALLOW(-0.50)[umn.edu,none]; MX_GOOD(-0.01)[mta-p13.oit.umn.edu,mta-p11.oit.umn.edu,mta-p17.oit.umn.edu,mta-p9.oit.umn.edu,mta-p16.oit.umn.edu,mta-p12.oit.umn.edu,mta-p14.oit.umn.edu,mta-p18.oit.umn.edu,mta-p10.oit.umn.edu,mta-p15.oit.umn.edu]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.92)[-0.924,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:217, ipnet:134.84.0.0/16, country:US]; IP_SCORE(-0.01)[country: US(-0.07)] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Feb 2019 09:54:21 -0000 Hello, I would like to install the external Java library known as 'HttpClient' on my Android tablet so that I can use it in my Java code (I use the Linux emulator known as Termux and the ecj compiler available for it - I am trying to do *all* of my coding on my Android tablet without touching a 'real' computer - so far it's been working). On the Apache website ( https://hc.apache.org/downloads.cgi), the binaries for 'HttpClient' are available for download (I was specifically recommended HttpClient 5.0 for my endeavors by Apache personnel), but this is where I am stuck (they also have 'source' files available in .tar.gz and .zip formats too, just like the binaries). Would you please tell me how I should proceed with using the available binary download along with Linux's 'pkg' command? I imagine I'll need to download the binary for starters, but where does it go (I have a hunch where it *might* go in the Termux world, but not sure, but I don't mind trying it for starters)? How does 'pkg' know where binaries are sitting to open them up? Once it's in the right location, wherever that may be, can I just execute the 'pkg install BINARY_NAME dx' command? Should I convert/compile the binaries to 'dex' first? I should note that using the above paradigm for standard Termux packages necessitates having the 'dx' at the end of the pkg installation command (because Android's virtual machine is dalvik which I think only processes 'dex'). Given that this is the case, should I use the the 'source' instead of the binary and compile everything in it using Java to obtain 'dex' files, then stick those results into the correct location in order to use 'pkg'? Thanks for any insight, direction or guidance you can provide me with and please do excuse me if my questions are naive, but I am kind of new at this field and trying to teach myself as I go along. Oscar