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 install terminator without root privilege? #332

Closed
fanronghong opened this issue Dec 26, 2020 · 2 comments
Closed

How to install terminator without root privilege? #332

fanronghong opened this issue Dec 26, 2020 · 2 comments

Comments

@fanronghong
Copy link

Hi all,

I want to install terminator on centos, but I have no root privilege. And I have troble with figuring out dependencies.
So is there any binary package which I can use for simple installation?

Thanks in advance!

@mattrose
Copy link
Member

All I know for sure is what is in INSTALL.md. If you have python3-gobject (basically the python gobject-introspection libraries) and vte291 you should be able to install the python dependencies through pip.

If you don't have any GTK libraries and want to run terminator, you could use jhbuild to install the GTK libraries, and then use pip to install python dependencies.

@zothar
Copy link
Contributor

zothar commented Dec 28, 2020

I did some playing on a Centos 7 LXC container and it looks like, assuming you already have all the needed RPMs installed to the target system (maybe the server admin won't mind missing ones mentioned in INSTALL.MD?), that this might work with a release tarball:

python3 setup.py build
python3 setup.py install --user

If you don't have gettext available, but do have everything else, then you'll want to use something like this with the current release (I believe the extra steps won't be needed if #342 is merged and the next release after that is available (or used the Download ZIP feature after merge)):

python3 setup.py --without-gettext build
cat data/terminator.desktop.in |sed "s%_%%" > data/terminator.desktop
cat data/terminator.appdata.xml.in |sed "s%_%%" > data/terminator.metainfo.xml
python3 setup.py --without-gettext install --user

Because of another issue I've not yet sorted out, you'll probably want to run terminator after one of the above installs in a weird way, with something like:

~/.local/lib/python3.6/site-packages/terminator-2.0.1-py3.6.egg/EGG-INFO/scripts/terminator

I'll caveat that I got it to install and run enough to tell me that I hadn't forwarded an X11 environment to that LXC container, so it may still complain about things I missed.

Looking at my history, these may get you past dependencies that don't have to be installed via RPM:

pip3 install --user pytest-runner
pip3 install --user pycairo
pip3 install --user psutil

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