Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools

Saiteja Vemula
Saiteja Vemula
7,162 Points

A doubt regarding TreeHouse's Console

TreeHouse's Console is based on Ubuntu 12.04.5 LTS. What happens if I upgrade it to the latest version of Ubuntu by dist upgrade command? And if I upgrade and/or install few tools for practicing, will it consume my Internet Data or the TreeHouse's Internet Data?

2 Answers

andren
andren
28,558 Points

You can't do either of those things. You are not able to run anything but the commands Treehouse deems necessary for practicing coding. apt-get and similar commands are off limits, as they pose a security risk if you were allowed to use them.

Though to answer your last question, if Treehouse did allow users to use any command they wished, including commands like apt-get then using them would consume Treehouse's bandwidth, not your own. Since it's Treehouse's machines that would be downloading the upgrades and new apps, not your machine.

It's the same as using a VPS, with a VPS you rent access to a virtual machine on a server, and any commands executed on that machine that ends up consuming data will end up using that servers' bandwidth not your own, for the same reasons as stated above.

Saiteja Vemula
Saiteja Vemula
7,162 Points

It allowed me to do

sudo apt-get update && sudo apt-get upgrade

I didn't tried out dist-upgrade though. Thanks you Andren for answering me.

andren
andren
28,558 Points

Ah, you are right. I was thinking of the console you normally get access to in most workspaces when doing things like Java, Python, ruby, etc programming. The console you are granted access to during the Development tools courses are a bit different.

That console is pretty much like the type of console you would get with a traditional VPS, I would guess that the virtual machine they give you access is reset after you are done working in it, so no change you make is actually permanently stored.

However most of what I stated above is still true, since you are asking a server Treehouse controls to fetch upgrades and data it is that machine that ends up consuming bandwidth when it downloads stuff, not your machine.

Saiteja Vemula
Saiteja Vemula
7,162 Points

Bro,

  • Workspaces are different from Console
  • The console which they've provided didn't get reset. (It does shows the details such as Free Space, Swap, etc.. and free space remained the same before and after quitting from it. I've even installed gedit to find out if I can install programs. Found out that I can install CLI tools. GUI tools doesn't work.)

What if can I install Ubuntu-Desktop? Will I be able to use GUI?

Thanks again.