apt-get not found
时间: 2023-09-22 15:14:22 浏览: 126
docker容器中 bash: vi: command not found,docker apt-get 异常 Temporary failure resolving
As an AI language model, I don't have access to the specifics of your computer's configuration, but here are some general steps you can try to resolve the "apt-get not found" error:
1. Check if you are running a Debian-based Linux distribution. apt-get is a package manager commonly used in Debian-based systems like Ubuntu, Debian, and Mint. If you are running a different Linux distribution, it may not have apt-get installed by default.
2. Check if you have administrative privileges. To use apt-get, you need to have administrative privileges. Try running the command with sudo: "sudo apt-get [options] [package]".
3. Check if apt-get is installed. Run the command "which apt-get" or "dpkg -l | grep apt", which should tell you whether apt-get is installed or not.
4. If apt-get is not installed, try installing it using your system's package manager. For example, on Ubuntu, you can use the command "sudo apt install apt" to install apt-get.
5. If none of these steps work, it's possible that your system is experiencing a larger issue. It may be worth seeking assistance from a technical support professional.
阅读全文