Skip to content

Issue with using apt-get / sudo: apt-get: command not found

I have an issue with Apt package.
It seems that the apt-get is not installed. could you help me with this problem?


admin@axcf2152:/opt/plcnext/config/System/Um$ sudo apt-get update
Password:
sudo: apt-get: command not found

or
root@axcf2152:/opt/plcnext/config/System/Um# sudo apt-get install gcc python3-dev
sudo: apt-get: command not found

Comments

  • The custom Linux distribution that runs on PLCnext Control devices does not include apt or apt-get, and currently we don't recommend that they be used.
  • edited March 2022
    How can I installed packages?
    for example:
    I need to install :
    sudo apt-get install gcc python3-dev

  • If the software is not available as a PLCnext Store app, and in this case I don't think it is, then you could try installing the package in an OCI container (requires technical knowledge of how to build and use OCI images and containers), or you could try cross-compiling the package from source, or you could try manually installing suitable binaries for the target platform by hand. These all require some level of general Linux experience and/or general experience with OCI containers.

    I'm sorry there's not a simpler solution. You are not the only one who thinks a fully-functioning package manager on PLCnext Control devices would be a good idea, but unfortunately there are no plans for this at the moment.
  • Hi Martin,
    Thank you for your prompt reply. I will follow your tips.
Sign In or Register to comment.