I used to use eclipse as root and since its bad practice I decided to change user. I started eclipse as user instead but had problems since I installed all the plugins as root.
我过去常常使用eclipse作为root,因为它的不良做法我决定改变用户。我开始使用eclipse作为用户,但由于我以root身份安装了所有插件,因此出现了问题。
I uninstalled them as root.
我以root身份卸载了它们。
Then I installed them as user but now I cannot see any trace of them except that they show up in installed software in eclipse.
然后我以用户身份安装它们,但现在我看不到它们的任何痕迹,除了它们出现在eclipse中已安装的软件中。
Im running Ubuntu, Linux
我正在运行Ubuntu,Linux
What can I do to make the ADT plugin work as normal user now when the configuration is f*cked up?
当配置完成后,我该怎么做才能使ADT插件像普通用户一样工作?
1 个解决方案
#1
1
The best choice is to not have a shared installation of eclipse using the package manager, but instead (as standard user) to download Eclipse from eclipse.org and to unzip it into a location of your choice at a place where your standard user can write. That way you avoid the problems with restricted access, and you also can always upgrade easily to service releases, which are often not available in package manager versions of Eclipse.
最好的选择是不使用包管理器进行eclipse的共享安装,而是(作为标准用户)从eclipse.org下载Eclipse并将其解压缩到您选择的标准用户可以写入的位置。这样就可以避免访问受限制的问题,并且您也可以轻松升级到服务版本,这在Eclipse的软件包管理器版本中通常是不可用的。
Afterwards in your new Eclipse installation use File->Import->Install->From existing installation and point it to your old Eclipse installation to easily re-install all plugins which you used up to now.
然后在新的Eclipse安装中使用File-> Import-> Install-> From existing installation并将其指向旧的Eclipse安装,以便轻松地重新安装您现在使用的所有插件。
#1
1
The best choice is to not have a shared installation of eclipse using the package manager, but instead (as standard user) to download Eclipse from eclipse.org and to unzip it into a location of your choice at a place where your standard user can write. That way you avoid the problems with restricted access, and you also can always upgrade easily to service releases, which are often not available in package manager versions of Eclipse.
最好的选择是不使用包管理器进行eclipse的共享安装,而是(作为标准用户)从eclipse.org下载Eclipse并将其解压缩到您选择的标准用户可以写入的位置。这样就可以避免访问受限制的问题,并且您也可以轻松升级到服务版本,这在Eclipse的软件包管理器版本中通常是不可用的。
Afterwards in your new Eclipse installation use File->Import->Install->From existing installation and point it to your old Eclipse installation to easily re-install all plugins which you used up to now.
然后在新的Eclipse安装中使用File-> Import-> Install-> From existing installation并将其指向旧的Eclipse安装,以便轻松地重新安装您现在使用的所有插件。