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

مشكلة التثبيت عند أستخدام صدفة zsh #19

Closed
me00001 opened this issue Jan 26, 2019 · 5 comments
Closed

مشكلة التثبيت عند أستخدام صدفة zsh #19

me00001 opened this issue Jan 26, 2019 · 5 comments
Assignees

Comments

@me00001
Copy link

me00001 commented Jan 26, 2019

السلام عليكم
لدي مشكلة عند التثبيت

طريقة التثبيت كانت مثل الأتي
https://github.com/yalang/ya#installation

الإختلاف الوحيد هو إضافة سطر

export PATH=$HOME/ya/bin:$PATH

.bashrc بدل ملف .zshrc الى ملف

[$] ./install.sh
cp: cannot stat 'bin/': No such file or directory
cp: cannot stat 'src/
': No such file or directory
cp: cannot stat 'start.py': No such file or directory
mv: cannot stat '/home/suliman/ya/bin/cmd.sh': No such file or directory
chmod: cannot access '/home/suliman/ya/bin/ya': No such file or directory
ln: failed to access '/home/suliman/ya/bin/ya': No such file or directory
Installation successful
التثبيت بنجاح
Next Add 'export PATH=/home/suliman/ya/bin:$PATH' to your .bash_profile or .bashrc
'.bash_profile أو .bashrc إلى 'export PATH=/home/suliman/ya/bin:$PATH' التالي أضف

عند محاولة تشغيل اللغة أحصل على التالي

[$] ي
zsh: ي: command not found...
`

ألقيت نظرة بعد التثبيت على محتويات ملف
~/ya
وكان فارغًا
وهنا الناتج

`
[$] ls -al ~/ya ~/ya/bin ~/ya/src
/home/suliman/ya:
total 20
drwxrwxr-x. 2 suliman suliman 4096 يناير 26 18:51 bin
drwxrwxr-x. 2 suliman suliman 4096 يناير 26 18:51 src
drwxrwxr-x. 4 suliman suliman 4096 يناير 26 18:51 .
drwx--x---+ 70 suliman suliman 4096 يناير 26 19:09 ..

/home/suliman/ya/bin:
total 8
drwxrwxr-x. 2 suliman suliman 4096 يناير 26 18:51 .
drwxrwxr-x. 4 suliman suliman 4096 يناير 26 18:51 ..

/home/suliman/ya/src:
total 8
drwxrwxr-x. 2 suliman suliman 4096 يناير 26 18:51 .
drwxrwxr-x. 4 suliman suliman 4096 يناير 26 18:51 ..

`

@quadrixm
Copy link
Collaborator

وعليكم السلام
can you tell me which operating system you are using

@quadrixm quadrixm self-assigned this Jan 26, 2019
@me00001
Copy link
Author

me00001 commented Jan 28, 2019

وعليكم السلام
can you tell me which operating system you are using

GNU/Linux Fedora 29

@quadrixm
Copy link
Collaborator

Can you please take a fresh checkout and install again. If same problem occur please run ./install.sh as root.
To root login use
su root
and then root password

You can also try
./easy_install.sh

Remember you don't have to add path now anywhere. Just take check and run ./install.sh or ./easy_install.sh that it.

Please let me know if didn't work or if it works please let me know how.

@me00001
Copy link
Author

me00001 commented Jan 30, 2019

Can you please take a fresh checkout and install again. If same problem occur please run ./install.sh as root.
To root login use
su root
and then root password

You can also try
./easy_install.sh

Remember you don't have to add path now anywhere. Just take check and run ./install.sh or ./easy_install.sh that it.

Please let me know if didn't work or if it works please let me know how.

لم يعمل ويضهر هذا الخطأ
2019-01-30 21-44-56

(root) بعد تسجيل الدخول كجذر
أصبح يعمل 👍
2019-01-30 21-53-42

شكرًا على المساعدة :)

@quadrixm
Copy link
Collaborator

مرحبا بك

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