激活:命令未找到 [英] Activator: command not found

查看:307
本文介绍了激活:命令未找到的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的Linux系统中安装激活。

I am trying to install activator in my linux system.

所以首先我安装java

so first I install java

 sudo add-apt-repository ppa:webupd8team/java
 sudo apt-get update
 sudo apt-get install oracle-java8-installer

succefully下载

downloaded succefully

然后我下载激活

sudo wget downloads.typesafe.com/typesafe-activator/1.3.4/ypesafe-activator-1.3.4.zip

然后添加的路径

export PATH=$PATH:/home/govind/activator-1.3.4/

然后通过

source ~/.bashrc

然后我尝试启动激活

then I try to start activator

govind@LINUXSERVER:~$ sudo activator
sudo: activator: command not found

我试图打印路径

govind@LINUXSERVER:~$ $PATH
-bash: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/govind/activator-1.3.4/: No such file or directory

govind@LINUXSERVER:~$ ls /home/govind/activator-1.3.4/
activator      activator-launch-1.3.4.jar  README.html  templates
activator.bat  LICENSE.html                repository

但不是全成!我缺少什么?

but not successfull!! what am I missing??

推荐答案

创建符号链接激活:

sudo ln -s /home/govind/activator-1.3.4/activator /usr/bin/activator

您不需要编辑的.bashrc文件。

You do not need to edit bashrc profile.

这篇关于激活:命令未找到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆