Linux Lite Forums

Software - Support => Installing Software => Topic started by: Matthew Cohen on May 26, 2020, 10:46:06 PM

Title: install brave browser from terminal under limited account
Post by: Matthew Cohen on May 26, 2020, 10:46:06 PM
Brand new to linux and I can't remember how to install software while running under a non admin account. My admin's name is billy-johnson but running

sudo -u billy-johnson apt install apt-transport-https curl

just prompts me for the sudo password for my current account (which doesn't exist because my current account is a limited account not a administrators)
Title: Re: install brave browser from terminal under limited account
Post by: firenice03 on May 26, 2020, 11:25:26 PM
@Matthew Cohen 
You could su to your user then sudo apt install.. Enter passwords as prompted..
So..
Code: [Select]
su username
sudo apt install package_name
Title: Re: install brave browser from terminal under limited account
Post by: Moltke on May 27, 2020, 01:49:41 PM
@Matthew Cohen @firenice03 suggestion will wok but I think
Code: [Select]
sudo apt-get install apt-transport-https curl will do too.

Hope this helps! :)
Title: Re: install brave browser from terminal under limited account
Post by: Matthew Cohen on May 27, 2020, 10:23:48 PM
Yep, I knew it was something easy like that.

su username lets me type in the password for the admin account and then I can go from there.

Thanks for the help. I'm sure you will be hearing from me again.

Matthew
Title: Re: install brave browser from terminal under limited account
Post by: firenice03 on May 28, 2020, 12:13:11 AM
No worries @Matthew Cohen good to hear it worked for you


If you could mark the thread solved (modify original post)
Title: Re: install brave browser from terminal under limited account
Post by: Matthew Cohen on May 28, 2020, 07:38:45 PM
I'd be happy to except that how to do so seems to be yet another inscrutable, uncrackable mystery...at least for me.  >:(  :(
Title: Re: install brave browser from terminal under limited account
Post by: firenice03 on May 28, 2020, 07:54:58 PM
I updated it..


Look at forum guidelines,...


Modify 1st post (upper right)
Then in select prefix (1st drop down) choose solved...


:)