I downloaded VS Code's .deb file for Ubuntu. I renamed it to vs.deb.
Then I go to my downloads directory:
cd ~/Downloads
And now that I'm here, I try to install it:
sudo apt install vs.deb
And here's what I get:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package vs.deb
E: Couldn't find any package by glob 'vs.deb'
But when I install it using ./vs.deb, then it gets installed:
sudo apt install ./vs.deb
Why doesn't Linux accept the name of the file inside the same directory without requiring the relative path?