On issuing the command sudo dpkg -i (package name) at chronos@localhost ~ $, I get the response sudo: dpkg: command not found. Anyone know why? I'm trying to load version 3 of network-manager and three related files to correct a known problem accessing wifi in 12.04 on some Toshiba computers, so Ubuntu is offline. I've downloaded the four files, but I'm unclear on where they should be stored in order for dpkg -i (package name) to find them. Could I pursue the installation via apt-get if dpkg is actually missing. If so, what would be the correct command syntax?
sudo dpkg -i is used to install deb file. if you have deb files downloaded then run this command. try to search the hardware driver in hardware manager.
apt-get install command search the software manager which is hosted on launchpad, whether this software is available on software channel.
for example: sudo apt-get install vlc
if it is available in software channel, it will install without any problem.
first of all please tell do you have the deb files? is yes then try: sudo dpkg -i
else search the driver in hardware manager. And if still you didnt get the driver install, please reply the model name of your system and wifi model build in the system. so that I can tell you how can you install the drivers.
It is unlikely that dpkg is missing from your system. If such a thing were possible, you couldn't download and install dpkg without dpkg! What is the result of:
If it outputs text about how to use the command, then the command is present.
It doesn't matter where you downloaded the deb files as long as you navigate the terminal to that location first. For example, suppose you downloaded the files to your desktop. Then in the terminal:
Now list the contents of the directory:
Are all the debs shown?
If so, install them:
You can use the wildcard * to keep from typing the entire file name. You can also do:
dpkg will attempt to install all of them at once and notify you if you have any missing dependencies.