Установка в linux bundle

DESCRIPTION

Bundler manages an application´s dependencies through its entire life across many machines systematically and repeatably.

See the bundler website https://bundler.io for information on getting started, and Gemfile(5) for more information on the Gemfile format.

OPTIONS

—no-color Print all output without color —retry, -r Specify the number of times you wish to attempt network commands —verbose, -V Print out additional logging information

BUNDLE COMMANDS

We divide bundle subcommands into primary commands and utilities:

PRIMARY COMMANDS

bundle install(1) bundle-install.1.html Install the gems specified by the Gemfile or Gemfile.lock bundle update(1) bundle-update.1.html Update dependencies to their latest versions bundle cache(1) bundle-cache.1.html Package the .gem files required by your application into the vendor/cache directory (aliases: bundle package, bundle pack) bundle exec(1) bundle-exec.1.html Execute a script in the current bundle bundle config(1) bundle-config.1.html Specify and read configuration options for Bundler bundle help(1) bundle-help.1.html Display detailed help for each subcommand

UTILITIES

bundle add(1) bundle-add.1.html Add the named gem to the Gemfile and run bundle install bundle binstubs(1) bundle-binstubs.1.html Generate binstubs for executables in a gem bundle check(1) bundle-check.1.html Determine whether the requirements for your application are installed and available to Bundler bundle show(1) bundle-show.1.html Show the source location of a particular gem in the bundle bundle outdated(1) bundle-outdated.1.html Show all of the outdated gems in the current bundle bundle console(1) (deprecated) Start an IRB session in the current bundle bundle open(1) bundle-open.1.html Open an installed gem in the editor bundle lock(1) bundle-lock.1.html Generate a lockfile for your dependencies bundle viz(1) bundle-viz.1.html (deprecated) Generate a visual representation of your dependencies bundle init(1) bundle-init.1.html Generate a simple Gemfile, placed in the current directory bundle gem(1) bundle-gem.1.html Create a simple gem, suitable for development with Bundler bundle platform(1) bundle-platform.1.html Display platform compatibility information bundle clean(1) bundle-clean.1.html Clean up unused gems in your Bundler directory bundle doctor(1) bundle-doctor.1.html Display warnings about common problems bundle remove(1) bundle-remove.1.html Removes gems from the Gemfile bundle plugin(1) bundle-plugin.1.html Manage Bundler plugins bundle version(1) bundle-version.1.html Prints Bundler version information

PLUGINS

When running a command that isn´t listed in PRIMARY COMMANDS or UTILITIES, Bundler will try to find an executable on your path named bundler- and execute it, passing down any extra arguments to it.

Читайте также:  Corosync pacemaker astra linux

OBSOLETE

These commands are obsolete and should no longer be used:

Package name: extra/ruby-bundler Version: 2.4.13-1 Upstream: https://bundler.io Licenses: MIT Manuals: /listing/extra/ruby-bundler/ Table of contents

Powered by archmanweb, using mandoc for the conversion of manual pages.

The website is available under the terms of the GPL-3.0 license, except for the contents of the manual pages, which have their own license specified in the corresponding Arch Linux package.

Источник

Как установить пакеты .bundle в Ubuntu?

Я недавно скачал пакет с расширением .bundle. это VMware-Player-6.0.3-1895310.x86_64.bundle . Я хочу установить vmware-player , но когда я открываю это, он открывается с помощью текстового редактора.

Во-первых, предупредите, что установка файлов из-за пределов хранилища Ubuntu может поставить под угрозу систему. VMware, вероятно, безопасен, но все же следует упомянуть.

    Вам нужно изменить разрешение файла, чтобы сделать его исполняемым:

chmod a+x VMware-Player-6.0.3-1895310.x86_64.bundle 
sudo ./VMware-Player-6.0.3-1895310.x86_64.bundle 

Разве это не должно быть chmod u+x «chmod a + x»? Не следует поощрять новых пользователей создавать что-то глобально исполняемое.

Как бежать sudo от дельфина? если я щелкну правой кнопкой мыши по файлу — нет опции «Запуск от имени пользователя» (Запуск от имени администратора). Как установить VMWare без использования оболочки?

Как узнать, что это за файл?

Эти .bundle файлы для VMware Player, Workstation, и других продуктов, на самом деле сценарии оболочки, с внедренными двоичными данными. Вы можете обнаружить или проверить это с помощью file утилиты, которая удобна для выяснения, что это за файл (вероятно):

ek@Ilex:~$ file VMware-Player-6.0.3-1895310.x86_64.bundle VMware-Player-6.0.3-1895310.x86_64.bundle: a /usr/bin/env bash script executable (binary data)

Как использовать файл, основываясь на этой информации?

Вы можете сделать его исполняемым с помощью chmod , а затем запустить его:

chmod +x VMware-Player-6.0.3-1895310.x86_64.bundle sudo ./VMware-Player-6.0.3-1895310.x86_64.bundle

(Если это единственный .bundle файл в вашем текущем каталоге, вы можете просто использовать chmod +x *.bundle и ./*.bundle . Или введите первые несколько символов имени файла и нажмите Tab , и оболочка напечатает остальное для вас .)

Почему sudo ?

Программное обеспечение для виртуализации, такое как продукты VMware, должно быть установлено как пользователь root. Вот почему я поставил sudo в начале второй строки. (В отличие от виртуализации, эмуляторы, не использующие какую-либо виртуализацию, обычно могут устанавливаться и использоваться пользователем с ограниченными правами без каких-либо действий со стороны root.)

Почему sudo здесь все в порядке, когда установщик является графическим?

Установщики продуктов VMware являются графическими (по крайней мере, для части установки). Хотя обычно рекомендуется избегать запуска графической программы с (предпочитая или ), в этом случае все должно быть хорошо: sudo program gksudo program sudo -H program

  • Установщик VMware Player и исполняемые установщики в целом вряд ли будут пытаться записать файлы конфигурации в домашний каталог пользователя, который их запускает.
  • И даже если бы они это сделали, файлы конфигурации были бы связаны с самим установщиком — они не помешали бы нормальному запуску программ пользователем с ограниченными правами, потому что вы вряд ли захотите запускать такой установщик как пользователь без полномочий root.
Читайте также:  Threads program in linux

Это варьируется для разных файлов комплекта. В Trusty file Downloads/VMw* говорится , что VMware-Player-7.0.0-2305329.x86_64.bundle: data вместо этого вы можете увидеть, с чего файл начинается через `cat -vt ~ / Downloads / V * | more`, который показывает, что он начинается со строки, указывающей, что это скрипт оболочки: #!/usr/bin/env bash

Источник

How to Install .bundle packages (VMware Player Bundle) on Ubuntu 16.04/18.04 Linux

The .bundle files for VMware Player, Workstation, and other products are actually shell scripts in Linux system.

Installing VMware .bundle File

If you downloaded a package with .bundle extension called VMware-Player-15.0.2-10952284.x86_64.bundle on your Ubuntu Linux server, and you want to install it on your Ubuntu. Just do the following steps:

#1 downloading VMware bundle file to your local disk from VMware official site, type the following wget command to get it:

$ wget https://download3.vmware.com/software/player/file/VMware-Player-15.0.2-10952284.x86_64.bundle
devops@devops-osetc:~$ wget https://download3.vmware.com/software/player/file/VMware-Player-15.0.2-10952284.x86_64.bundle --2019-02-26 09:45:30-- https://download3.vmware.com/software/player/file/VMware-Player-15.0.2-10952284.x86_64.bundle Resolving www-proxy.us.osetc.com (www-proxy.us.osetc.com). 10.87.19.20 Connecting to www-proxy.us.osetc.com (www-proxy.us.osetc.com)|10.87.19.20|:80. connected. Proxy request sent, awaiting response. 200 OK Length: 148464193 (142M) [application/x-octet-stream] Saving to: ‘VMware-Player-15.0.2-10952284.x86_64.bundle’ VMware-Player-15.0.2-10952284.x86_64.b 100%[==========================================================================>] 141.59M 350KB/s in 6m 52s 2019-02-26 09:52:23 (352 KB/s) - ‘VMware-Player-15.0.2-10952284.x86_64.bundle’ saved [148464193/148464193] devops@devops-osetc:~$

#2 you can use the file utility to verify this .bundle file to find out what kind of file is. Type the following command:

$ file VMware-Player-15.0.2-10952284.x86_64.bundle
devops@devops-osetc:~$ file VMware-Player-15.0.2-10952284.x86_64.bundle VMware-Player-15.0.2-10952284.x86_64.bundle: a /usr/bin/env bash script executable (binary data) devops@devops-osetc:~$

From the above outputs, you should see that this bundle file is a shell script.

#3 you need to change permission of the bundle file to make it executable, type the following chmod command:

$ chmod +x VMware-Player-15.0.2-10952284.x86_64.bundle

#4 try to install it with root privileges in the Ubuntu terminal, type:

$ sudo ./VMware-Player-15.0.2-10952284.x86_64.bundle

Note: you will be prompted to enter root password for authentication.

#5 you should see something like to this output: “Extracting VMware Installer …done

#6 you need to accept the terms in the license agreement, and then continue the installation with the Ubuntu GUI window.

#7 After installation, you can try to start the VMware player application. type the following command in Ubuntu terminal:

Conclusion

You should know that how to install VMware player bundle file on Ubuntu 16.04 or 18.04 from this guide.

Источник

How to install .bundle packages in Ubuntu?

I’ve recently downloaded a package with .bundle extension. it’s VMware-Player-6.0.3-1895310.x86_64.bundle . I want to install vmware-player , but when I open that, it opens with text editor.

Читайте также:  Oracle linux apt get

2 Answers 2

First be warned, installing files from outside of Ubuntu repository may compromise the system. VMware is probably safe, but it still should be mentioned.

    You need to change permission of the file to make it executable:

chmod a+x VMware-Player-6.0.3-1895310.x86_64.bundle 
sudo ./VMware-Player-6.0.3-1895310.x86_64.bundle 

Shouldn’t that be chmod u+x rather than `chmod a+x’? New users shouldn’t be encouraged to make something globally executable.

How to run sudo from Dolphin? if I right click on a file — there is no option to «Run as Root» (Run as Administrator). How to install VMWare without using a shell?

@eugene The only option I know to run sudo from dolphin is running dolphin with elevated access. As far as I’m concerned, chmod a+x and chmod +x are equivalent, see here: systemconf.com/2020/12/25/…

How to find out what kind of file it is?

The .bundle files for VMware Player, Workstation, and other products are actually shell scripts, with embedded binary data. You can discover or verify this with the file utility, which is handy for finding out what kind of file something (probably) is:

ek@Ilex:~$ file VMware-Player-6.0.3-1895310.x86_64.bundle VMware-Player-6.0.3-1895310.x86_64.bundle: a /usr/bin/env bash script executable (binary data) 

How to use the file, based on this information?

You can make it executable with chmod , then run it:

chmod +x VMware-Player-6.0.3-1895310.x86_64.bundle sudo ./VMware-Player-6.0.3-1895310.x86_64.bundle 

(If it’s the only .bundle file in your current directory, you can just use chmod +x *.bundle and ./*.bundle . Or type the first few characters of the filename and press Tab , and the shell will type the rest out for you.)

Why sudo ?

Virtualization software, such as VMware products, must be installed as root. This is why I put sudo at the start of the second line. (In contrast to virtualization, emulators not employing any virtualization may generally be installed and used by a limited user, without any action by root.)

Why is plain sudo okay here, when the installer is graphical?

VMware product installers are graphical (at least for part of the installation). Although it’s generally recommended to avoid running a graphical program with sudo program (preferring gksudo program or sudo -H program ), in this case it should be fine:

  • The VMware Player installer, and executable installers in general, are unlikely to attempt to write configuration files to the home directory of the user running them.
  • And even if they did, the configuration files would pertain to the installer itself—they wouldn’t prevent programs from being run normally by the limited user because you’re unlikely to want to run such an installer as a non-root user.

Источник

Оцените статью
Adblock
detector