• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

carljmosca/netbeans-macos-bundle: NetBeans installation script for macOS

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

carljmosca/netbeans-macos-bundle

开源软件地址(OpenSource Url):

https://github.com/carljmosca/netbeans-macos-bundle

开源编程语言(OpenSource Language):

Shell 100.0%

开源软件介绍(OpenSource Introduction):

NetBeans macOS Bundle

When I originally put this little project together it was intended to be a tempoary quick way to get NetBeans installed on a Mac. I did not anticipate the amount of feedback I have received (which is very much appreciated) and that has caused me to make a few changes along the way.

Java should be installed before running either the installation script.

Thank you to Geertjan Wielenga for putting this video together. He has, to me, been a very positive face to NetBeans and the Java community for a long time.

First off, you should either clone or download this project if you want to use the original install script.

To run it, use the install.sh script. The user is prompted for the password because the script includes "sudo's" to gain permission to the /Applications folder.

./install.sh

There are two environment variables that may be set to change the defaults before running. For example:

export NETBEANS_VERSION=13
export NETBEANS_URI=http://apache.osuosl.org/incubator/netbeans/incubating-netbeans/incubating-10.0/incubating-netbeans-10.0-bin.zip
./install.sh

Based on some feedback, some folks prefer not to install applications in the /Applications folder and others would prefer not to "sudo" to install an application. Still others prefer not to download the entire project. I don't think folks were concerned about the size, they just wanted a way to download a single script instead of doing a git clone or an unzip after a download.

Therefore the following options are provided:

  • install in the directory of your choosing: -d | --install-dir /Installation/directory
  • install NetBeans version of your choosing: -v | --netbeans-version
  • install NetBeans from an alternate URI: -u | --netbeans-uri
  • display extra information: --verbose
  • remove existing package before install: -f | --force
  • install without sudo: -n | --non-root-install
  • show help -h | --help

Tip: You can use file:///filename.zip to specify local file as a parameter for -u | --netbeans-uri.

For example:

./install.sh --non-root-install --install-dir ~/Applications

The fast way is paste this at a Terminal prompt.

bash -c "$(curl -fsSL https://raw.githubusercontent.com/carljmosca/netbeans-macos-bundle/master/install.sh)"

Happy coding




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap