nelhage / reptyr

Reparent a running program to a new terminal
MIT License
5.8k stars 215 forks source link

Is Rpi4(ARM64) running Ubuntu20.04LTS supported? #124

Open ageek opened 3 years ago

ageek commented 3 years ago

First of all, thanks for this wonderful utility. I understand that Ubuntu20.04LTS (for standard x86, x64 PCs) supports reptyr and it can be installed via apt-get, but I could not get it via apt for RPi4. Is it available via some PPA or Is there anyway I can compile it on RPi4 platform and use? Thanks for your time.

nelhage commented 3 years ago

I haven't tested it, but arm64 is supported and it should work if you build from source.

ageek commented 3 years ago

Thanks, will try it out and share my findings.

ageek commented 3 years ago

Compilation was straight forward and now it works like a charm. Thanks !

Puzzak commented 3 years ago

I'm noob totally, throw me into any good doc or please tell simply how to compile this package? Would be appreciated.

tarikaltuncu commented 1 year ago

sudo apt-get update -y && sudo apt-get install -y reptyr does not work on my raspoberry running ubuntu 22.04. Error is E: Unable to locate package reptyr

huyz commented 1 year ago

Yeah it's not in the apt repository for aarch64

ebroder commented 1 year ago

reptyr is available on 22.10 and later for the arm64 architecture (I don't think Debian or Ubuntu use "aarch64" for their 64-bit ARM architecture). Now that 22.04 has been released, it's not possible to update the packages in the release, but you could request a backport into the separate backports repository. (I don't have any reason to expect it to go badly)

Snuupy commented 4 months ago

I'm noob totally, throw me into any good doc or please tell simply how to compile this package? Would be appreciated.

@Puzzak necro but for anyone else out there:

I am running 22.04 LTS on my Oracle Cloud ARM instance, so it should be the same. Just git clone the repo, run make or make install. You can execute reptyr by running ./reptyr <PID>.

Take a look at https://github.com/nelhage/reptyr/blob/master/Makefile for more details.

Puzzak commented 4 months ago

@Puzzak necro but for anyone else out there: I am very well alive :)

This is quite a blast from the past, but still many thanks for the how-to ♥️