1

Every time I install playonlinux and then on installing windows software when playonlinux automatically installs wine, Brackets gets uninstalled.

The command

sudo apt install brackets

is unable to install Brackets.

However on using the command

sudo apt install snapd
sudo snap install brackets

it says

My system may be at risk upon installing, if I understand what I am doing I may proceed using the command

sudo snap install brackets --classic

Upon giving this command it successfully installs Brackets.

But again if I install another windows software again Brackets gets uninstalled and I have to again install Brackets using snap command.

So why this happens?

I do not remember the exact terminal error prompt.

Also why my system may be at risk?

Sonevol
  • 696

2 Answers2

3

Brackets gets uninstalled every time you install Windows software on PlayOnLinux because of a permissions issue that occurs because Brackets snap package was not installed correctly to begin with. The correct commands to install the Brackets snap package are:

sudo apt install snapd  
sudo snap install brackets --classic  

Note that a snap in classic confinement behaves as a traditionally packaged application with full access to the system.

If Brackets fails to open again after installing Windows software on PlayOnLinux, run the following commands:

sudo apt update  
sudo apt upgrade  
sudo snap refresh
sudo snap revert brackets  
sudo snap refresh brackets  
setsid brackets    
karel
  • 122,292
  • 133
  • 301
  • 332
0

Even after following the instructions given by @karel I was facing lots of bugs in Brackets. For example error in Live Preview and problems in installing extensions and themes.

I uninstalled Brackets snap package by

sudo snap remove brackets
sudo snap refresh

Then I installed Brackets via ppa by

sudo add-apt-repository ppa:webupd8team/brackets
sudo apt update
sudo apt install brackets

Now everything is working just fine. Also there is no longer any conflict with Playonlinux.

Sonevol
  • 696