How to install applications under &HOME directory on Google Cloud Platform instance?
<p>I'm beginner of <strong>Google Cloud Platform</strong> and Linux.</p>

<p>I set linux(ubuntu) instance on <strong>Google Cloud Platform</strong> and tried to install packages by using <code>apt-get</code> command, and I got direction below</p>

<pre><code>username@name_of_instance-145302:~$ sudo apt-get install ssh
********************************************************************************
You are running apt-get tool inside of Cloud Shell. Note that your Cloud Shell  
machine is ephemeral and will be reset once you are not using it interactively  
for about half an hour.  No system-wide change will persist beyond that.        
Note that your home directory does persist across VM instantiations, so consider
installing your tools into your home directory whenever possible.               
To suppress this warning, create an empty ~/.cloudshell/no-apt-get-warning file.
The command will automatically proceed in 5 seconds or on any key. 
Visit https://cloud.google.com/shell/help for more information.                 
********************************************************************************
</code></pre>

<p>Maybe this warn shows that any files under the instance except <code>$HOME</code> directory will be cleared.
I want to save files under the <code>$HOME</code> directory, but downloaded packages are under the <code>/etc/package_name</code> - not under the <code>$HOME</code> directory.</p>

<p>So any applications downloaded from <code>apt-get</code> is deleted in 30 min after last operation.
How can I keep packages on <code>$HOME</code> directory?</p>