Skip to main content

Enable Third-Party Repositories on SmartOS

·

This (very) short tutorial will show how to enable third-party repositories on SmartOS.

SmartOS supports AMD Ryzen and AMD EPYC CPUs since a while back, in addition to the long-supported Intel CPUs, such as the Intel Xeon .

Changing repositories is helpful for European users of SmartOS since their Manta storage is located in the region of the US East and can be pretty slow for European users.

This article assumes you have a working SmartOS host, are logged in as root, and will use the datasets.at repository as an example.

Enable Third Party Repository #

First, let’s enable the third-party repository (in this example, http://datasets.at):

# imgadm sources -a http://datasets.at/

Then, disable the Joyent repository:

# imgadm sources -d https://images.joyent.com

Finally, update the image cache on your server:

# imgadm update

Revert to Joyent Repository #

To revert to the official Joyent repository, add the official Joyent repository again:

# imgadm sources -a https://images.joyent.com

Then, remove the datasets.at repository used in this tutorial:

# imgadm sources -d http://datasets.at/

Finally, update the image cache on your server:

# imgadm update

Further Reading #

If you’re interested in learning more about SmartOS (which you can download here), illumos, and Solaris in general, here are some links and book recommendations:

Do you know of any other third-party repositories for SmartOS? Let us know on Twitter, @LunarComputer_, and we’ll build a list of repositories in this post! 😀

Revision #

2023-08-31 Revised language