Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

boot2docker on windows missing apt-get / package manager

I'm in boot2docker. I'm not entirely sure I understand it completely, but it seems to be needed for a project I'm on.

I've ssh'd in, and I tried to do a make on our project, but I got

make: not found

Then I tried a:

apt-get install make

And got

apt-get: not found

Tried googling, but couldn't find anything about that, or any package manager.

Any suggestions on how to install anything in boot2docker?

EDIT: When I asked this I misunderstood how boot2docker and docker worked hand in hand. There is actually a package manager (tce-load) that allows install of packages, but really, it shouldn't be used and anything involving a project using docker should be using a docker container within boot2docker that has the build tools inside of that. Although I did find tce-load useful installing nano, since I'm not a fan of vi and that's occationaly useful.

like image 322
phazei Avatar asked Oct 29 '14 02:10

phazei


People also ask

Where does apt-get packages?

APT Configuration Configuration of the Advanced Packaging Tool (APT) system repositories is stored in the /etc/apt/sources. list file and the /etc/apt/sources. list. d directory.

What is Ubuntu package manager?

The default package manager for Ubuntu is apt-get. Linux operating systems use a software tool known as a package manager to make sure the software is correctly installed and up-to-date. It also keeps a current list of available software, stored externally in a database called a repository.


2 Answers

Seems boot2docker uses Tiny Linux which has its own package manager called "tce-load". There's a list of packages for it here:

http://distro.ibiblio.org/tinycorelinux/tcz_2x.html

There's everything that's needed to make or whatever located there.

like image 153
phazei Avatar answered Oct 10 '22 04:10

phazei


You should not be installing anything on the boot2docker vm as that gets deleted and reset often. You should install any tools inside a docker container running on the boot2docker vm.

like image 41
Usman Ismail Avatar answered Oct 10 '22 04:10

Usman Ismail