Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use this to "actually" install Srain on pop os ( based on Ubuntu)? #3

Closed
aasutossh opened this issue Mar 29, 2020 · 8 comments
Closed

Comments

@aasutossh
Copy link

aasutossh commented Mar 29, 2020

On [Installation](https://doc.srain.im/en/latest/install.html#debian) page it says:

Move the debian directory to srain’s project root directory, perform the following commands to build a deb package:

It's unclear.

@tomac4t
Copy link
Contributor

tomac4t commented Mar 29, 2020

@aasutossh Are you someone in IRC who asked how to install Srain on Pop!_OS before? This document more about how to packing a deb package. If you want to install the deb package which build by yourself, you can do that like: copy the debian folder to the srain folder, and then:

dpkg-buildpackage -b -us -uc; 
cd ..;
sudo apt-get install -f ./`find -name "srain_*.deb"`;

Note that you need to install the dependencies which can be found on debian/crontrol. Also note that some Ubuntu packages' name may different than Debian.

@aasutossh
Copy link
Author

aasutossh commented Mar 30, 2020

That was me, I was experimenting with my os, I lost (didn't document) the info.
Thanks for this again.

Edit: wasn't there somewhere make command to build it?

@tomac4t
Copy link
Contributor

tomac4t commented Mar 30, 2020

Do you means that make: command not found?

You can install the make package via:

sudo apt-get install make

@aasutossh
Copy link
Author

Do you means that make: command not found?

I mean wasn't there make install or similar command to build and install it?

@SilverRainZ
Copy link
Member

@aasutossh It was given in the doc you mentioned: https://doc.srain.im/en/latest/install.html#building

@tomac4t
Copy link
Contributor

tomac4t commented Mar 30, 2020

Hey @aasutossh, You may have a problem to package a .deb file due to debhelper compat level were specified both in debian/compat and debian/control files. You can delete the debian/compat file and try again. Sorry for inconvenience.

@tomac4t
Copy link
Contributor

tomac4t commented Jun 10, 2020

BTW, We add a Github workflow to upload the Debian package which builds in Github actions, so It's will be easy to install or remove srain now:

# download the latest package from release page: https://github.com/SrainApp/srain/releases
wget https://github.com/SrainApp/srain/releases/download/1.1.0/srain_1.1.0_amd64.deb
# install srain package
sudo apt install -f ./srain_1.1.0_amd64.deb
# remove srain package
sudo apt remove srain

@aasutossh
Copy link
Author

Good stuff. Thank you for the info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants