eos icon indicating copy to clipboard operation
eos copied to clipboard

request: Linux/Darwin packages and repository

Open str opened this issue 8 years ago • 15 comments

Is it possible to get .deb packages instead of needing to build the project from src? It does take a lot of time to build it, and we all are doing the same process to generate the binaries.

str avatar Jan 02 '18 13:01 str

good idea

dearmark avatar Jan 03 '18 05:01 dearmark

Agree, I think it is overkill to build just to run eosd. It would be nice for joiners to adopt. We could create Docker image and let people to run eos on any platform.

taintech avatar Jan 05 '18 23:01 taintech

If you run cpack at the end of the build a Deb file is generated

asiniscalchi avatar Jan 19 '18 09:01 asiniscalchi

@asiniscalchi that would be something like:

 sudo cpack -G DEB -P eos -R 0.1-`date +%Y%m%d`

str avatar Jan 19 '18 14:01 str

Just run cpack: it is already configured in master branch. The patch for cpack in eos-noon branch is waiting merge. No need of sudo.

asiniscalchi avatar Jan 19 '18 15:01 asiniscalchi

Ohhh... I C, inside the build folder. Thank you!

str avatar Jan 19 '18 15:01 str

I've just tested cpackage on DAWN-2018-05-16 and same error:

sudo dpkg -i packages/eos.io_4.0.0-1_amd64.deb 
(Reading database ... 396368 files and directories currently installed.)
Preparing to unpack .../eos.io_4.0.0-1_amd64.deb ...
Unpacking eos.io (4.0.0) ...
dpkg: error processing archive packages/eos.io_4.0.0-1_amd64.deb (--install):
 unable to create '/usr/local/include/libc++/upstream/test/std/experimental/filesystem/Inputs/static_test_env/dir1/dir2/symlink_to_dir3/file5.dpkg-new' (while processing './usr/local/include/libc++/upstream/test/std/experimental/filesystem/Inputs/static_test_env/dir1/dir2/symlink_to_dir3/file5'): No such file or directory
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 packages/eos.io_4.0.0-1_amd64.deb


str avatar May 17 '18 23:05 str

@str We are actively working on .deb, .rpm and .dmg packages. Stay tuned.

pacificcode avatar May 18 '18 18:05 pacificcode

@pacificcode A snap package would also be useful. Snaps work on all major Linux systems without modification. https://snapcraft.io/

bitcoiners avatar May 19 '18 01:05 bitcoiners

It's still happening in 1.0.8

$ cpack 
CPack: Create package using DEB
CPack: Install projects
CPack: - Run preinstall target for: EOSIO
CPack: - Install project: EOSIO
CPack: Create package
CPackDeb: - Generating dependency list
CPack: - package: /home/str/src/eos/build/packages/eos.io_1.0.8-1_amd64.deb generated.

$ sudo dpkg -i packages/eos.io_1.0.8-1_amd64.deb 
(Reading database ... 471225 files and directories currently installed.)
Preparing to unpack .../eos.io_1.0.8-1_amd64.deb ...
Unpacking eos.io (1.0.8) ...
dpkg: error processing archive packages/eos.io_1.0.8-1_amd64.deb (--install):
 unable to create '/usr/local/include/libc++/upstream/test/std/experimental/filesystem/Inputs/static_test_env/dir1/dir2/symlink_to_dir3/file5.dpkg-new' (while processing './usr/local/include/libc++/upstream/test/std/experimental/filesystem/Inputs/static_test_env/dir1/dir2/symlink_to_dir3/file5'): No such file or directory
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 packages/eos.io_1.0.8-1_amd64.deb

str avatar Jul 05 '18 20:07 str

DEB PACKAGE is available for 1.4.1! Thank you.

Now we just need a repository.

str avatar Oct 19 '18 12:10 str

I'm a big fan of packagecloud.

josephholsten avatar Oct 19 '18 12:10 josephholsten

So, the deb package comes with cleos, keosd, nodeos. Should it also come with eosiocpp?

str avatar Oct 19 '18 15:10 str

eosiocpp is deprecated, so it is not included in the deb package. cdt has its own deb package that you should use instead.

brianjohnson5972 avatar Oct 29 '18 20:10 brianjohnson5972

There is a lot of baggage in the this old issue and a lot has changed. Closing this issue. Please open a new ticket if there are pieces that are still not covered (and not covered in one of the newer tickets covering similar requests).

brianjohnson5972 avatar Oct 29 '18 20:10 brianjohnson5972