- Hands-On Server-Side Web Development with Swift
- Angus Yeung
- 130字
- 2021-06-10 19:00:13
Working with the Ubuntu APT
You're going to work with the Advanced Packaging Tool (APT) library to perform installation of Vapor and Kitura. APT is a package manager for Debian-based Linux operating systems such as Ubuntu. The package manager keeps a list of packages that it can install in repository or cache and sorts out the dependencies required for the software packages. Run the following at Command Prompt:
$ sudo apt-get install <package>
The apt-get install command checks for the repository for the package specified as <package>. If the package is available in the list, it will proceed to download and install the software and all of the required dependencies. The sudo command in the previous code temporarily grants you elevated privileges as root or superuser in the installation step.