简体   繁体   中英

How do I set up and reference mlpack libraries in Ubuntu?

I'm running Ubuntu 16.04, and I have to admit my Linux skills are weak and are probably the reason that I'm struggling here.

I've run the following commands successfully:

sudo apt-get install libmlpack-dev
sudo apt-get install mlpack-bin

What's confusing me is that I have no idea where mlpack has been installed to--I'm expecting to see some library files somewhere, as well as some source code for some examples.

In general, when you install libraries like this on Linux, is there one place where you can expect them to be found?

Thanks for helping out a novice!

I asked a colleague for help and got this figured out.

To summarize:

  • libmlpack-dev includes the libraries and header files but no source code examples. You can find a couple small code samples on their website, though.
  • The libraries are installed to the default location of /usr/lib/ and the headers to the default location of /usr/include/. The nice thing about this is that these folders are already on your path, so you're all set to #include the mlpack headers.

I wrote a blog post to describe all the steps for getting started with mlpack for Linux noobs like me :)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM