[ home / board list / faq / random / create / bans / search / manage / irc ] [ ]

/hydrus/ - Hydrus Network

Bug reports, feature requests, and other discussion for the hydrus network.

Catalog

8chan Bitcoin address: 1NpQaXqmCBji6gfX8UgaQEmEstvVY7U32C
The next generation of Infinity is here (discussion) (contribute)
Name
Email
Subject
Comment *
File
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Embed
(replaces files and can be used instead)
Options
Password (For file and post deletion.)

Allowed file types:jpg, jpeg, gif, png, webm, mp4, swf, pdf
Max filesize is 8 MB.
Max image dimensions are 10000 x 10000.
You may upload 5 per post.


New user? Start here ---> http://hydrusnetwork.github.io/hydrus/

File: 1438675471501.jpg (89.8 KB, 540x540, 1:1, ground zeroes.jpg)

 No.989

How exactly do I install on Linux?

The install instructions seem exclusive to Windows.

 No.994

File: 1438711773549.jpg (251.61 KB, 1184x695, 1184:695, 344c1f9e7405801b965b69fcc1….jpg)

If you run something like Ubuntu, the Linux executable release should work. This is the latest:

https://github.com/hydrusnetwork/hydrus/releases/download/v167/Hydrus.Network.167.-.Linux.-.Executable.tar.gz

Extract it somewhere and run the executable file 'client' inside the base directory. You can do that from the terminal by navigating to the directory and going './client'. I am sure there is a way to create a shortcut icon to do this, as well.

If you know how to use python, you can run from the source, here:

https://github.com/hydrusnetwork/hydrus/archive/v167.tar.gz

I am not an experienced Linux/OS X user, so my personal support for non-Windows is limited. I know some other users have had success in Arch Linux by creating a package of some sort, but I don't understand those processes myself.

I am planning to work on the help files next week, as it is very out of date in places. I'll make sure to expand the non-windows installation stuff. If you have any more feedback on the help as a new user, I would appreciate it.


 No.997

Launching the binary through the terminal gave me "bash: ./client: cannot execute binary file" as an output.

Wat do?


 No.998

File: 1438793383237-0.png (14.34 KB, 451x159, 451:159, 2015-08-05-170747_2944x108….png)

File: 1438793383237-1.png (22.65 KB, 780x400, 39:20, 2015-08-05-172056240871625.png)

>>997

It sounds like the executable bit got stripped

To fix that:

chmod 755 client server

Though (if this is indeed the problem) I'd be worried that it happened in the first place. Perhaps whatever you used to extract the tar.gz is faulty.

>>989

If you are on Arch Linux, I've been maintaining an AUR package which should handle everything for you.

https://aur4.archlinux.org/packages/hydrus/

Please note, if you try to install hydrus from the AUR and get served version 159 instead of the latest, it means your AUR helper is pointing to the old AUR and might need updating. If you run into any problems (i.e. if the install is any more complicated than just pointing your AUR helper at it and letting it do its thing), leave me a comment there and I'll fix it up if I can.

If you're on Arch, here are a few reasons you should use this rather than the official release IMO:

* It takes the size of the Hydrus release down from 164MB (from the Linux tar.gz) to about 30MB. If you remove the source and help files too (there's an option in the PKGBUILD to safely do this), you can get a nice minimal Hydrus install at 2.8MB(!)

* It's kept in source form, so you can go in there and hack at it if you must. (Unless you explicitly opt to remove the source of course) This is better than just cloning from the github, because that requires manually setting up dependencies and such.

* When an error occurs, the tracebacks include a snippet of source code. (Pic related). This makes it easier for the technically inclined to diagnose bugs, and makes bug reports more accurate.

* You don't have to find and install all the python dependencies, you'll just pull them from the AUR like with any other program

* There are some (minimal) patches to the code to fix some issues like the "Just set up a server on this computer" option not working, and to cleanly separate the hydrus installation from the hydrus user data.

* It pulls from the git repository, so if you keep the PKGBUILD (and related files) in a safe place, updating it only has to fetch the differences since last update rather than the entire source code. I also make it pull from a specific commit hash, which ensures that the source is not tampered with and that the patches apply cleanly to a version they've been tested on.

* You can keep it updated using your usual AUR helper, along with your other AUR packages, in the usual fire-and-forget way. No need to go and download the new version manually.

* It's in your menus! (Pic related; I put it under both "Internet" and "Graphics" since I wasn't sure…)

* Hydrus is kept in /opt/hydrus while your hydrus data is kept in ~/.local/share/hydrus. So not only are they both "out of the way" (i.e. not cluttering your downloads folder), you can delete or upgrade hydrus without worrying about your hydrus data – or you can do the opposite, delete your hydrus data and keep your install so you can get it up and running again very quickly.

* It uses your local installation of ffmpeg, upnpc, wxgtk, etc. rather than giving you another one.

* If you're using linux-grsec you don't need to explicitly give hydrus MPROTECT permissions every update.

Also, if someone on a non-Arch distro is reading this, I encourage you to provide packages for users of your distro. It makes things a lot easier for other people and it can be your contribution to open source!


 No.1040

File: 1439605091952.png (11.56 KB, 721x413, 103:59, AUR hydrus.png)


 No.1059

>>1040

shit son, I'll have to take ownership of those packages too


 No.1060

>>1040

Okay, I've migrated those packages to the new AUR, it should hopefully work now.


 No.1065

>>1059

>>1060

You're doing good work anon, I also need to learn to do that stuff soon.

It's working now, thank you.


 No.1084

File: 1440893777790.png (17.45 KB, 667x437, 29:19, Screenshot from 2015-08-29….png)

I'm having trouble getting Hydrus to run as well. I'm on the latest release of Mint.

Trying to open the client via file manager does nothing and trying through the terminal gives me 'exec format error'.


 No.1085

>>1084

Try "uname -m". If it does not report x86_64, then your system can't run the official builds. If you have a 64 bit processor but "uname -m" reports i686 (or similar), you have downloaded a 32 bit version of linux and you should probably switch to 64 bit. (If you have a separate /home partition, the upgrade should be relatively painless.)

If you want to get hydrus working on your 32 bit machine, you will have to run it using the source provided in the git repository.

I don't know what they're called on mint, but these are the dependencies you'll need:

python2 wxpython opencv (ensure that opencv gets you the python bindings too; or install those if necessary)

And on the python side you will need:

beautifulsoup4 yaml hsaudiotag pypdf2 pafy lz4 numpy twisted pillow potr flvlib socks psutil send2trash

If any of the above are in apt, install them from there, otherwise use pip to install them.

Then, to get the server/client working, open the "client.pyw" and "server.pyw" lines in a text editor, add this to the very top, and save:

#!/usr/bin/env python2

Then you should be able to just run server.pyw and client.pyw.

I hope that works for you. I've not done this on Mint before but theoretically the process is similar on every distro.




[Return][Go to top][Catalog][Post a Reply]
Delete Post [ ]
[]
[ home / board list / faq / random / create / bans / search / manage / irc ] [ ]