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 Software #27

Closed
bassmadrigal opened this issue Jul 17, 2021 · 3 comments
Closed

How to Install Software #27

bassmadrigal opened this issue Jul 17, 2021 · 3 comments

Comments

@bassmadrigal
Copy link

I'm trying to debug a HandBrake issue and I wanted to try running a later version through Conty than what I can run on my host distro due to older libraries. I'm not too familiar with Arch, but found pacman -S handbrake complains that I'm not root. Both sudo and su seem to not be configured.

Is it possible to install software like HandBrake to the conty system? I suppose I'm fine also compiling manually, but I wouldn't be able to install it to the system without root.

Also, does root work within the container? If so, how do I become root or gain root privileges?

Thanks for the great container! I use it most days for steam (I didn't want to take my host distro multilib).

@Kron4ek
Copy link
Owner

Kron4ek commented Jul 17, 2021

Hi,

Yes, installing packages is possible by using the -u argument, root rights are not needed. For example, to install handbrake:

./conty.sh -u handbrake

This will take some time because the whole squashfs image will be rebuilded. After that you can run handbrake (handbrake binary name is ghb): ./conty.sh ghb

Removing packages is also possible by adding minus sign before package names. To remove handbrake:

./conty.sh -u -handbrake

You can install and remove multiple packages at once:

./conty.sh -u pkgname1 pkgname2 -pkgname3 pkgname4

Using just -u without any additional arguments will simply update all packages inside the container.

@bassmadrigal
Copy link
Author

Perfect!

I'm assuming this is unique to each release I download? So if I need this in a future release, I would need to rerun the command against that conty release?

Also, if I am adding HandBrake in future releases, does it matter if I use the regular or lite versions of conty? I remember seeing the lite removes things like gcc, meson, cmake, etc. When I install software, would it need to download those packages or is that done outside of the container?

@Kron4ek
Copy link
Owner

Kron4ek commented Jul 18, 2021

I'm assuming this is unique to each release I download? So if I need this in a future release, I would need to rerun the command against that conty release?

Yes, you will need to rerun the command against each new release. The command only affects the file against which you execute it.

Also, if I am adding HandBrake in future releases, does it matter if I use the regular or lite versions of conty? I remember seeing the lite removes things like gcc, meson, cmake, etc.

No, in this case it doesn't matter what version to use. Both the regular and the lite version have the same functions and differ only in the number of included packages.

I remember seeing the lite removes things like gcc, meson, cmake, etc. When I install software, would it need to download those packages or is that done outside of the container?

It's done inside the container, it will need to download software you install each time for each new release. Gcc, meson, cmake and others won't be downloaded and installed to the lite version unless software you install depend on them or you explicitly specify them.

@Kron4ek Kron4ek closed this as completed Jul 21, 2021
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