I found on the website that I can install sublime 3 on Fedora 20 using the following command: curl -L http://git.io/3Wr2CQ | w After running the command, I cannot open Sublime. I get the following error: /usr/local/bin/subl: line 2: [: ==: unary operator expected
See below copy from terminal:
[ pc@pc-z710 ~]$ curl -L http://git.io/3Wr2CQ | sh % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 1065 100 1065 0 0 543 0 0:00:01 0:00:01 --:--:-- 1040k % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 7300k 100 7300k 0 0 2625k 0 0:00:02 0:00:02 --:--:-- 2625k [sudo] password for red: mv: inter-device move failed: '/home/red/sublime_text_3/' to '/opt/sublime_text_3'; unable to remove target: Directory not empty ln: failed to create symbolic link '/bin/subl': File exists % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 166k 100 166k 0 0 103k 0 0:00:01 0:00:01 --:--:-- 103k Sublime Text 3 installed successfully! Run with: subl [ pc@pc-z710 ~]$ subl /usr/local/bin/subl: line 2: [: ==: unary operator expected [ pc@pc-z710 ~]$ uname -m x86_64
sh sublimetext fedora
maxim
source share