B
blendOS3y ago
ugane

How to install packages in arch container

How can I install packages such as blender in arch container. There is no sudo.arch in the container, and the password(different with the system password) is needed when using su.arch. The same problem occurs in the fedora container when using dnf.fedora. The password is different with the system password.
17 Replies
Asterisk
Asterisk3y ago
From the arch container execute sudo as sudo
Jena_thornwyrd
$ sudo.my-container su works great, then you can call pacman.
ugane
uganeOP3y ago
however, sudo.my-container does not exist in arch container
Jena_thornwyrd
how did you opened the shell ? Is it a shell from the system or you opened a shell inside the container ?
Asterisk
Asterisk3y ago
Yeah so run sudo
ugane
uganeOP3y ago
Both the default shell in the konsole and the bash.my-container. The sudo.my-container does not exist. The su.my-container requires the password which different from my password of my system.
Zephyr
Zephyr3y ago
When you're in a shell for the container you no longer need to do sudo.my_container, just sudo
ugane
uganeOP3y ago
I know this, however, the shell in the container shows me that sudo does not exist.
Zephyr
Zephyr3y ago
Ah, that's weird
Rafael
Rafael3y ago
sudo pacman.arch -Syu
Meefad
Meefad3y ago
Error showing "bash: sudo: command not found"
Meefad
Meefad3y ago
No description
Meefad
Meefad3y ago
@ム丂イ乇尺ノ丂ズ @Rudra | blendOS, Ubuntu Unity sir🙂🙂
Zephyr
Zephyr3y ago
Are all the containers like that? @Meefad @ugane can you try
/usr/bin/sudo
/usr/bin/sudo
From the container shell?
Meefad
Meefad3y ago
Shifted to the main arch. The system is a little bit slower than the vanilla arch. Like app opening time.
Zephyr
Zephyr3y ago
Okay
Rafael
Rafael3y ago
Run from outside the container
No description

Did you find this page helpful?