The Comprehensive Kerbal Archive Network (CKAN) Package Manager; v1.18.0 [19 June 2016] (2024)

Moderator edit: This thread is deprecated, please see the new thread here:

-= Download the latest release =-

Introduction

When I first discovered Kerbal Space Program, I found it was great. And then I discovered the mods; and they turned a great game into an amazing one.

About 70 mod installs later, I realised that installing mods was time-consuming, and error-prone. Each mod seemed to have its own set of dependencies, its own way of being packaged, its own way of being installed. Worst of all, some mods would conflict with each other, something I'd often discover after it was already too late.

I saw the same problems were plaguing mod authors as well. Users would be asking for help because they had installed the wrong version, or were experiencing conflicts with existing mods.

Having searched for a better way to install and manage mods, I set about making my own. Taking lessons from decades of package installation and management experience in the Debian and Perl projects, each of which successfully manage tens of thousands of distinct packages, I am very glad to present to you...

The Comprehensive Kerbal Archive Network (CKAN)

The CKAN is a mod management solution for Windows, Mac and Linux that targets the .NET/Mono 4.5 framework. It leverages strong metadata about the mods it installs to ensure they are compatible with the user's version of KSP, free of conflicts, and are installed in a reliable and predictable fashion.

If you've used Linux, then the CKAN is apt-get for KSP. Like the App Store or Play Store for your phone, the CKAN knows which version of KSP you're running, which mods are compatible, and how to install, uninstall, and manage them.

The CKAN provides strong guarantees on consistency. It will not allow conflicting mods to be installed, nor a mod to be installed without its dependencies. It will never leave mods in a half-installed state. It will never overwrite a file owned by another mod, nor a mod that was installed outside of the CKAN.

Demonstration Videos

The CKAN has gained a lot of coverage on YouTube, so here are videos by:

The GUI is now stable on all platforms. To run it, simply double-click the ckan.exe file, or run it with mono ckan.exe.

The Comprehensive Kerbal Archive Network (CKAN) Package Manager; v1.18.0 [19 June 2016] (1)

For those who prefer a command-line interface, the instructions can be expanded below:

Spoiler

Our stable release offers a command-line interface:

update Update list of available mods

available List available mods

install Install a KSP mod

remove Remove an installed mod

scan Scan for manually installed KSP mods

list List installed modules

show Show information about a mod

clean Clean away downloaded files from the cache

ksp Manage KSP installs

version Show the version of the CKAN client being used.

$ ckan.exe help

To get started, you'll want to download the client and run a ckan update to refresh its mod database:

Downloading updates... Downloading https://github.com/KSP-CKAN/CKAN-meta/archive/master.zip Updated information on 60 available modules

$ ./ckan.exe update

The client will automatically configure itself if it can find your KSP install. If it can't find your install, you can tell it where to find it:

$ ckan.exe ksp add default /path/to/my/KSP/install

You can list available mods:

Mods available for KSP 0.25.0

* AdvancedFlyByWire (1.2.3_0) - Advanced Fly-By-Wire

* AGExt (1.21a) - Action Groups Extended

* AJE (1.6.4) - Advanced Jet Engine (AJE)

* AMEG (1.1) - AMEG

* CommunityResourcePack (0.2.3) - Community Resource Pack

* ...

$ ckan.exe available

And installing them is easy:

About to install... * DogeCoinFlag 1.02 Continue? [Y/N] Downloading "https://kerbalstuff.com/mod/269/Dogecoin Flag/download/1.02" 15 kbps - downloading - 0 MiB left - 99% Installing mod "DogeCoinFlag 1.02" Updating registry Commiting filesystem changes Rescanning GameData Done!

$ ./ckan.exe install DogeCoinFlag

However the CKAN is aware of dependencies, and is capable of finding and installing all the mods required for a working install:

About to install... * RealismOverhaul v6.1.2c (cached) * RealFuels rf-v8.1 (cached) * TACLS-Config-RealismOverhaul v6.1.2c (cached) * TACLS v0.10.1 (cached) * EngineIgnitor-Unofficial-Repack 3.4.1.1 (cached) * Toolbar 1.7.7 * TweakScale v1.44 (cached) Continue? [Y/N]

$ ./ckan.exe install RealismOverhaul

For a lightweight install, we can skip recommendations:

About to install... * RealismOverhaul v6.1.2c (cached) * RealFuels rf-v8.1 (cached) * TACLS-Config-RealismOverhaul v6.1.2c (cached) * TACLS v0.10.1 (cached) Continue? [Y/N]

./ckan.exe install --no-recommends RealismOverhaul

You can also use --with-suggests to get an extended install, with suggested modules installed as well.

Some mods give you options as to which configuration or assets you can use:

Too many mods provide RSSTextures. Please pick from the following: * RSSTextures2048 (Real Solar System Textures - 2048 x 1024) * RSSTextures4096 (Real Solar System Textures - 4096 x 2048) * RSSTextures8192 (Real Solar System Textures - 8192 x 4096) $ ckan.exe install --no-recommends RealSolarSystem RSSTextures2048 About to install... * RSSTextures2048 1.0 (cached) * RealSolarSystem v8.2.1 (cached)

$ ckan.exe install --no-recommends RealSolarSystem

The CKAN is available for you to use right now. All our source code is released under an MIT license, and all mod meta-data under a CC-0 license.

Adding support for new mods

The CKAN is designed to be friendly to mod authors. There's no requirement for authors to include metadata in their files, or change their release process in any way. Where possible, new releases are indexed automatically from systems which provide us with release APIs. Dozens of mods already have CKAN support, and new ones are being added every day.

If you'd like to see more mods available via the CKAN, then we have a quickstart guide, along with a full metadata spec for more complex operations. Contributions are very welcome, and we'd love you to add your favourite mods. You do not need to be the author of a mod in order to write the metadata for it.

Reporting bugs

You can run any command with --verbose or --debug at the end to see extra information as to what's going on.

Please report bugs and suggestions to our issues tracker on github.

Please include the output of ckan.exe version when reporting bugs.

Thanks

The CKAN has been an amazing team effort, with dozens of contributors providing code, metadata, advice, and support. However, there are a few I would like to personally thank:

  • nlight: For countless contributions, for endless patience with reviewing my code, for keeping me sane during many late nights coding.
  • invultri: For questioning how we do things, for providing great architectural advice, for expanding our test suite.
  • techman83: For endless amounts of enthusiasm, moral support, advice, and help.
  • darklight: For enthusiasm and vision, and the determination to make the CKAN great.
  • ippo: For making the documents amazing. For being so good at finding bugs. For always cheering me up.
  • NathanKell: For ludicrous amounts of support, for making the world a better place.
  • RichardLake: For refactoring, testing, fixing and improving EVERYTHING.
  • dbent: For consisting improving our code architecture.
  • Daz: For doing an *amazing* job on metadata and support.
  • plague006: For consistently improving our user experience.
  • Postremus: For systematically eliminating all our bugs, no matter how big or small.

Further resources:

We love contributions of all sorts, and have just a few simple rules for those who wish to help the CKAN awesome!

-= Download the latest release =-

Edited by Red Iron Crown
Fixed link

The Comprehensive Kerbal Archive Network (CKAN) Package Manager; v1.18.0 [19 June 2016] (2024)

References

Top Articles
Latest Posts
Article information

Author: Gov. Deandrea McKenzie

Last Updated:

Views: 5626

Rating: 4.6 / 5 (46 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Gov. Deandrea McKenzie

Birthday: 2001-01-17

Address: Suite 769 2454 Marsha Coves, Debbieton, MS 95002

Phone: +813077629322

Job: Real-Estate Executive

Hobby: Archery, Metal detecting, Kitesurfing, Genealogy, Kitesurfing, Calligraphy, Roller skating

Introduction: My name is Gov. Deandrea McKenzie, I am a spotless, clean, glamorous, sparkling, adventurous, nice, brainy person who loves writing and wants to share my knowledge and understanding with you.