I download swift installation package, and extract it into my home directory:
# tar -C / -xvf swift-2.2.1-RELEASE-ubuntu14.04.tar.gz swift-2.2.1-RELEASE-ubuntu14.04/usr/ swift-2.2.1-RELEASE-ubuntu14.04/usr/include/ swift-2.2.1-RELEASE-ubuntu14.04/usr/include/lldb/ ...... The final swift-2.2.1-RELEASE-ubuntu14.04 layout likes this:
# tree -d -L 2 . └── usr ├── bin ├── include ├── lib └── share 5 directories I want to extract the files into /usr directory directly and not override other files, is there any method?