Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am a computer science student and we often get tasks which involve installation of various applications which I only use for a couple of weeks. I don't want to trash my tidy system with installing, configuring and removing. What would be the best way on Linux (Mint) to deal with this? Something like a disposable user account which I could delete and all programs/deamons/configs would be removed (with no impact on my real account). Virtualbox?

share|improve this question
    
I hear you. Is there anything speaking against VirtualBox in your situation? –  slhck Oct 21 '12 at 19:59
    
Not really, just wasn't sure if there are any alternatives (which I like to know about) :) –  Primož Kralj Oct 21 '12 at 20:01
    
Kind of stupid question - but might help others to decide when in similar situation. –  Primož Kralj Oct 21 '12 at 20:04
    
why someone downvoted on the question? The thing that is obvious for one may be completely hidden for another one, not a bad question :( –  Serge Oct 21 '12 at 22:06
    
Forgive me for laughing, but you're a CS student who is afraid of installing and configuring software? –  Ярослав Рахматуллин Oct 22 '12 at 13:22

2 Answers 2

up vote 3 down vote accepted

Yes to VirtualBox.

When I am testing different things I tend to use virtual machines. You have a completely separate operating system with its own virtual hard disk. You can take snapshots of the state of the VM at any given point, and (very easily) restore to that state when you have finished wrecking it.

share|improve this answer
    
VirtualBox it is then :) –  Primož Kralj Oct 21 '12 at 20:04

When you create an account, all settings go to the $HOME folder. This is the default behavior on any linux system. I'll be frank and admit to have never touched Mint, but my intuition tells me the situation is the same there.

in short:

useradd fake
*install whatever*
userdel fake; rm -rf /home/fake

Sureley, it's not as cool as a VM, but the overhead is not worth it. YMMV

share|improve this answer
    
Thanks for suggestion! –  Primož Kralj Oct 22 '12 at 18:34

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.