Install - Bundle Packages in Ubuntu

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

software installation - How to install .bundle packages ... https://askubuntu.com/questions/521199/how-to-install...

Anybody can ask a question


Ask Ubuntu is a question and answer site for
Ubuntu users and developers. It only takes a
minute to sign up. Anybody can answer

Sign up to join this community


The best answers are voted up and
rise to the top

SPONSORED BY

How to install .bundle packages in Ubuntu?


Asked 7 years, 10 months ago Modified 4 years, 1 month ago Viewed 377k times

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
134 opens with text editor.

software-installation

29
Share Improve this question edited Jun 19, 2018 at 14:54 asked Sep 7, 2014 at 16:48
Follow user833907 αғsнιη
33.8k 38 126 187

2 Answers Sorted by: Highest score (default)

First be warned, installing files from outside of Ubuntu repository may compromise the
system. VMware is probably safe, but it still should be mentioned.
209
1. You need to change permission of the file to make it executable:

chmod
Your privacy a+x VMware-Player-6.0.3-1895310.x86_64.bundle

By clicking “Accept all cookies”, you agree Stack Exchange


2. Start
can store the file.
cookies Youdevice
on your will most probablyinformation
and disclose need rootinprivileges to install VMWare, but that is
accordance with our the
not always Cookie Policy
case. So. in this case:

sudo ./VMware-Player-6.0.3-1895310.x86_64.bundle
Accept all cookies

Customize settings
Share Improve this answer edited Sep 7, 2014 at 17:29 answered Sep 7, 2014 at 17:04
Follow Eliah Kagan Radek Dostal
113k 52 309 477 2,656 1 10 8

1 of 4 7/31/22, 23:37
software installation - How to install .bundle packages ... https://askubuntu.com/questions/521199/how-to-install...

33 Thanks! Sigh. If VMware would only say this on their Download page..... – nealmcb Feb 6, 2015 at
17:24

4 Also you can sudo /bin/sh VMware-Player-6.0.3-1895310.x86_64.bundle


– Thusitha Sumanadasa Nov 18, 2015 at 10:40

17 Shouldn't that be chmod u+x rather than `chmod a+x'? New users shouldn't be encouraged to
make something globally executable. – Morgoth Mar 9, 2017 at 10:38

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 Mala Mar 19, 2019 at
11:40

@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/… – Cadoiz Jun 10, 2021 at 23:39

Your privacy
By clicking “Accept all cookies”, you agree Stack Exchange
can store cookies on your device and disclose information in
accordance with our Cookie Policy.

Accept all cookies

Customize settings

2 of 4 7/31/22, 23:37
software installation - How to install .bundle packages ... https://askubuntu.com/questions/521199/how-to-install...

How to find out what kind of file it is?

46 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.
Your privacy
• And“Accept
By clicking even ifallthey did, the
cookies”, youconfiguration files would pertain to the installer itself--they
agree Stack Exchange
wouldn't
can store cookies prevent programs
on your device from being
and disclose run normally
information in by the limited user because you're
accordance with our
unlikely Cookie
to want to Policy.
run such an installer as a non-root user.

Share Improve thisAccept


answerall cookies
edited Apr 13, 2017 at 12:23 answered Sep 7, 2014 at 17:26
Follow Community Bot Eliah Kagan
Customize settings 1 113k 52 309 477

3 of 4 7/31/22, 23:37
software installation - How to install .bundle packages ... https://askubuntu.com/questions/521199/how-to-install...

2 It varies for different bundle files. On Trusty, file Downloads/VMw* says VMware-Player-
7.0.0-2305329.x86_64.bundle: data Instead you can see what the file starts with via ` cat -vt
~/Downloads/V*|more` which shows it starts with a line indicating it is a shell script: #!/usr
/bin/env bash – nealmcb Feb 6, 2015 at 17:26

VMware Installer additional Options ./VMware-Player-...x86_64.bundle --help


– Pau Coma Ramirez Dec 14, 2020 at 20:52

Is it correct to run in with /bin/sh when file tells you /usr/bin/env bash script
executable ? This was suggested by @thusitha sumanadasa in a comment to the other answer -
or does it rarely make a difference whether you use bash or sh ? – Cadoiz Jun 10, 2021 at 23:47

Highly active question. Earn 10 reputation (not counting the association bonus) in order to answer this
question. The reputation requirement helps protect this question from spam and non-answer activity.

Your privacy
By clicking “Accept all cookies”, you agree Stack Exchange
can store cookies on your device and disclose information in
accordance with our Cookie Policy.

Accept all cookies

Customize settings

4 of 4 7/31/22, 23:37

You might also like