Here’s a quick guide for containers installation.
If you have read what a moebius container is now you can see how to use it with a practical example.
Let’s suppose you’d like to have the full blown C/C++ toolchain, linux-headers, make and binutils to have a ready to go machine with everything you need to compile your favorite project. You may obviously want to install required packages with something like:

moebius #...and use the graphical frontend
# Or use the command line
moebius package install gcc cpp gcc-dev gcc-doc ...
# Or use the command line with the apt-utils
apt-get install gcc cpp gcc-dev gcc-doc ...

But GCC it’s pretty complex and has a lot of deps, virtual packages help a lot but you cannot have everything in a virtual package and there’s still something you need to do manually. Let’s use containers for this task and see what you can do with them, in this tutorial I’ll use the graphical menu supplied inside the moebius utility, so just type “moebius” (root access) on command prompt to get the interface. If you’re using an old utility (v <= 1.1) you need an upgrade before proceeding.
Moebius Utility Main MenuMoebius Main Menu, now select “Software Management” from there.
Moebius Software Management MenuNow move in the “Container Manager” section and use the option “Update containers list from repository” to get an updated list of moebius containers from github (much like an apt-get update), you need an internet access to do it.
In a matter of seconds you’ll obtain a list of available containers, you can display (Show Installed Containers), install or remove them.

Container Install MenuWhen you select “Install a container” here’s what you may see.
Items marked with “R)” are remote containers, so it’s something present in the github repository.
“L)” means a local container so it’s an item stored locally because you can alter/edit them and create your containers as well.

Now you just need to select your preferred container (“lang.gcc” in our example) with arrow keys and press ENTER to proceeed, after a quick confirm dialog window the operation begins.
lang.gcc is HUGE so you need to wait a while but after an initial download you’ll see the installation process, moebius utility itself and apt-utils are involved underneath so you can take advantage of the .deb packages and it’s internal behavior (deps, virtual packages, versioning and more).
container install exampleIf you see an image like this one you’ll probably have installed the whole container with all required packages to have C/C++/make/binutils/ … working.
You may skip containers if you already know what you need to install but this method is way more simple, fast and straightforward.
To remove a container you just need to select the “Remove a container” option in the same menu and all these packages will be removed from the system.
I have created containers because I always need to repeat same operations again and again and install packages for a specific job (creating moebius tools for example), I guess you may take advantage from it as well.
Please share your ideas and suggestions about this feature and let me know how it goes with them 

  • Facebook
  • Twitter
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS
  • Add to favorites
Comments Off on Containers: Practical Example