Just trying to install VS studio. I'm following the project odin tutorial, have downloaded the file, but when I run the next line:
sudo apt install ./code-latest.deb
I get the error: .
USER is not in the sudoers file
I've tried
sudo adduser USER sudo
and
sudo usermod -a -G sudo USER
I'm running this on a freshly installed Ubuntu 22.04, in VirtualBox.
I don't understand what I'm doing, or why it's not working in the first place. I'm just starting to learn to code, please help.
apt
command as it's a snap only system, are you sure you're using 22 & not 22.04 or 22.10 (the year [eg. 22] products differ to the more widely used year.month [eg. 22.04 or 22.10] format products) – guiverc Feb 04 '23 at 00:41apt install
andsnap install
commands), the 22 flavor is snap only thus can only usesnap install
) – guiverc Feb 04 '23 at 01:05snap install
won't work. If the file may have been renamed, you can ask the system to confirm what type it is (usingfile
which looks at the contents of the file for its report) with SNAP files installed usingsnap
, and DEB files installed withdpkg
(or front-ends likeapt
). Ubuntu 22.04 still doesn't tell us if you installed Ubuntu 22.04 LTS Server, Ubuntu 22.04 LTS Desktop etc.. as they can have different defaults. – guiverc Feb 04 '23 at 02:07