The Ubuntu system re-installs the Pycharm after the file is mistakenly deleted.

Source: Internet
Author: User

(1) Background
之前删除文件时候,不小心将文件夹里面所有文件都删除了,包括一些应用软件(pycharm,eclipse),在使用恢复软件恢复之后,不过没能成功,文件是没有回来,于是决定重新安装.
(2) Description of the problem
本想着文件被删除了,也就是应用被卸载,但情况不是.

Download the file from Pycharm official website, unzip the installation, the installation step is to run under the ./bin folder pycharm.sh , so the problem comes, when the execution of this script, will run the Pycharm program directly, unable to implement reinstall program.

-–> guess whether there are some files or configuration is not deleted completely, so has been looking for the complete removal of the software under Ubuntu command

sudo apt-get autoremovesudo apt-get --purge remove pycharm

But none of them worked.

(3) Problem solving process

Find some clues in the StackOverflow to find the problem.

pycharm licence can be too costly...but you can renew the demo usage every time by deleting the .pycharm file

Located at:pycharm所在位置

/home/<user_name>/

It can hidden so press:我这里存在这种情况,文件都是隐藏的,需要用下面的命令显示

Ctrl+h

and delete the file:找到pycharm目录,删除

.pycharm<version number>

Then relaunch the application and it'll behave as the first time

(4) Results

Using the above method, you can successfully reinstall Pycharm, of course, if you re-use this similar situation, you may consider this workaround.

Resources:
[1]http://stackoverflow.com/questions/9940451/how-uninstall-pycharm-and-rubymine
[2]http://www.cnblogs.com/forward/archive/2012/01/10/2318483.html
[3]http://my.oschina.net/u/989893/blog/264244

The Ubuntu system re-installs the Pycharm after the file is mistakenly deleted.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.