•  Home
  •  Dashboard
  •  Company
    • About Us
    • Blog
    • Careers
    • Contact Us
    • Data Centers
    • Looking Glass
    • Network
    • Reseller
  •  Hosting Services
    • Infrastructure
      • iColocation
    • Compute
      • cMetal
      • cVirtual
    • Storage
      • sObject
      • sBlock
    • Networking
      • nCDN
      • nIP Transit
      • nWavelength
    • Protection
      • pBackup
      • pDDoS
  •  Solutions
    • Ecommerce
    • Finance
    • Gaming
    • Hosting
    • Management
    • Security
    • System Integrator
  •  Support
    • Community
    • Knowledge Base
    • Open A Ticket
  •  USA & Canada: 800-933-1517
  •  International: 626-549-2801
  •  Email: sales@psychz.net
  • Services
    • new-colocation-header-img
      Infrastructure
      • iColocation
    • new-compute-header-img
      Compute
      • cMetal
      • cVirtual
    • new-storage-header-img
      Storage
      • sObject
      • sBlock
    • new-networking-header-img
      Networking
      • nCDN
      • nIP Transit
      • nWavelength
    • new-protection-header-img
      Protection
      • pBackup
      • pDDoS
  • Solutions
    • Ecommerce
    • Security
    • Gaming
    • Hosting
    • Management
    • Finance
    • System Integrator
  • Dashboard

易get命令未找到

  • Home
  • Client
  • Qa Forum
  • 易get命令未找到

Posted By: Jon | 1 Replies | Last Reply On: Apr 10, 2017 00:38:02

如何修復容易get命令未找到

Psychz - Sharad

Votes: 0Posted On: Apr 10, 2017 00:38:02
 

 

To troubleshoot any error pertaining to the “apt-get” command, you need to have a basic understanding of what the said command actually does. APT (Advanced Package Tools) is a set of tools for managing packages of Debian operating systems and its derivatives like Ubuntu. These packages consist of all the primary and auxiliary applications required for various functions.

 

apt-get command

A simple command line tool, the apt-get command performs the functions of installing, removing, updating and upgrading a package. The commands used for these functions are discussed in brief.

Installing a package : sudo apt-get install

Removing a package : sudo apt-get remove

Updating a package : sudo apt-get update

Upgrading a package : sudo apt-get upgrade

For information about the command : apt-get help

 

apt-get: command not found

 

  • Check your operating system

The APT packages are used in Debian operating systems and its derivatives. If you are getting the error message “apt-get : command not found ” please check the operating system you are working on. The “apt-get” will not work on RHEL and its derivatives like CentOS. These operating systems use the “yum” repository that contains all the software packages. To install packages in these operating systems, use the “yum” command.

 

  • Check the directories

Run the command:

locate apt-get

The following output should be displayed: /usr/bin/apt-get

If the command returns no output, then you have no “apt” package installed. You will have to install the apt package manually by accessing the “ /etc/apt/sources.list” file.

This file contains all the relevant links to install or upgrade packages. Choose the appropriate mirror from the list.

The mirror will look something like this:

 

 

 

 

 

 

 

 

 

 

 

In the mirror, go to the “/pool/main/a/apt/ ” directory and download the correct “.deb ” file suitable for your architecture.

You can install the file by running the following command:

sudo dpkg -i apt -xxx.deb

Here is a sample output of the “ /pool/main/a/apt/ ” directory.

 

 

  • OS Reinstallation

If after running the command “locate apt-get” , no output is displayed, check the file “apt-get” in the directory /usr/bin/. If the directory “ /usr/bin ” is completely empty there is no option other than to reinstall the operating system.

 

 

 

 

Was this reply helpful?

Related topics

  • 頂級CRM軟件
  • 窗口正在關閉在Windows Server 2003
  • cVirtual Best Security Practices
  • What is the difference between Rack Server and Blade Server?
  • The Ultimate Guide to Choosing the Best Data Center Location
  • Recommendation for multi site replication and backup?
  • Power: An integral part of the Data Center
  • OpenShift vs. Docker
  • Mirai Botnet Co-Authors Plead Guilty on Two Charges
  • Linux File Permissions Cheat Sheet
  • How large is a dedicated server market?
  • Cheap switch/router that offers good bandwidth port limiting?
  • Centos add virtual IP(s)
  • Best data center locations?
  • Add Gzip Exclusion
Copyright © 2025 Psychz Networks,
A Profuse Solutions Inc Company
Hosting Services
Infrastructure
  • iColocation
Compute
  • cMetal
  • cVirtual
Storage
  • sObject
  • sBlock
Networking
  • nCDN
  • nIP Transit
  • nWavelength
Protection
  • pBackup
  • pDDoS
Company
  • About Us
  • Blog
  • Careers
  • Contact Us
  • Data Centers
  • Looking Glass
  • Network
  • Reseller
Policies
  • Acceptable Usage Policy
  • Privacy Policy
  • Service Level Agreement
  • Terms and Conditions
Support
  • Community
  • Knowledge Base
  • Open A Ticket
Get In Touch
  • Psychz Networks,
    A Profuse Solutions Company
    611 Wilshire Blvd #300
    Los Angeles,California 90017
    USA
  • US/Canada: 800-933-1517
  • International: 626-549-2801