環境 centos7
nodejsをインストールしたいのですが、curlでリポジトリをインストールしようとするとパーミッションエラーになってしまいます。
curl -sL https://rpm.nodesource.com/setup_8.x | bash -
#エラーメッセージ ## Installing release setup RPM... + rpm -i --nosignature --force '/tmp/tmp.Ea6AHtJlDs' error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Permission denied) Error executing command, exiting
↑を参考にsudoつけましたが変わりませんでした。
sudo curl -sL https://rpm.nodesource.com/setup_8.x | bash -
よろしくお願いします。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。