Ubuntu – How to choose where the software is stored when installing via Ubuntu Software Center

software-center

I want to choose where on a hard drive the application is stored when installing it via Ubuntu Software Center. I am not looking for a general setting for all applications, but rather I would like to set the exact folder on hard drive where the currently installed applications will be stored. Also is it a problem to store the application to a NTFS partition?

Best Answer

You can't. Linux (not just Ubuntu) follows the Filesystem Hierarchy Standard where is defined what the logical place is to store files such that we do not have duplicate files on our system. USC does not choose where to install software.The package you install has information on where files need to go.

If you want to store programs on a different place you need to install it from source. While compiling sources you can then tell it to install in /opt or in your /home. And if that is a general idea you want to explore Gentoo could be a better operating system for you.

Also is it a problem to store the application to a NTFS partition?

In general: yes. Windows does not provide functionality for the permissions structure Linux uses.