简体   繁体   中英

How to Update Repositories in Puppy Linux - sudo apt update command not found

When I type "sudo apt update" in a console window, I get the following errors.

root# sudo apt update
sudo: apt: command not found
root# apt
bash: apt: command not found
root# sudo apt update
sudo: apt: command not found
root# sudo apt upgrade
sudo: apt: command not found
root# sudo apt-get update
sudo: apt-get: command not found
root# apt-get update
bash: apt-get: command not found
root# 
root# pwd
/root/.local/share
root#

Looks like Puppy Linux does not use the apt package manager. A quick Google shows that it uses PPM instead. Here's a quick guide on what this is/how to use it. http://wikka.puppylinux.com/PPM?redirect=no

Note that not all distributions of Linux use the same package manager, and all for different reasons. It might be worth reading into apt vs. yum/dnf vs. rpm, etc.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM