Do I need to install Sublime editor in my VM?


#1

Hi Everyone,
Yesterday I have installed VirtualBox and Set up Xubuntu as well and now am a little bit confused about how I can install sublime text in my VM? when I looked at Google I found so many different blogs some are old and some are not but I reduced my list and end up with these two websites:
1- http://tipsonubuntu.com/2017/05/30/install-sublime-text-3-ubuntu-16-04-official-way/
2- https://medium.com/@pck/how-to-use-sublime-text-3-from-command-line-with-ubuntu-bash-terminal-in-windows-10-subsystems-for-aa2ad59d088c
I tried to follow the instructions in page number 1 but didn’t work. I tried page/website number 1 only the first this command work(sudo apt-get install libgtk2.0-0).
can anyone help me if you know a good tutorial, please?
Note:
Am using windows 10 and I have a sublime text editor on it already, is there any chance to open it in my VM or still I have to install it?
Thank you
Salma


#2

You just need to download sublime text for linux inside the VM (i.e. using the editor in the VM)

You can also consider VS Code which I’ve heard positive things about.


#3

OK, I will try that Thank you. I used sublime since i started learning to code that’s why i prefer to carry on with it


#4

https://www.sublimetext.com/docs/3/linux_repositories.html

Have you purchased a license for sublime text? If so you should be able to use the packages. If not then you need to follow the section for the stable channel.


#5

Yesterday i considered what you said about VScode and i read_ watch some videos about it and decided to switch to VScode Studio for Linux :slight_smile:


#6

Great,

I’ve only heard good things about it (but haven’t used it myself). A lot of people doing the course use it though so you’ll find lots of help on the discord chat channels if you run into any issues.


#7

Sorry, @CouchofTomato, I have another question yesterday, i tried to insert Guest Addition CD Image, But I keep receiving Error Message:
The Error Message:
Unable to insert the virtual optical disk C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso into the machine Xubuntu.

Could not mount the media/drive ‘C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso’ (VERR_PDM_MEDIA_LOCKED).

Result Code: E_FAIL (0x80004005)
Component: ConsoleWrap
Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}
Callee: IMachine {5047460a-265d-4538-b23e-ddba5fb84976}
After I looked at Google, i found that i have to amount the CD Manually and when i applied the following instraction from this page:

Here what I have done in my Terminal:-


I need Help please