Using slackpkg to download from a mirror
I am trying to install Java, I have the link here, and I would like to install it the correct way (using slackpkg). How can I do this? For some reason the files I am trying to download aren't on my Slackware installation disk.
|
Quote:
Code:
wget -r -np -nH --cut-dirs=3 -R "index.html*" https://mirror.csclub.uwaterloo.ca/slackware/slackware-14.2/extra/java/ And just in case you haven't already, take a look at this: Java in Slackware |
Quote:
I'm sure you can notice that the version in /extra is extremely old. It would not be advisable to install this version. As much as it is noble for you to want to attempt to install Java in the time-honoured method, I believe the time-honoured method is not suitable in this case. It may be better to install one of these versions of openjdk instead: http://www.slackware.com/~alien/slac...openjdk/pkg64/ Requesting thread move to the Slackware forum. |
Quote:
The only thing is if the OP wants to do it this way on 32-bit, the last 32-bit version I could find on Oracle's site is EOL and requires an account to download. So, openJDK could be the better way to go. I don't have much experience with Java besides what I wrote above, so if I missed something I apologize. |
Quote:
|
Quote:
From the link you provided in your original post I'm guessing you're wanting to install JDK on 32-bit system? Did you try and install the latest JDK, the one I mentioned? That one is only for 64-bit. If you try to install that on a 32-bit system, it should install fine, but you will get a run-time error. If you're determined to do it this way you'll have to install a 32-bit version of JDK: jdk-8u221 But you have to sign up for an account first before you can download it. It's probably easier to go with Lysander666's suggestion and install openJDK. When you open that link click on 'parent directory' then 'pkg' to access the 32-bit versions. |
@CyDFect
You should build your own JDK package from SlackBuilds, then you can use the standard Slackware package tools installpkg/removepkg: http://www.slackbuilds.org/repositor...velopment/jdk/ Here's an example on how to use SlackBuilds (in case you're inexperienced): https://www.linuxquestions.org/quest...4/#post6027334 And you can get the Oracle JDK package without registering: https://www.linuxquestions.org/quest...ml#post6023483 |
Quote:
|
All times are GMT -5. The time now is 08:48 PM. |