What Is Ubuntu Pro?

Ubuntu Pro is a subscription-based service offered by Canonical. This Ubuntu version provides additional features and support for Ubuntu systems. For example, after you enable Ubuntu Pro, you can use extended security maintenance, live kernel patching, and access to more packages.

Should I enable Ubuntu Pro? If you want to use the additional features, you can try it.

Is Ubuntu Pro Free?

Ubuntu Pro has a 30-day trial for enterprises. However, it is always free for personal use. As mentioned above, you need to activate your Ubuntu Pro subscription to enable it. Keep reading to find out how to do this.

How to Enable Ubuntu Pro?

Requirements

Before you enable Ubuntu Pro on your device, you should check the following things:

  • Run an Ubuntu LTS release.
  • Have an Ubuntu Pro account. It is free to get such an account.
  • Get an Ubuntu Pro token.
  • Get the user sudo privileges.

Way 1. Use your Ubuntu Pro Token

If you have an Ubuntu Pro token, you can use it to enable Ubuntu Pro.

You can log into your Ubuntu Pro account, click your name, and then select Ubuntu Pro Dashboard to enter it. After that, copy and paste the string of characters under Token.

Way 2. Attach Your Ubuntu Pro Subscription

You can also attach Ubuntu Pro subscription to your device. Here is a guide:

Step 1. Open the Terminal and run this command:

sudo apt update && sudo apt install ubuntu-advantage-tools

Step 2. Run this command in the Terminal: sudo pro attach. This can attach your machine to a subscription.

Step 3. You can see output as follows:

ubuntu@test:~$ sudo pro attach
Initiating attach operation...
Please sign in to your Ubuntu Pro account at this link:
https://ubuntu.com/pro/attach
And provide the following code: ******

Then, you need to open the link you receive without closing the Terminal.

Step 4. You can see a field where you are asked to enter the code. Then, you need to copy and paste the code displayed in the Terminal. Next, select the subscription you want to attach to. The Free Personal Token is selected by default.

However, if you a paid subscription and use it to attach to the token, you should log in first. After that, you can see your additional tokens.

Step 5. After pasting the code and choosing the subscription, click the Submit button to continue.

You can see the attach process in the Terminal and then see the following message:

Attaching the machine...
Enabling default service esm-apps
Updating Ubuntu Pro: ESM Apps package lists
Ubuntu Pro: ESM Apps enabled
Enabling default service esm-infra
Updating Ubuntu Pro: ESM Infra package lists
Ubuntu Pro: ESM Infra enabled
Enabling default service livepatch
Installing snapd snap
Installing canonical-livepatch snap
Canonical Livepatch enabled
This machine is now attached to ‘Ubuntu Pro - free personal subscription’

When the process ends completely, you can see which services are enabled, as well as the information about your subscription.

Then, if you want to enable or disable some services, you can run the following commands in the Terminal:

  • Run this command to enable a service: pro enable <service name>
  • Run this command to disable a service: pro disable <service name>

Bottom Line

These are the two ways to enable Ubuntu Pro on your computer and you can just select one way according to your situation.

  • linkedin
  • reddit