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

install system-wide #396

Open
perrette opened this issue Mar 1, 2024 · 3 comments
Open

install system-wide #396

perrette opened this issue Mar 1, 2024 · 3 comments

Comments

@perrette
Copy link

perrette commented Mar 1, 2024

After installing on Ubuntu 22.04 using dpkg-buildpackage -j4 --no-sign (as suggested in the documentation), grive was only installed locally in the build directory. I had to make an additional sudo make install from the build directory to have it installed system-wide. Assuming (guessing) this would apply to other distributions as well, I thus suggest the documentation to be updated with:

dpkg-buildpackage -j4 --no-sign
cd build
sudo make install
@jankatins
Copy link

jankatins commented Mar 1, 2024

dpkg-buildpackage -j4 --no-sign will create deb packages in the parent directory. So it should be followed by sudo dpkg ../grive*.deb (there are also debug packages created, so make sure you install only proper grive package!).

Basically never run sudo make install, it will install global files which are outside the package manager, which might result in inconsistencies.

@perrette
Copy link
Author

perrette commented Mar 1, 2024

Oh, too late. Thanks anyway :)

@perrette
Copy link
Author

perrette commented Mar 1, 2024

Anyway my suggestion is therefore to add that to the README. Feel free to do / not do and close the issue.

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

2 participants