Collectives™ on Stack Overflow
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about Collectives
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about Teams
I am downloading MySQL and I 've been told to download a .deb, so I download a
mysql-apt-config_0.8.15-1_all.deb
from the website. The problem is that when I type in
sudo dpkg -i mysql-apt-config_0.8.15-1_all.deb
, the terminal says
sudo: dpkg: command not found
. I know that this question has been posted before, but I couldn't understand the solution, is there any simple way that I can fix this? Thanks in advance.
On Mac, use
brew install dpkg
.
If brew is not installed, try
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
Then use
brew install dpkg
and then you can simply use
dpkg -i
.
–
–
–
–
–
Yes, most probably you are on the wrong shell. Type bash or sh before running the dpkg command. I hope this works! If it doesn't comment below! If it works please accept!
Note: dpkg -i not dpkg-i
Thanks for contributing an answer to Stack Overflow!
-
Please be sure to
answer the question
. Provide details and share your research!
But
avoid
…
-
Asking for help, clarification, or responding to other answers.
-
Making statements based on opinion; back them up with references or personal experience.
To learn more, see our
tips on writing great answers
.