[GH-ISSUE #2503] How to install deb packages inside chroot firejail #1627

Closed
opened 2026-05-05 08:16:51 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @Raj2032 on GitHub (Mar 2, 2019).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2503

I downloaded a deb package in my main system, now I want to know how do I run the deb package inside the chroot firejail?

Originally created by @Raj2032 on GitHub (Mar 2, 2019). Original GitHub issue: https://github.com/netblue30/firejail/issues/2503 I downloaded a deb package in my main system, now I want to know how do I run the deb package inside the chroot firejail?
Author
Owner

@smitsohu commented on GitHub (Mar 2, 2019):

I assume this is a continuation of #2477?

Just chroot into the directory and install the package like you normally do. Once the application is installed, run it from outside the chroot as normal user with firejail --chroot=/directory.

Don't forget to keep chroot environment and application up to date.

<!-- gh-comment-id:468949328 --> @smitsohu commented on GitHub (Mar 2, 2019): I assume this is a continuation of #2477? Just `chroot` into the directory and install the package like you normally do. Once the application is installed, run it from outside the chroot as normal user with `firejail --chroot=/directory`. Don't forget to keep chroot environment and application up to date.
Author
Owner

@smitsohu commented on GitHub (Mar 2, 2019):

I'm assuming here that you populated the chroot directory with a tool like debootstrap.
DON'T install something in the chroot if all is only bind-mounts, you might screw your system if you don't know what you are doing.

<!-- gh-comment-id:468949817 --> @smitsohu commented on GitHub (Mar 2, 2019): I'm assuming here that you populated the chroot directory with a tool like debootstrap. DON'T install something in the chroot if all is only bind-mounts, you might screw your system if you don't know what you are doing.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#1627
No description provided.