Ubuntu Unleashed 2019 Edition: Covering 18.04, 18.10, 19.04

(singke) #1
Creating Your SSH Key

Next, create an SSH key that enables you to connect securely to another
computer for file transfer. This is used when you’re uploading source files to
Launchpad:


Click here to view code image
matthew@seymour:~$ ssh-keygen -t rsa


Choose the defaults and create a passphrase.


Setting Up pbuilder

Finally, set up pbuilder so that you can build packages on your local
machine. Replace release with the name of the release for which you will
develop (for example, the release being developed when this was written was
quantal):


Click here to view code image
matthew@seymour:~$ pbuilder-dist release create


You can do this for multiple releases at the same time, and you can do it for
Debian releases such as sid as well as for Ubuntu.


It takes some time for all the needed files to be downloaded and installed, but
when they are, this step is complete.


Creating a Launchpad Account


Launchpad is described in Chapter 41, “Using Ubuntu for Opportunistic
Software Development.” If you have already signed up for an account, you
can skip this step. If not, open
https://help.launchpad.net/YourAccount/NewAccount and sign up. You can
develop for yourself without a Launchpad account, but to develop for Ubuntu,
you must have an account.


Setting Up Your Environment to Work with


Launchpad


Setting up your environment to work with Launchpad involves several steps
that build on the steps you just completed.

Free download pdf