Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install into Ubuntu 18.04 #3

Open
DaleKramer opened this issue Feb 15, 2020 · 19 comments
Open

Install into Ubuntu 18.04 #3

DaleKramer opened this issue Feb 15, 2020 · 19 comments

Comments

@DaleKramer
Copy link

DaleKramer commented Feb 15, 2020

I really NEED to install this on Ubuntu 18.04 under WSL.

But I can not figure out how to do that by your Installation instructions.

There is no mention of Ubuntu and it appears that the instructions for WSL does not include 'the following line' to edit in the 'shell's profile':
image

Sorry if this is a bother but I am such an newbie to OS's that end in 'x' ;)

If you have any interest, I made this image which if you post it where needed, might help you have fewer questions here:
image

@ko1nksm
Copy link
Owner

ko1nksm commented Feb 16, 2020

Thank you for your feedback and sorry for lack of explanation.

If you are using Ubuntu 18.04 under WSL without any customize, you are using bash as shell. Therefore, your shell's profile is .bashrc. (bash is one of the POSIX compliant shells)

The .bashrc is located under your home directory (/home/YOUR-NAME) of Ubuntu 18.04 under WSL. Open .bashrc with text editor (e.g. notepad.exe .bashrc). And add eval "$(sh "/path/to/eopen-ecd/init.sh")" to .bashrc. (Please change /path/to/eopen-ecd/init.sh to your extracted path)

If you're still having trouble, feel free to post here. regards.

@DaleKramer
Copy link
Author

WOW, great response, I will do that very well explained procedure. :)

@DaleKramer
Copy link
Author

Sorry, I am back

Here is 1000 words ;)
image

@ko1nksm
Copy link
Owner

ko1nksm commented Feb 16, 2020

Try to Pull requests?

@DaleKramer
Copy link
Author

I had to look that up:

"Pull requests let you tell others about changes you've pushed to a branch in a repository on GitHub."

Sorry but I do not think I have any changes that I have pushed to a branch. I do not even know what that means...

@ko1nksm
Copy link
Owner

ko1nksm commented Feb 17, 2020

Sorry, I hadn't checked thoroughly. It seems wslpath command incompatible. Which Windows version are you using? The Windows version is displayed with winver.exe. What is displayed when running wslpath with no arguments on WSL?

@DaleKramer
Copy link
Author

image

@ko1nksm
Copy link
Owner

ko1nksm commented Feb 17, 2020

I don't know if it has anything to do with this issue,

https://devblogs.microsoft.com/commandline/do-not-change-linux-files-using-windows-apps-and-tools/

@DaleKramer
Copy link
Author

DaleKramer commented Feb 17, 2020

I do not see any permissions/owner etc issues that could have been created by the way I created my $HOME/eopen-ecd directory in the WSL subsystem, do you see any from these listings:
image

But perhaps I should do a recursive chmod 777 on the eopen-ecd dir...

Besides, eopen does seem to run but only to show the -h help listing.

@ko1nksm
Copy link
Owner

ko1nksm commented Feb 17, 2020

Probably, related this issue. microsoft/WSL#3599

The easiest way is to update to the latest Windows. I'll try to find out workaround, but it will take a little longer because you have to install an older Windows.

@ko1nksm
Copy link
Owner

ko1nksm commented Feb 17, 2020

It might work under /mnt directory.

@DaleKramer
Copy link
Author

I used cp to copy eopen-ecd dir to C root dir.

Then I nanoed $HOME/.bashrc like this:
image

Then I resourced .bashrc with => source ~/.bashrc

But still same issue:
image

@ko1nksm
Copy link
Owner

ko1nksm commented Feb 17, 2020

Sorry, What I wanted to say is

$ cd /mnt/c/User/dale
$ eopen .

@DaleKramer
Copy link
Author

image

@DaleKramer
Copy link
Author

DaleKramer commented Feb 17, 2020

My $HOME dir is at:

C:\Users\kci\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu18.04onWindows_79rhkp1fndgsc\LocalState\rootfs\home\dale

@ko1nksm
Copy link
Owner

ko1nksm commented Feb 17, 2020

Sorry, again

$ cd /mnt/c/User/kci
$ eopen .

@DaleKramer
Copy link
Author

DaleKramer commented Feb 17, 2020

Great, that worked, but I want to edit files in my Ubuntu subsytem tree structure with NotePad++... like in my $HOME directory...

How do i achieve that now?

image

@ko1nksm
Copy link
Owner

ko1nksm commented Feb 17, 2020

As posted above, You cannot edit files on WSL in Windows 1809 (except under /mnt directory). This is a limitation of WSL on before Windows 1903. The best way is upgrade to Windows 1903 or later.

I used to create symlink at "$HOME" directory to access under the /mnt easily.

@DaleKramer
Copy link
Author

DaleKramer commented Feb 17, 2020

I guess I will bite the bullet and update (I hate updating automatically so I am a little behind).

Thanks, for all the help, you were GREAT...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants