Ubuntu 18.10 - unable to install NPM
up vote
0
down vote
favorite
I tried to install npm and I repeatedly got error that NPM depends on package node-gyp (>= 0.10.9) but that package is not installable.
I have no packages broken (I search for them using dpkg) but I still can not install NPM.
I can install just nodejs but I need also npm...
Can anyone help me?
apt npm
New contributor
add a comment |
up vote
0
down vote
favorite
I tried to install npm and I repeatedly got error that NPM depends on package node-gyp (>= 0.10.9) but that package is not installable.
I have no packages broken (I search for them using dpkg) but I still can not install NPM.
I can install just nodejs but I need also npm...
Can anyone help me?
apt npm
New contributor
Did you dosudo apt install -f
?
– George Udosen
Nov 22 at 16:38
Yes, I did. I also deletes apt cache, update all sources, purge already installed nodejs and still nothing.
– Ondřej Doněk
Nov 22 at 16:39
those packages may not be in the cuttle repo yet, not sure?
– George Udosen
Nov 22 at 16:44
1
See here: ubuntu.pkgs.org/18.10/ubuntu-universe-amd64/…
– George Udosen
Nov 22 at 16:48
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I tried to install npm and I repeatedly got error that NPM depends on package node-gyp (>= 0.10.9) but that package is not installable.
I have no packages broken (I search for them using dpkg) but I still can not install NPM.
I can install just nodejs but I need also npm...
Can anyone help me?
apt npm
New contributor
I tried to install npm and I repeatedly got error that NPM depends on package node-gyp (>= 0.10.9) but that package is not installable.
I have no packages broken (I search for them using dpkg) but I still can not install NPM.
I can install just nodejs but I need also npm...
Can anyone help me?
apt npm
apt npm
New contributor
New contributor
New contributor
asked Nov 22 at 16:32
Ondřej Doněk
1033
1033
New contributor
New contributor
Did you dosudo apt install -f
?
– George Udosen
Nov 22 at 16:38
Yes, I did. I also deletes apt cache, update all sources, purge already installed nodejs and still nothing.
– Ondřej Doněk
Nov 22 at 16:39
those packages may not be in the cuttle repo yet, not sure?
– George Udosen
Nov 22 at 16:44
1
See here: ubuntu.pkgs.org/18.10/ubuntu-universe-amd64/…
– George Udosen
Nov 22 at 16:48
add a comment |
Did you dosudo apt install -f
?
– George Udosen
Nov 22 at 16:38
Yes, I did. I also deletes apt cache, update all sources, purge already installed nodejs and still nothing.
– Ondřej Doněk
Nov 22 at 16:39
those packages may not be in the cuttle repo yet, not sure?
– George Udosen
Nov 22 at 16:44
1
See here: ubuntu.pkgs.org/18.10/ubuntu-universe-amd64/…
– George Udosen
Nov 22 at 16:48
Did you do
sudo apt install -f
?– George Udosen
Nov 22 at 16:38
Did you do
sudo apt install -f
?– George Udosen
Nov 22 at 16:38
Yes, I did. I also deletes apt cache, update all sources, purge already installed nodejs and still nothing.
– Ondřej Doněk
Nov 22 at 16:39
Yes, I did. I also deletes apt cache, update all sources, purge already installed nodejs and still nothing.
– Ondřej Doněk
Nov 22 at 16:39
those packages may not be in the cuttle repo yet, not sure?
– George Udosen
Nov 22 at 16:44
those packages may not be in the cuttle repo yet, not sure?
– George Udosen
Nov 22 at 16:44
1
1
See here: ubuntu.pkgs.org/18.10/ubuntu-universe-amd64/…
– George Udosen
Nov 22 at 16:48
See here: ubuntu.pkgs.org/18.10/ubuntu-universe-amd64/…
– George Udosen
Nov 22 at 16:48
add a comment |
2 Answers
2
active
oldest
votes
up vote
1
down vote
accepted
Get it installed with these steps if the above comments methods doesn;t fly:
# For the soon to be LTS release, 10.x
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
# For the bleeding edge, 11.x
curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash -
Then install with sudo apt install nodejs
.
1
I forgot to thank you...
– Ondřej Doněk
Nov 23 at 19:33
Your welcome grateful to have been of help!
– George Udosen
Nov 23 at 20:35
add a comment |
up vote
0
down vote
Uninstall node and install it again with Node Version Manager(first install NVM,then with NVM node version you wish),on this way you will not have any problems with node-gyp or NPM .Good luck.
New contributor
With NVM? When I tried apt-cache search nvm I got nothing....
– Ondřej Doněk
Nov 22 at 16:41
Must install NVM first.
– Goran7777
Nov 22 at 16:42
No, I do not want another utility - I have these troubles on Ubuntu before and I forgot how to solve it - but it was definitively pure apt way - no other utilities. But thanks anyway.
– Ondřej Doněk
Nov 22 at 19:18
No problem,just trying to help.
– Goran7777
Nov 22 at 19:26
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
Get it installed with these steps if the above comments methods doesn;t fly:
# For the soon to be LTS release, 10.x
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
# For the bleeding edge, 11.x
curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash -
Then install with sudo apt install nodejs
.
1
I forgot to thank you...
– Ondřej Doněk
Nov 23 at 19:33
Your welcome grateful to have been of help!
– George Udosen
Nov 23 at 20:35
add a comment |
up vote
1
down vote
accepted
Get it installed with these steps if the above comments methods doesn;t fly:
# For the soon to be LTS release, 10.x
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
# For the bleeding edge, 11.x
curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash -
Then install with sudo apt install nodejs
.
1
I forgot to thank you...
– Ondřej Doněk
Nov 23 at 19:33
Your welcome grateful to have been of help!
– George Udosen
Nov 23 at 20:35
add a comment |
up vote
1
down vote
accepted
up vote
1
down vote
accepted
Get it installed with these steps if the above comments methods doesn;t fly:
# For the soon to be LTS release, 10.x
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
# For the bleeding edge, 11.x
curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash -
Then install with sudo apt install nodejs
.
Get it installed with these steps if the above comments methods doesn;t fly:
# For the soon to be LTS release, 10.x
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
# For the bleeding edge, 11.x
curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash -
Then install with sudo apt install nodejs
.
answered Nov 22 at 16:56
George Udosen
18.5k94265
18.5k94265
1
I forgot to thank you...
– Ondřej Doněk
Nov 23 at 19:33
Your welcome grateful to have been of help!
– George Udosen
Nov 23 at 20:35
add a comment |
1
I forgot to thank you...
– Ondřej Doněk
Nov 23 at 19:33
Your welcome grateful to have been of help!
– George Udosen
Nov 23 at 20:35
1
1
I forgot to thank you...
– Ondřej Doněk
Nov 23 at 19:33
I forgot to thank you...
– Ondřej Doněk
Nov 23 at 19:33
Your welcome grateful to have been of help!
– George Udosen
Nov 23 at 20:35
Your welcome grateful to have been of help!
– George Udosen
Nov 23 at 20:35
add a comment |
up vote
0
down vote
Uninstall node and install it again with Node Version Manager(first install NVM,then with NVM node version you wish),on this way you will not have any problems with node-gyp or NPM .Good luck.
New contributor
With NVM? When I tried apt-cache search nvm I got nothing....
– Ondřej Doněk
Nov 22 at 16:41
Must install NVM first.
– Goran7777
Nov 22 at 16:42
No, I do not want another utility - I have these troubles on Ubuntu before and I forgot how to solve it - but it was definitively pure apt way - no other utilities. But thanks anyway.
– Ondřej Doněk
Nov 22 at 19:18
No problem,just trying to help.
– Goran7777
Nov 22 at 19:26
add a comment |
up vote
0
down vote
Uninstall node and install it again with Node Version Manager(first install NVM,then with NVM node version you wish),on this way you will not have any problems with node-gyp or NPM .Good luck.
New contributor
With NVM? When I tried apt-cache search nvm I got nothing....
– Ondřej Doněk
Nov 22 at 16:41
Must install NVM first.
– Goran7777
Nov 22 at 16:42
No, I do not want another utility - I have these troubles on Ubuntu before and I forgot how to solve it - but it was definitively pure apt way - no other utilities. But thanks anyway.
– Ondřej Doněk
Nov 22 at 19:18
No problem,just trying to help.
– Goran7777
Nov 22 at 19:26
add a comment |
up vote
0
down vote
up vote
0
down vote
Uninstall node and install it again with Node Version Manager(first install NVM,then with NVM node version you wish),on this way you will not have any problems with node-gyp or NPM .Good luck.
New contributor
Uninstall node and install it again with Node Version Manager(first install NVM,then with NVM node version you wish),on this way you will not have any problems with node-gyp or NPM .Good luck.
New contributor
edited Nov 22 at 16:41
New contributor
answered Nov 22 at 16:39
Goran7777
185
185
New contributor
New contributor
With NVM? When I tried apt-cache search nvm I got nothing....
– Ondřej Doněk
Nov 22 at 16:41
Must install NVM first.
– Goran7777
Nov 22 at 16:42
No, I do not want another utility - I have these troubles on Ubuntu before and I forgot how to solve it - but it was definitively pure apt way - no other utilities. But thanks anyway.
– Ondřej Doněk
Nov 22 at 19:18
No problem,just trying to help.
– Goran7777
Nov 22 at 19:26
add a comment |
With NVM? When I tried apt-cache search nvm I got nothing....
– Ondřej Doněk
Nov 22 at 16:41
Must install NVM first.
– Goran7777
Nov 22 at 16:42
No, I do not want another utility - I have these troubles on Ubuntu before and I forgot how to solve it - but it was definitively pure apt way - no other utilities. But thanks anyway.
– Ondřej Doněk
Nov 22 at 19:18
No problem,just trying to help.
– Goran7777
Nov 22 at 19:26
With NVM? When I tried apt-cache search nvm I got nothing....
– Ondřej Doněk
Nov 22 at 16:41
With NVM? When I tried apt-cache search nvm I got nothing....
– Ondřej Doněk
Nov 22 at 16:41
Must install NVM first.
– Goran7777
Nov 22 at 16:42
Must install NVM first.
– Goran7777
Nov 22 at 16:42
No, I do not want another utility - I have these troubles on Ubuntu before and I forgot how to solve it - but it was definitively pure apt way - no other utilities. But thanks anyway.
– Ondřej Doněk
Nov 22 at 19:18
No, I do not want another utility - I have these troubles on Ubuntu before and I forgot how to solve it - but it was definitively pure apt way - no other utilities. But thanks anyway.
– Ondřej Doněk
Nov 22 at 19:18
No problem,just trying to help.
– Goran7777
Nov 22 at 19:26
No problem,just trying to help.
– Goran7777
Nov 22 at 19:26
add a comment |
Ondřej Doněk is a new contributor. Be nice, and check out our Code of Conduct.
Ondřej Doněk is a new contributor. Be nice, and check out our Code of Conduct.
Ondřej Doněk is a new contributor. Be nice, and check out our Code of Conduct.
Ondřej Doněk is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1095153%2fubuntu-18-10-unable-to-install-npm%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Did you do
sudo apt install -f
?– George Udosen
Nov 22 at 16:38
Yes, I did. I also deletes apt cache, update all sources, purge already installed nodejs and still nothing.
– Ondřej Doněk
Nov 22 at 16:39
those packages may not be in the cuttle repo yet, not sure?
– George Udosen
Nov 22 at 16:44
1
See here: ubuntu.pkgs.org/18.10/ubuntu-universe-amd64/…
– George Udosen
Nov 22 at 16:48