•  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

Команда apt get не найдена

  • Home
  • Client
  • Qa Forum
  • Команда apt get не найдена

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

Как исправить команду apt 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

  • How To Run Kubernetes on Psychz Networks Bare Metal Servers
  • How to setup a dedicated server for Conan Exiles
  • Deploy Psychz Dedicated Server Using Terraform Provider
  • How to setup a dedicated server for Counter-Strike: Global offensive
  • How to setup a dedicated server for 7 days to die
  • Топ программного обеспечения CRM
  • Окно Закрытие Windows Server 2003
  • Лучшие Полезные особенности Linux Mint
  • Zabbix vs Nagios vs Cacti
  • What is Intel Xeon Processor & Why Is It Used For Servers?
  • What are different types of web hosting servers?
  • SSH Reverse Tunnel
  • OpenShift vs. Docker
  • Dedicated Servers With cPanel
  • Dedicated Server in Germany with DDoS Protection
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