Extracting the Library
You extract the archive by using your favorite unarchiving tool such as tar or 7-Zip.
You will need to have access to a program that can open uncompress the archive. On Windows computers, 7-Zip will work. On Mac and Linux systems you can use tar on the command line.
To extract your downloaded package:
Use the "extract" facility of your archiving software.
The source code will be placed into a directory with the same name as the archive (e.g. Swift-4.0.0-b1).
The following example shows the process on Mac OS X and Linux systems using the tar command.
chrisbook:build chris$ ls Swift-4.0.0-dev.tar.gz chrisbook:build chris$ tar xvzf Swift-4.0.0-dev.tar.gz Swift-4.0.0-dev/ Swift-4.0.0-dev/lib/ Swift-4.0.0-dev/lib/classes/ Swift-4.0.0-dev/lib/classes/Swift/ Swift-4.0.0-dev/lib/classes/Swift/ByteStream/ Swift-4.0.0-dev/lib/classes/Swift/CharacterReader/ Swift-4.0.0-dev/lib/classes/Swift/CharacterReaderFactory/ Swift-4.0.0-dev/lib/classes/Swift/CharacterStream/ Swift-4.0.0-dev/lib/classes/Swift/Encoder/ ... etc etc ... Swift-4.0.0-dev/tests/unit/Swift/Transport/LoadBalancedTransportTest.php Swift-4.0.0-dev/tests/unit/Swift/Transport/SendmailTransportTest.php Swift-4.0.0-dev/tests/unit/Swift/Transport/StreamBufferTest.php chrisbook:build chris$ cd Swift-4.0.0-dev chrisbook:Swift-4.0.0-dev chris$ ls CHANGES LICENSE.GPL LICENSE.LGPL README VERSION examples lib test-suite tests chrisbook:Swift-4.0.0-dev chris$
Parent topic: Installing from a Package