package-managers

Lua's package management system?

ぐ巨炮叔叔 提交于 2019-12-20 17:38:02
问题 What's the Lua's standard package management system and repository? Like brew for Mac OS X , npm for node.js . 回答1: There is no standard Lua package management system, but you can try out the following: LuaRocks - contains a rather large number of Lua modules distributed as rocks. Once LuaRocks is installed, the installation is simple: luarocks install desired-package . On Linux/Unix/Mac, this will install into /usr/local/{share,lib}/lua/5.1 , where the Lua interpreter looks for modules.

What does conda do when “solving environment”

旧时模样 提交于 2019-12-20 16:17:55
问题 Whenever I run conda install/remove/update <package> , it tells me it's "Solving environment" for some time before telling me the list of things it's going to download/install/update. Presumably it's looking for dependencies for <package> , but why does it sometimes remove packages after doing this operation? For example, as I was trying to install Mayavi, it decided it needed to remove Anaconda Navigator. Furthermore it does not provide an option to perform only a subset of the suggested

What does conda do when “solving environment”

泪湿孤枕 提交于 2019-12-20 16:17:02
问题 Whenever I run conda install/remove/update <package> , it tells me it's "Solving environment" for some time before telling me the list of things it's going to download/install/update. Presumably it's looking for dependencies for <package> , but why does it sometimes remove packages after doing this operation? For example, as I was trying to install Mayavi, it decided it needed to remove Anaconda Navigator. Furthermore it does not provide an option to perform only a subset of the suggested

Alpine Add Package from Edge repository

点点圈 提交于 2019-12-20 10:44:28
问题 If I'm using Alpine 3.8, how can I add a specific package from the Alpine Edge repository? Is this even supported? There is no equivalent of backports, from what I can see. I want to add the new version of this: https://pkgs.alpinelinux.org/package/edge/community/armhf/librdkafka And not the older version in the 3.8 repo: https://pkgs.alpinelinux.org/package/v3.8/community/s390x/librdkafka 回答1: You could specify the exact repo to apk, using the --repository parameter. In your case: apk add

Should I install node.js on Ubuntu using package manager or from source?

只谈情不闲聊 提交于 2019-12-20 09:49:14
问题 Does anyone know if installing the latest build from source is a risky route to take? Should i just stick with the package manager? 回答1: Current recommendations Use nvm if you want to install with your user account. (I personally prefer this) Follow the directions here to install via apt using a PPA. Old Answer Note: At the time of this writing I'm using Ubuntu 12.10. There are a lot of ways to install node. I personally prefer to download the source of the latest stable build and just

How does the “replace” property work with composer?

那年仲夏 提交于 2019-12-20 08:27:35
问题 So how does the "replace" property work with composer? I have read the composer document but still not understand it. Searching for more info hasn't answered my questions. When I look at the composer.json file on Laravel/Framework on github. I can't see how replace will work. Can someone explain to me how this works? And what the variable "self.version" will equal to? 回答1: The Composer documentation gives two basic examples. I'll try to explain: Lists packages that are replaced by this

NPM install hangs on loadRequestedDeps

跟風遠走 提交于 2019-12-20 01:35:10
问题 When I download any package using NPM, it hangs on the last command "loadRequestedDeps." I've added my whole -verbose output to the end of this question for reference. It will just sit there until I cancel the command, and nothing will be installed and my package.json will not be updated. What could the issue be? I've looked around but haven't found out how to fix my particular problem. Here's some info: OS is Windows 10 Node version is 6.9.1 NPM version is 3.10.8 My CPU maxes out at 100%

pip installing data files to the wrong place

对着背影说爱祢 提交于 2019-12-19 19:53:59
问题 The source for the package is here I'm installing the package from the index via: easy_install hackertray pip install hackertray easy_install installs images/hacker-tray.png to the following folder: /usr/local/lib/python2.7/dist-packages/hackertray-1.8-py2.7.egg/images/ While, pip installs it to: /usr/local/images/ My setup.py is as follows: from setuptools import setup setup(name='hackertray', version='1.8', description='Hacker News app that sits in your System Tray', packages=['hackertray']

How to get cabal to ignore the global package DB when using a sandbox

折月煮酒 提交于 2019-12-19 12:52:33
问题 I'm trying to install two libraries, Elm and yesod-platform , using a cabal sandbox on Ubuntu. The problem is, I'm using xmonad as my window manager. Thus, a bunch of Haskell libraries have been installed by my package manager. When trying to resolve dependencies, it's using the versions of the libraries installed by apt, and thus is giving a "maximum backjumps exceeded" error. How can I instruct Cabal to ignore any packages not in the Cabal sandbox, so that it will install fresh versinos of

Unable to install MvcMailer

◇◆丶佛笑我妖孽 提交于 2019-12-19 11:46:14
问题 I tried intalling Mvc Mailer by entering the command "Install-Package MvcMailer" in the Package Manager Console, but I'm getting the following error message: Successfully installed 'MvcMailer 1.1'. Successfully added 'MvcMailer 1.1' to MatchesHorsConcours. Install-Package : The term 'Set-DefaultScaffolder' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name , or if a path was included, verify that the path is correct and try