Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

How do I install packages with bash?

+3 votes
asked Nov 13, 2021 by Peter Fischi (320 points)
I tried using sudo, but that appears not to be installed on the system. I also tried using su, but I don't know the password. Pip, Flatpak, and other options don't work as well. Could someone please tell me a way to install packages for my project, or the root password?

1 Answer

+1 vote
answered Nov 13, 2021 by Peter Minarik (86,180 points)

If we're talking about your own computer, then sudu really should be there. It is also possible your user account is not allowed to use sudo.

If you're trying to install something on the OnlineGDB servers, it's not gonna work. It is managed by the OnlineGDB team. Users of the site don't have access to install anything on the servers.

Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...