Very simple question from new user: non-clearlinux packages

Hi!

I’m very, painfully new to using clearlinux, and I need to use tidy html. Tidy html isn’t on clearlinux by default, so I used rpm2pcio to get the source files. I have them on my clearlinux system. Just to be completely clear, I’m talking about this tidy: https://www.html-tidy.org/

Upon doing this, I realized… I have no idea where to put these files to allow them to be used, as they don’t let tidy work by default. Am I overthinking this, and there’s just some “add to path” type of thing that needs to be done? Am I approaching this wrong/ is there a better way to get nonclearlinux packages on a clearlinux system?

Any help you can offer is greatly appreciated, I have tried google, and it seems that the answer is masked by more popular results, or the answer is obvious and under a different name that I’m not aware of.

Many thanks all,
-J

Hi, you could check this post on this very forum on how to use other distro’s packages on Clear:

1 Like

Thank you! I’ll update this comment if it works for me.

2 Likes

I have successfully ‘distrobox created’ an ubuntu container on CL. However, when trying to enter the container, I get:
clear@clearLinux/root $ distrobox enter dbUB
Container dbUB is not running.
Starting container dbUB
run this command to follow along:

  • docker logs -f dbUB*

Error response from daemon: could not copy source hosts file /etc/hosts to /var/lib/docker/containers/05e58adb6ac647848dadf106580c75f7f0c1856110a39630baa47fa1f3dee021/hosts: read /etc/hosts: is a directory
Error: failed to start containers: dbUB

What is causing this and how to fix?

I can run the container in ‘rootless’ docker without any problem…

Thank you.

Hello, try “sudo touch /etc/hosts” at first.
And if required, try next description in hosts.

127.0.0.1 localhost
127.0.0.1 [host name of Clear Linux]
127.0.0.1 [host name of Ubuntu container].[host name of Clear Linux]

https://impsbl.hatenablog.jp/entry/MIDonClearLinuxWithDistrobox_en
https://impsbl.hatenablog.jp/entry/JapaneseInputOnClearLinuxWithMozc_en

2 Likes