Guys: I'm tearing my hair out on this problem. I have 2 .deb files ready to install, and when I do sudo apt-get install *.deb I get:
E: Unable to locate package discord-0.0.14.deb
E: Couldn't find any package by glob 'discord-0.0.14.deb'
E: Couldn't find any package by regex 'discord-0.0.14.deb'
E: Unable to locate package XnViewMP-linux-x64.deb
E: Couldn't find any package by glob 'XnViewMP-linux-x64.deb'
E: Couldn't find any package by regex 'XnViewMP-linux-x64.deb'
My ls -lah shows:
drwxr-xr-x 2 root root 4.0K Mar 24 08:56 .
drwxr-xr-x 10 root root 4.0K Mar 2 20:57 ..
-rwxrwxr-x 1 kcredden kcredden 69M Mar 24 08:54 discord-0.0.14.deb
-rwxrwxr-x 1 kcredden kcredden 52M Mar 24 08:52 XnViewMP-linux-x64.deb
There was one fix that said some app wasn't installed, which I did and it fixed it then. But now I've got the same problem, so any help?
NAME="Ubuntu"
VERSION="20.04.2 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.2 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
sudo apt install ./discord-0.0.14.deb
orsudo dpkg -i discord-0.0.14.deb
. Notice when using theapt
command you put a./
in front of the file so thatapt
knows you are using from the folder you are in../
when referring to packages in the current directory when usingapt
.