I'm new to Linux. I want to have
apt-get on my machine, but similar posts suggested to use
dpkg. I don't have any of those utilities, only
Is there a way to solve this problem?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
Before you can use Linux commands on a Chrome system, you must enable Linux (beta). It is off by default, because, as the name says, it is beta.
The following steps are taken from the Google documentation, clarified slightly after verifing them on a Chromebook:
(first Q had "only sh" without mention of chrome OS)
You cannot have "only sh". You can, somehow, but that is only theoretical. With a shell alone you cannot even list files or mount, you only have builtins like "echo".
It always starts with a running system; either an existing one, or one that is booted from a external storage, like a USB pen. These you get 99% from a distro - no matter if it is labeled "Live CD", "Insatll" or "Rescue".
apt-get means dpkg means debian, at least debian-based. So choose a distro from the "apt-get" family, make bootable USB, and then you will have apt-get and more.
You should always use the (correct) paket manager for installing and maintaining. If you install or remove "besides" your manager/distro, it will soon become unmanageble.