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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With