Hyper: Installing Hyper on Linux via `*.deb` creates broken symbolic link. (command not found: hyper)

Created on 12 Dec 2016  ·  11Comments  ·  Source: vercel/hyper

  • [x] I am on the latest Hyper.app version
  • [x] I have searched the issues of this repo and believe that this is not a duplicate
  • OS version and name: Ubuntu 15.10
  • Hyper.app version: 1.0.0
  • Link of a Gist with the contents of your .hyper.js: Here
  • Relevent information from devtools _(CMD+SHIFT+I on Mac OS, CTRL+SHIFT+I elsewhere)_: N/A
  • The issue is reproducible in vanilla Hyper.app: Fresh Install, so Yes.

Issue

Hello. My Issue is about installing from the standard 1.0.0 debian package (downloaded from hyper.is). I ran the typical sudo dpkg --install ./hyper-1.0.0.deb and it installed successfully. However, running hyper results in command not found.

It turns out that a broken link is created by the installation.

/usr/local/bin/hyper -> /opt/hyper/hyper

should be...

/usr/local/bin/hyper -> /opt/Hyper/hyper

That capital H caused a "failed" installation.

Linux

Most helpful comment

This also happened to me on Ubuntu 16.04, on Hyper version 1.0.0.

All 11 comments

This also happened to me on Ubuntu 16.04, on Hyper version 1.0.0.

@Asuza and my fix worked for you, I assume?

@c650 your fix worked fine.

I have tried to do as you recommend @c650 on a Debian Stable install, and it keeps telling me that
bash: hyper: command not found

if I use /opt/Hyper/hyper the app opens

I have tried to change the sym link using

  • ln -f -s /usr/local/bin/hyper /opt/Hyper/hyper
  • ln -s /opt/Hyper/hyper hyper
    ln -s /usr/local/bin/hyper newhyper
    mv -T newhyper hyper
  • $ ln -sfnv /usr/local/bin/hyper /opt/Hyper/hyper

Yet the "command not found" is always the response.

What am I missing?

I deleted the link and made a new one, @geekosupremo. Also, look carefully at man ln:

ln [OPTION]... [-T] TARGET LINK_NAME

In the first attempt you've shown, you are making the link backwards.

In the second attempt, you aren't using the full paths as you must...

The third attempt is wrong for the same reason as the first...

@c650 Gotcha. Thank you for the heads up. I am still fairly new to Linux and I messed up the command.

Anyway I did get the symlink to work after reading the man page more carefully, and after installing a couple of needed libs, the command runs as expected. :grinning: Thank you for your patience and for pointing out, gently, where I had gone awry.

this is also happening on Hyper 1.1.0 on Linux Mint, the link is still broken

This is still occurring in 1.2.1, reporting in from Lubuntu.

This bug really does affect usability for less-advanced linux users (unless they find this Issue easily).

@c650 yeah! It seems like a rather straightforward fix — would be so cool to see this make the next release!

Hey there, please try again with the new Hyper v2 release and open a new issue if the problem stills exists. Thank you!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cooperpellaton picture cooperpellaton  ·  3Comments

daenuprobst picture daenuprobst  ·  3Comments

anthonyettinger picture anthonyettinger  ·  3Comments

weabot picture weabot  ·  3Comments

ConstantinChirila picture ConstantinChirila  ·  3Comments