Coder Social home page Coder Social logo

Unzip to folder about i2p.i2p HOT 7 CLOSED

i2p avatar i2p commented on May 1, 2024
Unzip to folder

from i2p.i2p.

Comments (7)

herrjemand avatar herrjemand commented on May 1, 2024

@Bengt 0_o. Wat?

from i2p.i2p.

Bengt avatar Bengt commented on May 1, 2024

Perhaps a procedure helps you with following me:

When I do:

$ cd Downloads
$ wget https://download.i2p2.de/releases/0.9.16/i2pinstall_0.9.16.jar
$ java -jar i2pinstall_0.9.16.jar -console
Welcome to the installation of i2p 0.9.16!
 - I2P <https://geti2p.net/>
The homepage is at: https://geti2p.net/
press 1 to continue, 2 to quit, 3 to redisplay
1
Select target path [/home/bengt/Downloads]
1
[ Starting to unpack ]
[ Processing package: Base (1/1) ]
[ Unpacking finished ]
[ Console installation done ]
$ rm i2pinstall_0.9.16.jar

I get

$ ls ~/Downloads
blocklist.txt   eepsite      i2psnark.config       licenses     scripts
certificates    geoip        i2psvc                LICENSE.txt  systray.config
clients.config  history.txt  i2ptunnel.config      locale       Uninstaller
docs            hosts.txt    INSTALL-headless.txt  man          webapps
eepget          i2prouter    lib                   runplain.sh  wrapper.config

when I expected

$ ls ~/Downloads
i2p

Unfortunately, i2p does not work when copied to another folder, so the workaround is to either type the path the installer (yuck) or create the path manually like this:

$ mkdir Downloads/i2p
$ cd Downloads/i2p
$ wget https://download.i2p2.de/releases/0.9.16/i2pinstall_0.9.16.jar
$ java -jar i2pinstall_0.9.16.jar -console
Welcome to the installation of i2p 0.9.16!
 - I2P <https://geti2p.net/>
The homepage is at: https://geti2p.net/
press 1 to continue, 2 to quit, 3 to redisplay
1
Select target path [/home/bengt/Downloads/i2p]
1
[ Starting to unpack ]
[ Processing package: Base (1/1) ]
[ Unpacking finished ]
[ Console installation done ]
$ rm i2pinstall_0.9.16.jar

Note that this is an actually common use case: You get the installer from a webpage and browsers (should) download to the location set by xdg-user-dirs (usually ~/Downloads/). So the obvious thing is to execute the jar where it is placed automatically and hammer 1 and return till the installer finally does its thing. Since you can download an arbitrarily large amount of stuff from the web, the download folder is littered most of the time. In my case it was (fortunately) tidied up at the moment but usually that would have produced a mess and sprinkle 25 i2p files and directories across possibly even more downloaded files and directories.

from i2p.i2p.

herrjemand avatar herrjemand commented on May 1, 2024

@Bengt good point*)

from i2p.i2p.

silvernode avatar silvernode commented on May 1, 2024

I love making installers, I will make one for i2p and anyone interested in helping can submit pull requests. I want to try and make the installer as dynamic as possible, which includes getting dependencies per system (as much as can possible be added) such as java. If anyone has any ideas please shoot me a message on github.

I just realized this thread is almost a year old and I replied to it (ouch). I'm sure everyone here will get notified, so let me know what you think of my idea. Thanks

p.s. I have i2p running full time on a dedicated server just to help the network (rarely use it). Keep up the good work.

EDIT: A dynamic URL would be nice. I really don't know how to extract version numbers from webpages with something like curl. for an example of dynamic links, see telegram messenger download for desktop version.

from i2p.i2p.

Bengt avatar Bengt commented on May 1, 2024

@silvernode Thanks for commenting. Your idea seems to deserve an issue of its own at least. Perhaps it is even better to have it in an own repository. To make an installer, you need to have nicely organized packages first. This issue is about improving the packaging of this main package. Since no one seems to care, I doubt that an installer for multiple i2p packages is viable at this point.

from i2p.i2p.

silvernode avatar silvernode commented on May 1, 2024

@Bengt Actually I didn't mean to say installer. I meant to say downloader. Just a script to run that makes sure you have java on your distro and sets everything up before getting the jar and running the install.

from i2p.i2p.

eyedeekay avatar eyedeekay commented on May 1, 2024

I'll do this in i2p.firefox.

from i2p.i2p.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.